gluLookAt() vs. glTranslatef() and glRotate4f()

Started by
10 comments, last by Sky 21 years, 1 month ago
quote:
Using glTranslate to move or fake a camera i VERY expensive on the hardware.


no neccessarily true. you can''t render a new scene by actually moving the camera. the rest of the world is moved so it looks like the camera is moving. gluLookAt might (and probably is) more optimized than gltranslatef, but it has to work the same way.

My Homepage
Freeservers.com sucks. Angelfire.lycos.com is cool.
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
Advertisement
hello i''m new
I made my camera with glTranslatef and glRotate
and it works fine... at the moment

please, have a look at it and say me what you think:
http://213.221.106.91/forum/attachment.php?s=&postid=734832

the code is some kind of weird and most comments are in german, but if you want, i translate it

This topic is closed to new replies.

Advertisement