Hello All,
 
I am using the lws reader (I think I have Marco Jex to thank for that right? :).  It uses Animation Paths (I am pretty sure) to take the keyframed animation from a LW scene.  I have noticed that in doing a rotation (say heading from 0 to 360) over time, that in OSG it doesn't go anywhere.  I am guessing that Animation Path just makes a quat for the rotation one time for the attitude given, rather than at each frame, and the quats are interpolated rather than the original heading values.  So a 0 degree rotation is the same as a 360 degree rotation, no motion.  Same kind of issue arises if I run from 0 - 270, I am sure osg would run from 0-90.  Additionally, there is not any support AFAIK for splines, ease in/out, etc.
 
I was wondering if that was something that could be modified, or if I should try to modify animation path and submit it, or if I should try to tweak the .lws reader to create a new version of the Animation Path callback to handle it.
 
If I am to work on it, what do you think is the best way?  I figure either:
1.  Work with a quat?  (Can a quat represent 360 degrees differently than 0?  I don't think so)
2.  Interpolate between the values rather than the quats
3.  Insert more keyframes
 
None of these sound very clever do they?  Any ideas?
 
Thanks,
-- Rick
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to