Geometry Nodes: Using Attribute Vector Math to write to UVMap makes UVMap empty #86024

Closed
opened 2021-02-26 17:51:44 +01:00 by Jens · 4 comments

System Information
Operating system: Linux-5.4.0-66-generic-x86_64-with-glibc2.27 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.39

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-25 23:27, hash: b1b9671c93
Worked: none

Short description of error
Trying to modify a UVMap using the Attribute Vector Math node results in that UVMap to be empty.

GNodesUVMap.jpg

Exact steps for others to reproduce the error

  • Add Geometry Nodes to the default Cube
  • Use the Attribute Vector Math node to modify the Geometry
  • Set "A" to "Vector" and "B" to "Attribute"
  • Set Attribute "B" and "Result" to "UVMap"
    The previously unwrapped UVMap of the Cube will now be empty (without an error message given).

Example File:
GNodesUVMap.blend

**System Information** Operating system: Linux-5.4.0-66-generic-x86_64-with-glibc2.27 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.39 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-25 23:27, hash: `b1b9671c93` Worked: none **Short description of error** Trying to modify a UVMap using the Attribute Vector Math node results in that UVMap to be empty. ![GNodesUVMap.jpg](https://archive.blender.org/developer/F9842639/GNodesUVMap.jpg) **Exact steps for others to reproduce the error** - Add Geometry Nodes to the default Cube - Use the Attribute Vector Math node to modify the Geometry - Set "A" to "Vector" and "B" to "Attribute" - Set Attribute "B" and "Result" to "UVMap" The previously unwrapped UVMap of the Cube will now be empty (without an error message given). Example File: [GNodesUVMap.blend](https://archive.blender.org/developer/F9842644/GNodesUVMap.blend)
Author

Added subscriber: @Jens.Ne

Added subscriber: @Jens.Ne
Jens changed title from Geometry Nodes: Using Attribute Vector Math to write to UVMap creates empty UVMap to Geometry Nodes: Using Attribute Vector Math to write to UVMap makes UVMap empty 2021-02-26 18:05:44 +01:00
Member

Added subscribers: @HooglyBoogly, @JacquesLucke

Added subscribers: @HooglyBoogly, @JacquesLucke
Member

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

Changed status from 'Needs Triage' to: 'Archived'
Member

Unfortunately, that is to be expected currently. The issue is that the Attribute Vector Math node always outputs a 3D vector attribute, whereas a uv map is just 2D. Therefore, the node creates a new 3D attribute that replaces the existing uv map. This is just not a use case we support right now.
Possible solutions for the future:

  • Have a Attribute Vector 2D Math node.
  • Have a drop down in the Attribute Vector Math node to select between 2D and 3D.
  • Automatically use 2D, if the output attribute is 2D already.

@HooglyBoogly Just mentioning you here, so that you see it.

Will close, because this is a limitation currently, not a bug.

Unfortunately, that is to be expected currently. The issue is that the Attribute Vector Math node always outputs a 3D vector attribute, whereas a uv map is just 2D. Therefore, the node creates a new 3D attribute that replaces the existing uv map. This is just not a use case we support right now. Possible solutions for the future: * Have a Attribute Vector 2D Math node. * Have a drop down in the Attribute Vector Math node to select between 2D and 3D. * Automatically use 2D, if the output attribute is 2D already. @HooglyBoogly Just mentioning you here, so that you see it. Will close, because this is a limitation currently, not a bug.
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#86024
No description provided.