Page MenuHome

Geometry Nodes: Support for minimum twist normal mode.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Jun 16 2021, 12:32 PM.

Details

Summary

The minimum twist mode is important because it allows creating normals without sudden changes in direction. The disadvantage of minimum twist normals is that the normals depend on all control points. So changing one control point can change the normals everywhere. The computed normals do not match the existing code exactly, although they do match quite well on non-cyclic and on some cyclic curves. The existing code isn't bug free anyway as can be seen in the demo file which shows a bad artifact of the old code that is not in the new version (afaik).

Diff Detail

Repository
rB Blender
Branch
spline-normals (branched from master)
Build Status
Buildable 15249
Build 15249: arc lint + arc unit

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Jun 16 2021, 12:32 PM
Jacques Lucke (JacquesLucke) created this revision.
  • Merge branch 'master' into spline-normals
  • better support zero tangents
  • remove tangent mode for now
  • fix minimum mode
Jacques Lucke (JacquesLucke) retitled this revision from Geometry Nodes: Support for different spline normal modes (WIP). to Geometry Nodes: Support for minimum twist normal mode..Jun 17 2021, 12:29 PM
Jacques Lucke (JacquesLucke) edited the summary of this revision. (Show Details)

The results look quite good. It's quite nice to be able to match the existing curve code, at least in many cases, but also improve on the results!

This revision is now accepted and ready to land.Jun 17 2021, 3:09 PM