Skip to content

Spline component#1663

Merged
C-Core merged 15 commits into
devfrom
user/ck/splines
Sep 22, 2025
Merged

Spline component#1663
C-Core merged 15 commits into
devfrom
user/ck/splines

Conversation

@C-Core
Copy link
Copy Markdown
Member

@C-Core C-Core commented Sep 19, 2025

This is a refactor of the existing path component. The component has been renamed to spline component since it can be used for so much more than just paths. Existing scenes will be automatically migrated to use the new spline component.

Internally the new spline component does not use a piecewise linear representation but uses a remapping table to map "distance along the spline" to "spline key". It can then evaluate the spline exactly at that point including an up vector and an interpolated scale. Thus it can provide a full transform if necessary.

This sampling functionality is also exposed to script. For example this allows to implement a "Scatter on Spline" viusal script (which can be found in the "Splines" scene in the "Testing Chambers" project):
image

Custom manipulators have been added to insert new spline points or edit custom tangent on spline points:
image
image

@C-Core C-Core merged commit 2d4e8da into dev Sep 22, 2025
11 checks passed
@C-Core C-Core deleted the user/ck/splines branch September 22, 2025 06:07
@jankrassnigg jankrassnigg added this to the Next Release milestone Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants