How can i use similar gluLookAt in openGL|ES 2.0?

As i know, gluLookAt API is not exist in GL|ES 2.0.
so i had found a way to replace the API like below. … ookat.html

but when i use the way, the result also seemed wrong.
Especially, i could not use as following functions in GL|ES 2.0.
/* Translate Eye to Origin */
glTranslatef(-eyex, -eyey, -eyez);

Of cause, i have tried to use another way to replace the two functions.
but the result also seemed wrong.

Please, Do you have any idea to fix this problem?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.