Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Re: Opengl find...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 4887 of 5017
Post > Topic >>

Re: Opengl finding direction vector

by fungus <openglMYSOCKS@[EMAIL PROTECTED] > Aug 25, 2008 at 08:47 PM

On Aug 25, 9:24=A0pm, onur.tu...@[EMAIL PROTECTED]
 wrote:
> So the question is, is there any way that I can glRotate and find the
> current internal direction vector or orientation matrix?

glGet(GL_MODELVIEW_MATRIX, ...);

I assume that if you know quaternions you can figure out
which numbers in the matrix are the ones you need.


--
<\___/>
/ O O \
\_____/  FTB.

http://www.topaz3d.com/
 - 3D editor for games / simulation
 




 4 Posts in Topic:
Opengl finding direction vector
onur.tugcu@[EMAIL PROTECT  2008-08-25 12:24:55 
Re: Opengl finding direction vector
"jbwest" <jb  2008-08-25 18:29:22 
Re: Opengl finding direction vector
fungus <openglMYSOCKS@  2008-08-25 20:47:25 
Re: Opengl finding direction vector
mi76 <mi333@[EMAIL PRO  2008-08-26 16:35:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 4:12:22 CST 2008.