This is an example of a 3D plaza, The waving flag was a code I borrowed from NEHE tutorials. The shadows are on the texture, they were rendered on 3D max studio. The sky-box and the grass outside are not models, they are hard coded. Collisions are implemented in the easiest way. That means that I am working on defining a 2D segment and calculating the distance to that segment, if that number is bellow a number I define there is a collision and therefore the camera wont move on that direction. Sources are in MVS 2008, I am using TAO Framework and a small engine I made myself called Shadowengine.
Here is a list of what you will learn if you download(and leave a comment) this sample
- A small approach to simple camera collision
- You will learn how to implemente a simple FPS camera and to combine it with the collision class
- You will have the working code of a waving flag to use it to your convenience
- You will have a sky-box to use in your personal projects
- You will get an idea of what opengl Quadrics are, the stick of the flag is a quadric.
- If you wish you will learn how to use mi small opengl-engine, I develop this engine to teach my students the basis of 3D programming
