Hi arjdan,

You are making mistakes on the computation of the ControlPoint In & the 
ControlPoint Out of the Bezier Curve.

Assume you have several points (knots) and that your path will pass throw some 
points V(i), the Vec3 CubicBezier Keyframe are calculated as follow :

the p is your V(i), but the Control Points In & Out are supposed to be computed 
check the algorithm in the article Draw a Smooth Curve through a Set of 2D 
Points with Bezier Primitives.  


I understand this response may come a little bit late but it may help 
someone....

Cheers

------------------------
Mohamed ALJI


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41149#41149




_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to