Hi:
I have an OpenGL app working which uses only one GLUT function: gluLookAt(). Since the OpenGL Reference says: “This function only encapsulates a series of glTranslate() and glRotate() calls”, I have tried to write my own function to avoid loading a .dll just for that. I haven’t succeeded yet. Could someone help? Are there any public sources for this (and other GLUT) functions?
Thank you.
Jacques.
I have an OpenGL app working which uses only one GLUT function: gluLookAt().
Hey dude,
Note : GLU - LookAt().
That’s not glut,
thats the GLU library. The source is
available in various forms on various platforms. Search Google.
Originally posted by jacquesbas:
[b]Hi:
I have an OpenGL app working which uses only one GLUT function: gluLookAt(). Since the OpenGL Reference says: “This function only encapsulates a series of glTranslate() and glRotate() calls”, I have tried to write my own function to avoid loading a .dll just for that. I haven’t succeeded yet. Could someone help? Are there any public sources for this (and other GLUT) functions?
Thank you.
Jacques.[/b]
ftp://oss.sgi.com/projects/ogl-sample/download/
Actually it’s not “This function only encapsulates a series of glTranslate() and glRotate() calls”, you need some calculations
and there’s just one glMultMatrixf function
and one glTranslatef function.