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 > how to change c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4769 of 5017
Post > Topic >>

how to change camera location based on object location

by Shafran <odedshafran@[EMAIL PROTECTED] > May 26, 2008 at 06:38 AM

Hello

I am trying to move my gluLookAt to an object position (the object's
origin) but I can't do it.
i tried while creating the object to save its matrix:
glGetFloatv(GL_MODELVIEW_MATRIX,mat); and somewhere else in the code
to glMultMatrix(mat), but it seems wrong...

maybe I misunderstand it all?

can someone help?

thanks!
 




 3 Posts in Topic:
how to change camera location based on object location
Shafran <odedshafran@[  2008-05-26 06:38:39 
Re: how to change camera location based on object location
Jonathan Campbell <jg.  2008-05-26 15:41:21 
Re: how to change camera location based on object location
Sourcerer <enlorkMAKNI  2008-05-27 15:37:53 

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:46:15 CST 2008.