Page MenuHome

Geometry Nodes: Port curve primitive nodes to the new type
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Feb 28 2022, 11:51 PM.

Details

Summary

Create the Curves data-block directly, instead of using the conversion
from CurveEval. This means that the tilt and radius attributes
don't need to be allocated. The old behavior is kept by using the right
defaults in the conversion to CurveEval later.


I mostly did this as a simple test of the new code. At least it will remove
the overhead of the type conversion for these nodes.

Diff Detail

Repository
rB Blender

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Feb 28 2022, 11:51 PM
Hans Goudey (HooglyBoogly) created this revision.
Hans Goudey (HooglyBoogly) edited the summary of this revision. (Show Details)

Looks like this contains D14211.

This revision is now accepted and ready to land.Mar 1 2022, 12:17 PM