PDA

View Full Version : Eye -> Target Position



10-22-2001, 07:15 AM
Hello !
wich command allows to change the target of the eye ? It always fixes the (0,0,0) point !
Thanks

Gavin
10-22-2001, 08:04 AM
gluLookAt

FoxDie
10-23-2001, 10:20 AM
What the hell is master-up vector? http://www.opengl.org/discussion_boards/ubb/frown.gif

T2k
10-23-2001, 10:32 PM
i think the master up-vector should be the vector of the view before transforming to look at the destpoint, but dont know 100% (dont use glut...)

Bob
10-24-2001, 02:06 AM
The upvector is the vector, in eyespace, telling gluLookAt where the camera's up is directed. If the camera is "up side down", the upvector would point downwards in eyespace, for example.

FoxDie
10-24-2001, 10:32 AM
So it's direction vector?
Tk2 why I can't use glut?
:

Korval
10-24-2001, 10:45 AM
Glu is not Glut. Glu is a set of helper functions for OpenGL. Glut is a framework library for making OpenGL programs.

T2k
10-24-2001, 11:48 PM
FoxDie, i never sayed that YOU dont have to use glut, only that I dont use glut http://www.opengl.org/discussion_boards/ubb/smile.gif

P.S: glu or glut, for me are both not needed/not recommended(you cannot say that apps with glut/glu run on other systems without recompile on them)

FoxDie
10-25-2001, 11:20 AM
GLUT is very good PORTABLE.
Korval I know what is GLU and GLUT.