Geometry Nodes - Vertex Color Issues #94428

Closed
opened 2021-12-28 04:22:07 +01:00 by Grigoriy Titaev · 12 comments
  1. Test Nodes: Vertex Color is set correctly for input geometry
    Test - GN - Vertex Color 1.png

  2. Set Vertex Color does not work after Join Geometry
    Test - GN - Vertex Color 2.png

  3. Set Vertex Color does not work for Mesh Primitives
    Test - GN - Vertex Color 3.png

  4. Wrong color data in Spreadsheet. Correct color is (0.300, 0.500, 0.200) but in spreadsheet (0.301, 0.503, 0.202).
    Test - GN - Vertex Color 4.png

Blender Version: 3.0, 3.1 (27.12.2021 - 20b438d523)
OS: Windows 10
Test - GN - Vertex Color.blend

1. Test Nodes: Vertex Color is set correctly for input geometry ![Test - GN - Vertex Color 1.png](https://archive.blender.org/developer/F12778628/Test_-_GN_-_Vertex_Color_1.png) 2. Set Vertex Color does not work after Join Geometry ![Test - GN - Vertex Color 2.png](https://archive.blender.org/developer/F12778630/Test_-_GN_-_Vertex_Color_2.png) 3. Set Vertex Color does not work for Mesh Primitives ![Test - GN - Vertex Color 3.png](https://archive.blender.org/developer/F12778632/Test_-_GN_-_Vertex_Color_3.png) 4. Wrong color data in Spreadsheet. Correct color is (0.300, 0.500, 0.200) but in spreadsheet (0.301, 0.503, 0.202). ![Test - GN - Vertex Color 4.png](https://archive.blender.org/developer/F12778634/Test_-_GN_-_Vertex_Color_4.png) Blender Version: 3.0, 3.1 (27.12.2021 - 20b438d523c9) OS: Windows 10 [Test - GN - Vertex Color.blend](https://archive.blender.org/developer/F12778636/Test_-_GN_-_Vertex_Color.blend)

Added subscriber: @gtitaev

Added subscriber: @gtitaev
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @redpathn

Added subscriber: @redpathn

Removed subscriber: @redpathn

Removed subscriber: @redpathn
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Haven't checked it in detail, but the issue probably exists because vertex colors are stored as 8 bits-per-channel (see MLoopCol), while generic color attributes on vertices are 32 bits-per-channel. In some places we have to convert between both representations, and that's a lossy conversion in many cases.

Haven't checked it in detail, but the issue probably exists because vertex colors are stored as 8 bits-per-channel (see `MLoopCol`), while generic color attributes on vertices are 32 bits-per-channel. In some places we have to convert between both representations, and that's a lossy conversion in many cases.
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Member

Thanks for the report. Part of this is the same as #85962, when joining geometry, the float color type is created rather than the 8-bit byte colors. That situation should have improved after eae36be372 though.

The other is the lossy conversion that @JacquesLucke described, which is fundamental to the way the 8-bit colors are stored.

Thanks for the report. Part of this is the same as #85962, when joining geometry, the float color type is created rather than the 8-bit byte colors. That situation should have improved after eae36be372 though. The other is the lossy conversion that @JacquesLucke described, which is fundamental to the way the 8-bit colors are stored.

Added subscriber: @alaslipknot

Added subscriber: @alaslipknot

Is there an update on this ? does the current issue means we can't set Vertex colors through GeoNode at all ?

Is there an update on this ? does the current issue means we can't set Vertex colors through GeoNode at all ?
Member

b9799dfb8a and other related changes does improve this situation a fair amount.

b9799dfb8a and other related changes does improve this situation a fair amount.
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
6 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#94428
No description provided.