Vertex coloring in preview window meshes default to black, makes preview useless #36757
Labels
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#36757
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
%%%This using Windows 7 Home Premium with an Ivy Bridge i7, an ATI card, and 16 Gigs of RAM
To find it, just open the .blend file and look at the preview.
The point here, if you use a vertex color channel to directly effect the color of the shader, you end up finding that either the meshes in the preview window do not have a proper Vcol channel at all or they do have vertex colors, but they are black by default (and what I mean is the window built into the material context panels).
What this means is the fact that if you're using vertex colors to drive the color of the shader (through the use of the color output of the 'attribute' node), than the preview window mesh will turn black and in turn make the preview window useless.
Now this is just an issue with the preview window meshes and not Cycles itself, because the shader in the rendered view and the F12 render works like it should.
Actually, I wonder if in the future, we start adding some interactive settings to the preview window so as to improve the ability to overview everything before we do the final render (like the window meshes automatically getting more vertex color channels as they are added which you can change the color of to test colors and mixes), but if you can fix the initial issue to where the preview window is at least usable with vertex colors as color information, that would be good.
Thanks.%%%
Changed status to: 'Open'
%%%Also, I forgot to mention this, but I don't think vertex colors as shader color information ever worked with the preview window meshes in any version of Blender, I tested this using one of the latest VC11 buildbot builds, but to my knowledge, this has been a preview mesh issue ever since they were introduced.%%%
%%%Fix on rev. r60206, thanks for reporting.
" Adding 'Col' vertex color layer to preview cycles meshes
"
The material can be used by more than one mesh, thus we can't read the real object vcol. At least not for now.
I think it's a matter of workflow. But since the preview objects have an UV layer it should be fine to have Vcol too.
@brecht, if you think otherwise, please roll back the commit.%%%
Changed status from 'Open' to: 'Resolved'
%%%The fix is fine with me, thanks. A preview render can only do so much, if you do more complex setups then viewport renders become a better option.%%%