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
OCD Problem (Read 755 times)
OCD Problem
Mar 13th, 2006, 5:04am
 
Hi,

I'm using the OCD camera library and am unable to get it to circle an XY-plane ground. Can anyone help with this?

Apologies for the cross-post to the library area, but I thought different people with more 3D chops might see the question here.

Thanks!
Re: OCD Problem
Reply #1 - Mar 14th, 2006, 5:37am
 
Sounds like a gimbal lock problem....

Not gonna be an easy solution I don't think. Does OCD handle quaternions..?
Re: OCD Problem
Reply #2 - Mar 14th, 2006, 11:01pm
 
It does rotate, but the Up-Vector gets all messed up as you go around. I think it might have to do with the OCD camera having a different notion of which axis is normally 'up' (not Z), but my attempts so far to address this have all failed.
Re: OCD Problem
Reply #3 - Mar 15th, 2006, 7:18am
 
What if you rotated your entire scene to reflect the OCD camera's properly working up-axis?

Would this be difficult?

Maybe it just needs a rotation matrix applied before you do anything, and perhaps that can be a work-around.
Page Index Toggle Pages: 1