Dear list members,

does any one of you know of and can point me to the implementation
of a Catmull-Rom spline in Java? The splines (segments) shall be
used for the path of a camera and it's lookat point. I would
prefer ready made J3D code (similar to the Kochanek-Bartel or
TCB stuff in J3D), but will be able to adapt.

If Java code isn't available, C/C++ code will do ... then I will
post back the conversion to J3D to the list, because the Catmull-
Rom spline has some nice features:
- the (piecewise) spline runs through ALL control points, making
  the setup for pathes very easy
- it's smooth (C2, if I remember right)
- the tangent at a controlpoint is the line through both
  sorrounding controlpoints translated to hit the control point

Thanks in advance

Georg
 ___   ___
| + | |__    Georg Rehfeld      Woltmanstr. 12     20097 Hamburg
|_|_\ |___   [EMAIL PROTECTED]           +49 (40) 23 53 27 10

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to