Points Distribution node density attribute field #82376

Closed
opened 2020-11-03 18:02:40 +01:00 by Dalai Felinto · 13 comments

The density attribute field works as a mask multiplier relative to the "density".

image.png

Change the density field somewhere should not change the distribution elsewhere.

The density attribute field works as a mask multiplier relative to the "density". ![image.png](https://archive.blender.org/developer/F9182921/image.png) Change the density field somewhere should not change the distribution elsewhere.
Author
Owner

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

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

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Jacques Lucke self-assigned this 2020-11-11 16:41:16 +01:00
Member

I'm working on this node today to make it a bit more usable. Might not implement all the design yet.

I'm working on this node today to make it a bit more usable. Might not implement all the design yet.
Member

There is one issue I did not foresee: the vertex group data is stored in the mesh, but the vertex group names are stored on the object (for whatever reason). That means, that currently, the node tree does not know about the vertex group names. Therefore, the node has an index input instead of a name input.
I think we can solve this somehow, but I have to think about it a bit more to find a good solution.

2020-11-11 17-33-13.mp4

There is one issue I did not foresee: the vertex group data is stored in the mesh, but the vertex group names are stored on the object (for whatever reason). That means, that currently, the node tree does not know about the vertex group names. Therefore, the node has an index input instead of a name input. I think we can solve this somehow, but I have to think about it a bit more to find a good solution. [2020-11-11 17-33-13.mp4](https://archive.blender.org/developer/F9261299/2020-11-11_17-33-13.mp4)

Added subscriber: @MiroHorvath

Added subscriber: @MiroHorvath

Hi @JacquesLucke , I'm just curious, is there a specific reason(performance maybe?) why you have Nodes modifier assigned to PointCloud in this demo? thanks

Hi @JacquesLucke , I'm just curious, is there a specific reason(performance maybe?) why you have Nodes modifier assigned to PointCloud in this demo? thanks
Member

It's a technical limitation right now. To make this work I had to change how modifiers are evaluated internally. Making this change for point clouds first was significantly easier, because I could not break as much existing functionality. Besides instancing, this change also allows a modifier on a point cloud to output a mesh.

Doing the same change for modifier evaluation on mesh objects should be possible, but is more difficult if one wants to avoid regressions of existing functionality.

It's a technical limitation right now. To make this work I had to change how modifiers are evaluated internally. Making this change for point clouds first was significantly easier, because I could not break as much existing functionality. Besides instancing, this change also allows a modifier on a point cloud to output a mesh. Doing the same change for modifier evaluation on mesh objects should be possible, but is more difficult if one wants to avoid regressions of existing functionality.
Author
Owner

@JacquesLucke fascinating. Indeed in Blender you can duplicate an object, still share the same mesh, yet rename the vertex groups. That said I hope/don't think this is a blocker. We need a lookup table in the geometry from the object it was created from. This problem is particularly interesting when we try to deal with location, rotation, ... as attributes.

@JacquesLucke fascinating. Indeed in Blender you can duplicate an object, still share the same mesh, yet rename the vertex groups. That said I hope/don't think this is a blocker. We need a lookup table in the geometry from the object it was created from. This problem is particularly interesting when we try to deal with location, rotation, ... as attributes.

thanks @JacquesLucke , may I ask you to elaborate more on modifiers evaluation change if it won't sound like rocket science? ;)

thanks @JacquesLucke , may I ask you to elaborate more on modifiers evaluation change if it won't sound like rocket science? ;)
Member

More information can be found in #81853.

More information can be found in #81853.

thansk

thansk
Jacques Lucke removed their assignment 2020-11-12 17:03:06 +01:00
Sebastian Parborg was assigned by Jacques Lucke 2020-11-12 17:03:06 +01:00
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#82376
No description provided.