Baking to Vertex Colors bakes without result to look at (if sculpt vertex color layer is present but experimental option is disabled) #86455

Closed
opened 2021-03-10 13:14:38 +01:00 by Simon Thommes · 14 comments
Member

System Information
Operating system: Linux-5.8.0-7630-generic-x86_64-with-glibc2.32 64 Bits
Graphics card: Quadro RTX 6000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.32.03

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-10 11:41, hash: 4fece16d45
(also in 2.92.0 release)
Worked: never (?)
Short description of error
I have no idea what is causing this. An object in the attached example file refuses to bake to vertex colors.

As you can see baking the cube works perfectly fine, when there is no vertex color layer I get an error message.
With the handkerchief object nothing besides the progress bar seems to happen. Not even the error message appears when there is no vertex color layer on the object.

vertex_color_baking-2021-03-10_13.07.20.mp4

Exact steps for others to reproduce the error
See video and file:
vertex_color_baking.blend

**System Information** Operating system: Linux-5.8.0-7630-generic-x86_64-with-glibc2.32 64 Bits Graphics card: Quadro RTX 6000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.32.03 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-10 11:41, hash: `4fece16d45` (also in 2.92.0 release) Worked: never (?) **Short description of error** I have no idea what is causing this. An object in the attached example file refuses to bake to vertex colors. As you can see baking the cube works perfectly fine, when there is no vertex color layer I get an error message. With the handkerchief object nothing besides the progress bar seems to happen. Not even the error message appears when there is no vertex color layer on the object. [vertex_color_baking-2021-03-10_13.07.20.mp4](https://archive.blender.org/developer/F9882938/vertex_color_baking-2021-03-10_13.07.20.mp4) **Exact steps for others to reproduce the error** See video and file: [vertex_color_baking.blend](https://archive.blender.org/developer/F9882940/vertex_color_baking.blend)
Author
Member

Added subscriber: @SimonThommes

Added subscriber: @SimonThommes
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Enable Sculpt Vertex Colors in Experimental [there is one layer present - if there is, it will try to bake to that]
Remove it, then you get the usual error

Does this work for you?

Enable `Sculpt Vertex Colors` in Experimental [there is one layer present - if there is, it will try to bake to that] Remove it, then you get the usual error Does this work for you?
Author
Member

Ah, yea that's it. Thanks @lichtwerk !

... It probably shouldn't work like that though, right?

Ah, yea that's it. Thanks @lichtwerk ! ... It probably shouldn't work like that though, right?
Member

Well, as far as I can tell this is baking to sculpt vertex colors correctly, no?
The fact that these are in a constant fight against each other is a bit of a pain (if enabled, sculpt vertex colors take preference - they display in the viewport when Vertex is chosen for Color in the Shading popup etc even though you might be painting "regular" vertex colors)

Some of this was fixed, see #78225, some of it is mentioned in #72866, this adds up to it

Vertex color drawing in the workbench should perhaps be mode specific. By default use Sculpt Vertex Colors, and when in attribute vertex color mode use the Vertex Colors

Well, as far as I can tell this is baking to sculpt vertex colors correctly, no? The fact that these are in a constant fight against each other is a bit of a pain (if enabled, sculpt vertex colors take preference - they display in the viewport when Vertex is chosen for Color in the Shading popup etc even though you might be painting "regular" vertex colors) Some of this was fixed, see #78225, some of it is mentioned in #72866, this adds up to it > Vertex color drawing in the workbench should perhaps be mode specific. By default use Sculpt Vertex Colors, and when in attribute vertex color mode use the Vertex Colors
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

Added subscriber: @brecht

Added subscriber: @brecht
Member

Left a note in #72866 about this.

On a technical level, we could check U.experimental.use_sculpt_vertex_colors in baking code an discard that an existing vertex color layer if this is present.
@brecht: that would make sense, right? (will happily provide a patch if so)

Left a note in #72866 about this. On a technical level, we could check `U.experimental.use_sculpt_vertex_colors` in baking code an discard that an existing vertex color layer if this is present. @brecht: that would make sense, right? (will happily provide a patch if so)

Checking the experimental option makes sense to me.

Checking the experimental option makes sense to me.
Philipp Oeser self-assigned this 2021-03-10 14:08:25 +01:00
Member

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Philipp Oeser changed title from Baking to Vertex Colors does not execute without any error message to Baking to Vertex Colors bakes without result to look at (if sculpt vertex color layer is present but experimental option is disabled) 2021-03-10 14:09:42 +01:00
Author
Member

Yea, I know that the clash between regular and sculpt vertex colors is a separate issue. It's just that in this case, as a user I was not aware that there even was a sculpt vertex color layer and it was baking to that. Having to know that you have to enable an experimental feature (which also isn't exposed in 2.92.0 afaik) seems backwards.

But yea, just checking for the setting sounds good, thank you! :)

Yea, I know that the clash between regular and sculpt vertex colors is a separate issue. It's just that in this case, as a user I was not aware that there even was a sculpt vertex color layer and it was baking to that. Having to know that you have to enable an experimental feature (which also isn't exposed in 2.92.0 afaik) seems backwards. But yea, just checking for the setting sounds good, thank you! :)

This issue was referenced by 960337f17a

This issue was referenced by 960337f17abd3938f2c126d3a0a83aef8f6c354b
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' 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
4 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#86455
No description provided.