We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
quaternions (Read 537 times)
quaternions
Dec 22nd, 2008, 4:07am
 
worked out quaternion rotation after many months of head scratching... and its actually not that difficult but did require quite a lot of time coming to grips with it.

if you are trying to rotate something at a certain angle around each axis and things are not going right... then quaternions are most likely your solution.

posted some source on how to do this in processing using opengl, hopefully it comes in handy for someone.

http://www.julapy.com/blog/2008/12/22/quaternion-rotation/
Page Index Toggle Pages: 1