Colormanagement and the 3D-View #30917

Closed
opened 2012-04-12 01:40:00 +02:00 by Tobias Oelgarte · 8 comments

%%%In a recent project i noticed something curios. (I reported something similar before, but had not a true way to provide a comparison) Suddenly the 3D-View was much brighter and had pale looking colors, but the texture painting was much much faster (about 10 to 100 times). Now i have two versions of a file. "hinata-only-12.blend" and "hinata-only-13.blend". In the first file the colors aren't normal, but the texturepainting is fast. In the second file i switched to "solid" before saving. It shows the normal colors as loaded. But as soon you go to "textured" and move the viewport a little it gets bright+fast.

I don't know what is triggering this change, but it does not always occur (in other files). If it doesn't switch to this mode then the texture painting is sloppy and very slow in comparison (I'm barely able to paint).

I appended two screenshots. The first shows the usual colors and the second of the "fast mode". Additionally i uploaded an archive with the blend files and textures to file-upload.net (It is 22 MB, that why i put it there, message me or leave a comment if you have problems with downloading the file)

Download URL: http://www.file-upload.net/download-4264508/hinata-bug.tar.bz2.html

Additional infos: r45534, Ubuntu 10.10 32bit, Geforce 7600 M.

I hope that you can reproduce the problem, because i heard from many other users that texture painting is very slow as well. But inside this "ugly" mode it is very fast. I guess there is some kind of bug in the details, which slows everything down so much. If you need more info give me any kind of instructions to get what you need.%%%

%%%In a recent project i noticed something curios. (I reported something similar before, but had not a true way to provide a comparison) Suddenly the 3D-View was much brighter and had pale looking colors, but the texture painting was much much faster (about 10 to 100 times). Now i have two versions of a file. "hinata-only-12.blend" and "hinata-only-13.blend". In the first file the colors aren't normal, but the texturepainting is fast. In the second file i switched to "solid" before saving. It shows the normal colors as loaded. But as soon you go to "textured" and move the viewport a little it gets bright+fast. I don't know what is triggering this change, but it does not always occur (in other files). If it doesn't switch to this mode then the texture painting is sloppy and very slow in comparison (I'm barely able to paint). I appended two screenshots. The first shows the usual colors and the second of the "fast mode". Additionally i uploaded an archive with the blend files and textures to file-upload.net (It is 22 MB, that why i put it there, message me or leave a comment if you have problems with downloading the file) Download URL: http://www.file-upload.net/download-4264508/hinata-bug.tar.bz2.html Additional infos: r45534, Ubuntu 10.10 32bit, Geforce 7600 M. I hope that you can reproduce the problem, because i heard from many other users that texture painting is very slow as well. But inside this "ugly" mode it is very fast. I guess there is some kind of bug in the details, which slows everything down so much. If you need more info give me any kind of instructions to get what you need.%%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%PS: Enabling/Disabling VBO, Mip-Mapping, 16-Bit Textures, Anisotrophic Filtering makes no difference. It's like as if the reversal of the colormangement (linear to srgb) is somehow disabled or simply ignored by the driver, which makes it somehow much faster. That would/could mean that my driver/graphics card has a problem with this part of the shader, while this part is also a bottleneck for the performance. Maybe it can't execute the shader on the GPU and falls back to software mode for this shader, until even this mode can't handle it anymore.%%%

%%%PS: Enabling/Disabling VBO, Mip-Mapping, 16-Bit Textures, Anisotrophic Filtering makes no difference. It's like as if the reversal of the colormangement (linear to srgb) is somehow disabled or simply ignored by the driver, which makes it somehow much faster. That would/could mean that my driver/graphics card has a problem with this part of the shader, while this part is also a bottleneck for the performance. Maybe it can't execute the shader on the GPU and falls back to software mode for this shader, until even this mode can't handle it anymore.%%%

%%%I fixed the strange color switching to the lighter colors now, was an invalid opengl call that put things in an undefined state. However I still have no idea how this switch would suddenly increase performance for you.

Here with NVidia 8800 GTS on Ubuntu 11.04, and NVidia 9600M GT on OS X 10.7, there's no noticeable performance difference between the two.%%%

%%%I fixed the strange color switching to the lighter colors now, was an invalid opengl call that put things in an undefined state. However I still have no idea how this switch would suddenly increase performance for you. Here with NVidia 8800 GTS on Ubuntu 11.04, and NVidia 9600M GT on OS X 10.7, there's no noticeable performance difference between the two.%%%

%%%Also, the bug I fixed seems to have been unrelated to color management. From what I can tell the invalid opengl call somehow caused an ambient color to be added to the model.%%%

%%%Also, the bug I fixed seems to have been unrelated to color management. From what I can tell the invalid opengl call somehow caused an ambient color to be added to the model.%%%

%%%At first a big Thank You for the fix! It is now as fast as it should be and it is additionally in the right colors.

But i found something also something else. If I'm in "Blender Internal" with "Solid + GLSL + Textured Solid" and then switch to paint mode, the object painted on is displayed as "Textured + GLSL". Additionally GLSL seams to be a little bit to bright (hard to tell since there are lights in play).

I uploaded another version of the file. Just enable "textured solid", select the "top" and go into paint-mode. You should see that it is not drawn as textured solid.

File: http://www.file-upload.net/download-4265962/hinata-only-08.blend.tar.bz2.html

I also appended three Screenshots:

  • 71: Anything normal in object mode
  • 73: GLSL used in paint mode with "full" shading
  • 74: The normal map is clearly visible.%%%
%%%At first a big Thank You for the fix! It is now as fast as it should be and it is additionally in the right colors. But i found something also something else. If I'm in "Blender Internal" with "Solid + GLSL + Textured Solid" and then switch to paint mode, the object painted on is displayed as "Textured + GLSL". Additionally GLSL seams to be a little bit to bright (hard to tell since there are lights in play). I uploaded another version of the file. Just enable "textured solid", select the "top" and go into paint-mode. You should see that it is not drawn as textured solid. File: http://www.file-upload.net/download-4265962/hinata-only-08.blend.tar.bz2.html I also appended three Screenshots: - 71: Anything normal in object mode - 73: GLSL used in paint mode with "full" shading - 74: The normal map is clearly visible.%%%

%%%PS: The file uses the same textures as the previous ones.%%%

%%%PS: The file uses the same textures as the previous ones.%%%

%%%OK, that problem should now be fixed as well, it will show textured solid now in this case.%%%

%%%OK, that problem should now be fixed as well, it will show textured solid now in this case.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#30917
No description provided.