PDA

View Full Version : gluLookAt() in OpenGL ES ?



evening
01-29-2005, 08:52 PM
Hi all, Is there any replacment function for gluLookAt() in OpenGL ES? It is because I would like to move the camera around my scene, however, It seems that OpenGL ES doesn't have gluLookAt() function. Thanks.

Evening

qasim1981
01-30-2005, 09:30 AM
In opengl ES this function is ;
ugluLookAtf( eyeX,eyeY,eyeZ, objectX,ObjectY,ObjectZ,UpVectorX,UpVectorY,UpVect orZ);

bentlegen
02-03-2005, 05:11 AM
I think I should raise the point that UG is not a part of OpenGL|ES specification. It is a completely undocumented (but handy) ES-related library that is packaged with a few implementations, but not all of them.

ugluLookAt() is just a composite of several OpenGL|ES functions. See this thread (http://khronos.org/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=4&t=000084) if you're interested in writing your own.

- Ben

[ February 03, 2005: Message edited by: bentlegen ]

hmwill
02-03-2005, 10:51 AM
There is also
Glut|ES (http://iparla.labri.fr/softwares/glutes/)

- HM