m3ntol
07-31-2005, 11:04 PM
Hello,
I'm an experienced C/C++ programmer but newby to OpenGL.
I have followed NeHe tutorials (very good ones!!) and now I'm trying to make a simple programm which travelling the camera across a scene.
I think the best choice is the 'gluLookAt' function but some people said this function is very time cost, and a better choice is to use a combination of 'glRotate' and 'glTrasnlate'. Is this true?
If I use this functions I need to make a lot of matrix transformations. Can anyone explain me why gluLookAt is inefficient?
Thanks in advance
Javier Nieto
I'm an experienced C/C++ programmer but newby to OpenGL.
I have followed NeHe tutorials (very good ones!!) and now I'm trying to make a simple programm which travelling the camera across a scene.
I think the best choice is the 'gluLookAt' function but some people said this function is very time cost, and a better choice is to use a combination of 'glRotate' and 'glTrasnlate'. Is this true?
If I use this functions I need to make a lot of matrix transformations. Can anyone explain me why gluLookAt is inefficient?
Thanks in advance
Javier Nieto