Attribute names can clash (e.g. Sculpt Vertex colors and Vertex Colors) leading to confusion using the Attribute shading node #78187

Closed
opened 2020-06-24 02:28:50 +02:00 by Vyacheslav Kobozev · 10 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-23 19:18, hash: 65006bfaf4
Worked: (newest version of Blender that worked as expected)

Short description of error

Attribute names can clash (e.g. Sculpt Vertex colors and Vertex Colors) leading to confusion using the Attribute shading node.

Original report:

Vertex colors, painted via sculpt, become black in shader

Reason 1 — changing mode in the different layout
blackVcol.mp4

reason 2 — changing name back and forth
bv2.mp4

File for tests
111.blend

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87 **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-23 19:18, hash: `65006bfaf4` Worked: (newest version of Blender that worked as expected) **Short description of error** Attribute names can clash (e.g. Sculpt Vertex colors and Vertex Colors) leading to confusion using the Attribute shading node. Original report: Vertex colors, painted via sculpt, become black in shader Reason 1 — changing mode in the different layout [blackVcol.mp4](https://archive.blender.org/developer/F8639805/blackVcol.mp4) reason 2 — changing name back and forth [bv2.mp4](https://archive.blender.org/developer/F8639806/bv2.mp4) File for tests [111.blend](https://archive.blender.org/developer/F8639809/111.blend)

Added subscriber: @Vyach

Added subscriber: @Vyach

Okay, I found, that there is conflict between 2 attributes with same name Col (regular and sculpt vertex colors)
But they look different when I use em in shader.
2020-06-24_03-31-03.mp4

Okay, I found, that there is conflict between 2 attributes with same name Col (regular and sculpt vertex colors) But they look different when I use em in shader. [2020-06-24_03-31-03.mp4](https://archive.blender.org/developer/F8639813/2020-06-24_03-31-03.mp4)
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

So this turns into a mixed bag of issues:

    • muliple layers can have the same name (this is not only true for colors, you could for example name your Vertex Color layer "UVMap" -- this will also conflict with an existing UVMap called the same)
    • color issue [apparently Sculpt Vertex Colors dont store in scene linear space - or Vertex Colors dont, havent checked], this is also mentioned in #78201 (sculpt vertex color painting wrong saturation and value)

So I suggest to

  • make this report solely about - , this will be a design task then (it affects to handling of clashing attribute names and might get part of #71947 (Vertex Color/Attribute Edit Design) or #76659 (Geometry Attributes Design))
  • drop - from this report -- in favor of #78201 (sculpt vertex color painting wrong saturation and value)

Note that in #76659 (Geometry Attributes Design), the name should already be unique (not sure how we will handle old files once all attributes are actually handled as attributes?)

So this turns into a mixed bag of issues: - - [x] muliple layers can have the same name (this is not only true for colors, you could for example name your Vertex Color layer "UVMap" -- this will also conflict with an existing UVMap called the same) - - [x] color issue [apparently Sculpt Vertex Colors dont store in scene linear space - or Vertex Colors dont, havent checked], this is also mentioned in #78201 (sculpt vertex color painting wrong saturation and value) So I suggest to - make this report solely about - [x], this will be a design task then (it affects to handling of clashing attribute names and might get part of #71947 (Vertex Color/Attribute Edit Design) or #76659 (Geometry Attributes Design)) - drop - [x] from this report -- in favor of #78201 (sculpt vertex color painting wrong saturation and value) Note that in #76659 (Geometry Attributes Design), the name should already be **unique** (not sure how we will handle old files once all attributes are actually handled as attributes?)
Philipp Oeser changed title from Vertex colors, painted via sculpt, become black in shader to Attribute names can clash (e.g. Sculpt Vertex colors and Vertex Colors) leading to confusion using the Attribute shading node 2020-06-24 13:52:57 +02:00
Member

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

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

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Brecht Van Lommel self-assigned this 2020-06-24 14:20:42 +02:00

The design task for this is #76659 (Geometry Attributes Design), we don't need a dedicated one for the naming issue at this point.

The design task for this is #76659 (Geometry Attributes Design), we don't need a dedicated one for the naming issue at this point.
Member

@Vyach: note that since e59712b7c8 the most common reason for the clash should not happen anymore

@Vyach: note that since e59712b7c8 the most common reason for the clash should not happen anymore

@brecht , @lichtwerk thank you for quick responce, guys!

@brecht , @lichtwerk thank you for quick responce, guys!
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
3 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#78187
No description provided.