PDA

View Full Version : Best Way To Setup A Scene????



Tweener
11-23-2002, 11:05 PM
Ok y'all,
I am having a little difficulty determining the best way to setup my 3D scene. I am creating a massive sphere and placing objects in that sphere. What is the best way to view the objects in that sphere.
gluLookAt() | | glFrustrum() | | gluPerspective

Thanks

Mihail121
11-24-2002, 05:25 AM
Your question looks a little strange.There are some very difficult stuff to understand before you can do that.You must know at what position to place the camera and what direction she'll be facing.glTranslate,glRotate and gluLookAt are the 3 OpenGL camera functions but you can do it manually(the best but also the hardest).

nexusone
11-25-2002, 04:11 AM
It all depends on how you want to scene to look.

Note gluLookAt is used with a command like gluPerspective or glFrustrum. glLookAt is more like a camera movement command vs the others are setting up viewing areas.

How do you want to look at the sphere, all at once or just parts of it at a time?



Originally posted by Tweener:
Ok y'all,
I am having a little difficulty determining the best way to setup my 3D scene. I am creating a massive sphere and placing objects in that sphere. What is the best way to view the objects in that sphere.
gluLookAt() | | glFrustrum() | | gluPerspective

Thanks