Geometry Nodes: Sample Grid Index node #118690

Open
Hans Goudey wants to merge 8 commits from HooglyBoogly/blender:geometry-nodes-sample-grid-index-node-v2 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

This (experimental, for now) node retrieve's voxel values
at specific voxel indices for a grid input. It's similar to the
Sample Grid node (77cba3d551), but there is
no interpolation, and it uses indices instead of positions.


Screenshot from 2024-02-23 16-31-34
Screenshot from 2024-02-23 16-31-16

This (experimental, for now) node retrieve's voxel values at specific voxel indices for a grid input. It's similar to the Sample Grid node (77cba3d5518d8b75da78), but there is no interpolation, and it uses indices instead of positions. --- ![Screenshot from 2024-02-23 16-31-34](/attachments/0b09165e-3029-4d23-8182-615c0df4be6d) ![Screenshot from 2024-02-23 16-31-16](/attachments/1bbcad96-9f0c-4b32-9ea7-5d36dcdcf397)
Hans Goudey added 1 commit 2024-02-23 22:44:25 +01:00
54e1e6e737 Geometry Nodes: Sample Grid Index node
This (experimental, for now) node retrieve's voxel values
at specific voxel indices for a grid input. It's similar to the
Sample Grid node (77cba3d551), but there is
no interpolation, and it uses indices instead of positions.
Hans Goudey added this to the Nodes & Physics project 2024-02-23 22:45:17 +01:00
Hans Goudey added the
Interest
Geometry Nodes
label 2024-02-23 22:45:22 +01:00
Hans Goudey added 1 commit 2024-02-23 22:46:41 +01:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
19d83bc618
Remove unnecessary include
Hans Goudey requested review from Lukas Tönne 2024-02-23 22:46:53 +01:00
Hans Goudey requested review from Jacques Lucke 2024-02-23 22:46:54 +01:00
Author
Member

@blender-bot build

@blender-bot build
Hans Goudey added 1 commit 2024-02-29 01:29:52 +01:00
First-time contributor

using 'blur attribute' with this - would result in interpolation intentionally eh? or is this behavior impossible?

using 'blur attribute' with this - would result in interpolation intentionally eh? or is this behavior impossible?
Hans Goudey added 1 commit 2024-03-25 22:23:15 +01:00
Jacques Lucke added 1 commit 2024-04-22 18:24:52 +02:00
Jacques Lucke requested changes 2024-04-25 12:07:08 +02:00
@ -0,0 +230,4 @@
"data_type",
"Data Type",
"Node socket data type",
rna_enum_node_socket_type_items,
Member

Just noticed that this is the wrong enum. It uses "Value" instead of "Float". The same issue actually exists in the Sample Grid node.

Just noticed that this is the wrong enum. It uses "Value" instead of "Float". The same issue actually exists in the Sample Grid node.
Author
Member

I don't think that's the wrong enum honestly. I thought we had decided to use the node socket types here, rather than custom data types on purpose.

The fact that we have this "Float" vs. "Value" inconsistency is a problem, but I see it as outside the scope of this PR.

I don't think that's the wrong enum honestly. I thought we had decided to use the node socket types here, rather than custom data types on purpose. The fact that we have this "Float" vs. "Value" inconsistency is a problem, but I see it as outside the scope of this PR.
Member

I think you probably misunderstood what I meant. I fixed the Sample Grid node here: 6cb9b7299d

It's not about using custom data types. We still want to use socket types, but it's still the wrong enum.

I think you probably misunderstood what I meant. I fixed the Sample Grid node here: 6cb9b7299d35ba68d1adea7164dc2d2045c73788 It's not about using custom data types. We still want to use socket types, but it's still the wrong enum.
Author
Member

Oh yeah, my bad. Thanks for explaining.

Oh yeah, my bad. Thanks for explaining.
JacquesLucke marked this conversation as resolved
Hans Goudey added 1 commit 2024-04-26 17:27:28 +02:00
Hans Goudey added 2 commits 2024-05-02 19:44:50 +02:00
Merge conflict checking is in progress. Try again in few moments.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u geometry-nodes-sample-grid-index-node-v2:HooglyBoogly-geometry-nodes-sample-grid-index-node-v2
git checkout HooglyBoogly-geometry-nodes-sample-grid-index-node-v2
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
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#118690
No description provided.