Post by fungus Post by Fritz Foetzl
Amazing. This ng isn't just unfriendly when one asks for help, it's
unfriendly when one tries to be helpful as well. If my tip isn't
helpful for you, just move along
Your amazing "tip" is *wrong*...
No, it isn't. What you don't seem to realize is that I'm not pulling
things out of my ass here. I have a 3D OpenGL scene in which I was
seeing nothing but background. All the parameters to gluLookAt and
gluPerspective seemed to be in order, as far as I could tell. Just to
see, I tried calling gluLookAt after gluPerspective, and suddenly I
could see my scene. I don't know how you can argue with me here.
You got your panties in a bundle because I didn't frame my advice in
terms of the projection stack and modelview stack, and Theo got bitter
because he apparently thinks I said "the ONLY way to see ANYTHING" is
to use gluLookAt and gluPerspective...only I didn't say that.
So, to recap (please take special note of words in CAPS): for those
people WHO ARE TRYING TO USE GLUPERSPECTIVE, and have noticed that
GLUPERSPECTIVE MAKES THEIR SCENE DISAPPEAR AS SOON AS IT'S CALLED,
they MAY NEED TO CALL GLULOOKAT, AFTER GLUPERSPECTIVE. Of course, THIS
MAY NOT BE THE ONLY PROBLEM, IT'S JUST ONE POSSIBLE PROBLEM if a scene
isn't appearing properly.