PDA

View Full Version : The Basics Of Establishing a Window



31337
07-31-2002, 01:19 PM
I know a bit of GL but what I don't know is the basics of setting up a window and how it is rendered etc. I use GLUT and I know how to work with that but I also always seem to have problems with camera positioning and window creation. What should I read that would help me out with this? I need to setup a full screen setup with the camera looking at the origin and I don't know where to start. Any tips/advice? Thanks

nickels
07-31-2002, 02:16 PM
I would compile one of the most simple GLUT example programs and start there by going through each line.

nexusone
07-31-2002, 02:38 PM
There are lot's of good examples out there..
one of my fav sites is nehe.gamedev.net

As from carama positioning... there are a few ways to work it...
with gluLookat or just by using gltranslate

You can find examples of each


Originally posted by 31337:
I know a bit of GL but what I don't know is the basics of setting up a window and how it is rendered etc. I use GLUT and I know how to work with that but I also always seem to have problems with camera positioning and window creation. What should I read that would help me out with this? I need to setup a full screen setup with the camera looking at the origin and I don't know where to start. Any tips/advice? Thanks