Attribute Math Node for pebbles distribution - needs updated mockup #82159

Closed
opened 2020-10-27 17:08:31 +01:00 by Dalai Felinto · 17 comments

The mockup still needs to be updated:

  • Need enum to set value directly (nice to have)

image.png

Nice to have would be an enum so users can plug/set a float directly. See #82618.

The mockup still needs to be updated: * Need enum to set value directly (nice to have) ![image.png](https://archive.blender.org/developer/F9275849/image.png) Nice to have would be an enum so users can plug/set a float directly. See #82618.
Author
Owner

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

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

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Dalai Felinto changed title from Attribute Math Node to Attribute Math Node for pebbles distribution 2020-11-13 15:27:01 +01:00
Dalai Felinto changed title from Attribute Math Node for pebbles distribution to Attribute Math Node for pebbles distribution - needs updated mockup 2020-11-13 15:49:00 +01:00
Member

Added subscriber: @SimonThommes

Added subscriber: @SimonThommes
Member

image.png
Updated Mockup with 'Result' attribute field

![image.png](https://archive.blender.org/developer/F9275849/image.png) Updated Mockup with 'Result' attribute field
Hans Goudey self-assigned this 2020-11-24 14:09:55 +01:00
Member

{F9365448 size=full}

{[F9365448](https://archive.blender.org/developer/F9365448/image.png) size=full}

Added subscriber: @randum

Added subscriber: @randum

Should not attribute math node hase enum of mesh element (point, polygon, corner, ...)?

Should not `attribute math` node hase enum of mesh element (point, polygon, corner, ...)?
Author
Owner

@randum this is inferred from the attribute

@randum this is inferred from the attribute

So the node is searching name of given attribute in mesh elements. But if two elements have the same name of attribute than one attribute is overriding another. Is it so?

So the node is searching name of given attribute in mesh elements. But if two elements have the same name of attribute than one attribute is overriding another. Is it so?
Member

Right, there will need to be special handling for this case of adding an attribute with a name that's already used. It's not the largest problem right now though.

Right, there will need to be special handling for this case of adding an attribute with a name that's already used. It's not the largest problem right now though.
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

I have a question. It looks like point distribute node can include vertex group as point attributes. In my particular case geometry has Sv_VGroup vertex group and points are scattering as I expected. But Attribute math node looks like can't perform the same trick. Nodes in yellow border work but math node with Sv_VGroup attribute does not. The question is whether the node intended to work with vertex groups as point attributes?
{F9502991, size=full}

I have a question. It looks like `point distribute` node can include `vertex group` as point attributes. In my particular case geometry has `Sv_VGroup` vertex group and points are scattering as I expected. But `Attribute math` node looks like can't perform the same trick. Nodes in yellow border work but math node with `Sv_VGroup` attribute does not. The question is whether the node intended to work with vertex groups as point attributes? {[F9502991](https://archive.blender.org/developer/F9502991/2020-12-11_20-50-24.png), size=full}
Member

@randum Yes, that is supposed to work.

@randum Yes, that is supposed to work.

@HooglyBoogly Should I open bug report then?

@HooglyBoogly Should I open bug report then?
Member

Yes, sure, there's no report for that yet, so it would be helpful.

Yes, sure, there's no report for that yet, so it would be helpful.

I've understood the problem. It's not a bug. There should be something like transfer attributes node between points distribute and attribute math nodes. Because when points were scattering they did not inherit attributes of parent mesh I guess. So transfer attributes node should pass vertex group attribute to scattered points. So it's something GM is not capable yet.

I've understood the problem. It's not a bug. There should be something like `transfer attributes` node between `points distribute` and `attribute math` nodes. Because when points were scattering they did not inherit attributes of parent mesh I guess. So `transfer attributes` node should pass `vertex group` attribute to scattered points. So it's something GM is not capable yet.
Member

Oh, sorry, I totally misunderstood the situation. So yeah, not a bug, but sampling attributes from the "scattered on" mesh in the point distribute node should be doable in the future. Thanks again for testing.

Oh, sorry, I totally misunderstood the situation. So yeah, not a bug, but sampling attributes from the "scattered on" mesh in the point distribute node should be doable in the future. Thanks again for testing.
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#82159
No description provided.