Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Tera_Dragon

Moving in a 3D world

This topic is 5217 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
They are acctually the same thing. gluLookAt(); just does it for you. I personaly disagree with NeHe teaching the use of the camera by using translate and rotate, but he is a much better coder than me, so i wont argue. I would use gluLookAt in your case. If u need help using it, just post

------------

"Here lies a toppled God,
His fall was not a small one,
We but built his pedastle,
A narrow, and a tall one"
Frank Herbert (Dune:Messiah)

Share this post


Link to post
Share on other sites
It means "USE" "gluLookAt(xpos,ypos,zpos,xview,yview,zview,xvector,yvector,zvector);"

its easier if u ask me. But its best just to search "camera" in the search forum thing, and u will find loads of stuff.

Share this post


Link to post
Share on other sites
gluLookAt is fine for beginner''s ogl.

However, once you''re passed that point, and have a solid engine: Use your own Matrix44 class, and load it into openGL with glLoadMatrix.

-----------------------------
Amma

Share this post


Link to post
Share on other sites
so what''s so bad about LookAt ? It''s easy to use and does exactly what you think it does..
Why is using your own 4x4 matrix better ?
cheers

Share this post


Link to post
Share on other sites
quote:
Original post by ade-the-heat
so what''s so bad about LookAt ? It''s easy to use and does exactly what you think it does..
Why is using your own 4x4 matrix better ?
cheers

Becouse you''ll need that matrix for bunch of other things later on.



You should never let your fears become the boundaries of your dreams.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!