Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Today's Posts

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 18th May 2005, 10:50 AM   #4
briandavis
Junior Member
Member
 
Join Date: Jul 2004
Posts: 10
Default

Quote:
Originally Posted by Andy Colebourne
I had this problem a long time ago. As you've discovered, using the trig will give you non 0-360 deg values. You'd need to work out the quadrants you are in. You'll also need to assume a default 'up' direction too. It's all a bit nasty.

How about a different method like maintaining your angles and generating a matrix when you need it? Or perhaps using gluLookAt? (you can always read stuff back out of the opengl matrix)

Andy
Can you elaborate on any of these? I'd sure appreciate it.

Thanks,
Brian
briandavis is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 12:15 PM.


AC3D Forum
(C) Inivis Limited 2020