fabric-engine/PublicDev — pull request #37 by smadhueagle (2012-03-25 07:25:00+00:00)
Title: Added a 3D spline primitive

Added support for 3D spline primitive (Hermite Curve). I have a strong requirement for Spline primitives in 3D Viewport for some of my projects, so I went ahead and started implementing it. The current implementation takes two end points and tangents at those end points, and generates a 3D spline curve between them using 'numSegments'. I have updated the Primitives.html to include the spline primitive. You can also see the Spline demo here at http://fabric.no.de/.

I have plans to extend the Scenegraph API to enable splines connecting more than two points.