Geometry Nodes Sample Texture unable to multiply itself with Vertex Group Attribute #85500

Closed
opened 2021-02-09 13:34:17 +01:00 by Dimitri Bastos · 10 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-08 13:44, hash: f5c781af56
Worked: (newest version of Blender that worked as expected)

Short description of error
We have a Sample Texture Attribute and a Vertex Group Attribute. By doing some Attribute Maths, it would be expected to have both values multiplied (using Multiply operation), this is something really usefull for displacing vertex of a mesh (example). It doesn't work. However, the same approach using Distribute Points works.Sample Texture .blend

Exact steps for others to reproduce the error
As you can see on the attached Blend file, the node setup is already created, but it doesn't work. There are a Sample Texture, a Vertex Group Attribute multiplied with attributes maths and some vectors, but they are not interacting with each other.

  1. Create a Geometry Nodes Modifier on a grid.
  2. Create a Vertex Group.
  3. Multiply the Vertex Group Attribute with a Vector.
  4. Create a Sample Texture Attribute.
  5. Multiply the resulting Vertex Group created on step 3 with the attribute created on step 4. It doesn't work with both Attribute Math and Vector Math.
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-08 13:44, hash: `f5c781af56` Worked: (newest version of Blender that worked as expected) **Short description of error** We have a Sample Texture Attribute and a Vertex Group Attribute. By doing some Attribute Maths, it would be expected to have both values multiplied (using Multiply operation), this is something really usefull for displacing vertex of a mesh (example). It doesn't work. *However, the same approach using Distribute Points works.*[Sample Texture .blend](https://archive.blender.org/developer/F9749151/Sample_Texture_.blend) **Exact steps for others to reproduce the error** As you can see on the attached Blend file, the node setup is already created, but it doesn't work. There are a Sample Texture, a Vertex Group Attribute multiplied with attributes maths and some vectors, but they are not interacting with each other. 1. Create a Geometry Nodes Modifier on a grid. 2. Create a Vertex Group. 3. Multiply the Vertex Group Attribute with a Vector. 4. Create a Sample Texture Attribute. 5. Multiply the resulting Vertex Group created on step 3 with the attribute created on step 4. It doesn't work with both Attribute Math and Vector Math.
Author

Added subscriber: @DimitriBastos

Added subscriber: @DimitriBastos
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

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

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

I didn't figure this out after looking into it for a few minutes yesterday, so I'm going to call this a bug.

I didn't figure this out after looking into it for a few minutes yesterday, so I'm going to call this a bug.

Added subscriber: @MiroHorvath

Added subscriber: @MiroHorvath

Displacing mesh via Attribute Sample Texture node doesn't work because custom data(in this case UV coordinates) aren't exposed as attributes(only Points created with Point Distribute node have it). So this is just a limitation rather than a bug, right?
As far as I understand this task https://developer.blender.org/T84297 should handle this problem and open another batch of possibilities.

Displacing mesh via Attribute Sample Texture node doesn't work because custom data(in this case UV coordinates) aren't exposed as attributes(only Points created with Point Distribute node have it). So this is just a limitation rather than a bug, right? As far as I understand this task https://developer.blender.org/T84297 should handle this problem and open another batch of possibilities.
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Since yesterday, (interpolated) UV coordinates can be accessed per point (without the need for a Point Distribute node). In todays build the file seems to be working as expected for me. Not sure if I'm misunderstanding the problem. Can you try again with the latest version?

Since yesterday, (interpolated) UV coordinates can be accessed per point (without the need for a Point Distribute node). In todays build the file seems to be working as expected for me. Not sure if I'm misunderstanding the problem. Can you try again with the latest version?
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Hans Goudey self-assigned this 2021-02-11 22:24:38 +01:00
Member

This is working now, I think I thought I had the domain interpolation patch applied on Tuesday when I tested last.

This is working now, I think I thought I had the domain interpolation patch applied on Tuesday when I tested last.
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#85500
No description provided.