Geometry Nodes: Add volume grid conversion nodes #118830

Merged
Hans Goudey merged 5 commits from HooglyBoogly/blender:geometry-nodes-grid-conversion-nodes into main 2024-02-29 01:20:36 +01:00
Member

Adds two nodes as "grid" equivalents to the existing volume nodes:

  • Grid to Mesh
  • Distribute Points in Grid

The code for the latter is just duplicated for now. In a later step
old node can be replaced by versioning with two new nodes.


image

Adds two nodes as "grid" equivalents to the existing volume nodes: - **Grid to Mesh** - **Distribute Points in Grid** The code for the latter is just duplicated for now. In a later step old node can be replaced by versioning with two new nodes. --- ![image](/attachments/d7d95aa7-3f52-4c8b-880d-7182b48881fa)
Hans Goudey added 1 commit 2024-02-28 04:54:43 +01:00
f071c0079d Geometry Nodes: Add volume grid conversion nodes
Adds two nodes as "grid" equivalents to the existing volume nodes:
- **Grid to Mesh**
- **Distribute Points in Grid**

The code for the latter is just duplicated for now. In a later step
old node can be replaced by versioning with two new nodes.
Hans Goudey added 1 commit 2024-02-28 04:56:31 +01:00
Hans Goudey added this to the Nodes & Physics project 2024-02-28 04:57:11 +01:00
Hans Goudey added the
Interest
Geometry Nodes
label 2024-02-28 04:57:15 +01:00
Hans Goudey requested review from Lukas Tönne 2024-02-28 04:57:24 +01:00
Hans Goudey requested review from Jacques Lucke 2024-02-28 04:57:25 +01:00
Jacques Lucke requested changes 2024-02-28 12:36:22 +01:00
Dismissed
Jacques Lucke left a comment
Member

I think the behavior of the Distribute Points in Grid node is a bit ambiguous currently. It's not clear what "inside" means. Does it is a density grid or sdf?

I think the behavior of the Distribute Points in Grid node is a bit ambiguous currently. It's not clear what "inside" means. Does it is a density grid or sdf?
Author
Member

It's the same behavior as the existing node, so it's using the density. That's the only tool OpenVDB provides-- it's just multiplying voxel/tile values with the provided density. SDFs could be filled first by the user. This will also work on SDF grids though, it will just fill the boundary layer of voxels around the surface.

It's the same behavior as the existing node, so it's using the density. That's the only tool OpenVDB provides-- it's just multiplying voxel/tile values with the provided density. SDFs could be filled first by the user. This will also work on SDF grids though, it will just fill the boundary layer of voxels around the surface.
Member

We could consider renaming the node, but if not, then that information should at least be part of the socket description.

We could consider renaming the node, but if not, then that information should at least be part of the socket description.
Hans Goudey added 3 commits 2024-02-28 22:22:02 +01:00
Author
Member

Right, good point. I do like the slightly shorter name now, I added some details to the tooltip for the density input.

Right, good point. I do like the slightly shorter name now, I added some details to the tooltip for the density input.
Hans Goudey requested review from Jacques Lucke 2024-02-28 22:22:25 +01:00
Jacques Lucke approved these changes 2024-02-28 23:07:58 +01:00
Hans Goudey merged commit 860f3ed794 into main 2024-02-29 01:20:36 +01:00
Hans Goudey deleted branch geometry-nodes-grid-conversion-nodes 2024-02-29 01:20:39 +01:00
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 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#118830
No description provided.