Sample Curve Node #89612

Closed
opened 2021-07-02 20:08:11 +02:00 by Hans Goudey · 4 comments
Member

{F10209775 size=full}

Like the "Attribute Sample Texture" node, this creates or modifies an attribute based on the sampling along curve splines based on a parameter input for each point.

Details

  • For each element (any domain should be supported) of the geometry input, the parameter value chooses how far along the curve to sample the value of the input attribute along the curve.
  • The type of the result attribute depends on the type of the attribute on the curve input.
  • One simple use case is using one curve to transfer taper to another, like in the geometry panel of curve data.
  • Beyond that, this node is more of a foundational building block node for interaction with volume data that could be useful in many different situations.

Related Nodes

Further Questions

  • Multiple splines could be supported-- the factor could be a factor along all splines in the curve.
  • A "Length" option could be supported, as well as a "Factor" mode.

Implementation

  • This is somewhat similar to the curve deform node. Actually, the curve deform could be internally implemented with this node.
{[F10209775](https://archive.blender.org/developer/F10209775/image.png) size=full} Like the "Attribute Sample Texture" node, this creates or modifies an attribute based on the sampling along curve splines based on a parameter input for each point. **Details** * For each element (any domain should be supported) of the geometry input, the parameter value chooses how far along the curve to sample the value of the input attribute along the curve. * The type of the result attribute depends on the type of the attribute on the curve input. * One simple use case is using one curve to transfer taper to another, like in the geometry panel of curve data. * Beyond that, this node is more of a foundational building block node for interaction with volume data that could be useful in many different situations. **Related Nodes** * [D11596: Geometry Nodes: Curve Deform Node](https://archive.blender.org/developer/D11596) As an example of the flexibility this provides, the curve deform node could be implemented with this node. * A single-value version of this function might work very well with the [fields proposal ](https://devtalk.blender.org/t/fields-and-anonymous-attributes-proposal/19450) **Further Questions** * Multiple splines could be supported-- the factor could be a factor along all splines in the curve. * A "Length" option could be supported, as well as a "Factor" mode. **Implementation** * This is somewhat similar to the curve deform node. Actually, the curve deform could be internally implemented with this node.
Author
Member

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

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

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Hans Goudey self-assigned this 2021-07-02 21:49:20 +02:00
Author
Member

I'd like to work on this, it's a more flexible base than what the curve deform node uses, and may raise some important core implementation questions.

I'd like to work on this, it's a more flexible base than what the curve deform node uses, and may raise some important core implementation questions.
Member

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
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#89612
No description provided.