Overv / Open.GL

The source code and content of Open.GL.
http://open.gl/
1.07k stars 259 forks source link

Multiple primitives tutorial (or basic anatomy of an OpenGL renderer) #32

Open gnzlbg opened 10 years ago

gnzlbg commented 10 years ago

I just finished your tutorials and they are great. I noticed, however, that most of the examples deal with a single primitive. It would be awesome to have a tutorial explaining how to set up the pipeline for working with multiple different primitives. I guess that drawing 2 cubes and 2 tetras (one of each moving) should be enough to explain:

I think such a tutorial could be a good complement to the rest. It would give a feeling about how a "real-world" OpenGL program looks like.

Bests, Gonzalo

blackwolf12333 commented 9 years ago

Yes, I really need this too. I have been trying to figure this out by myself, but it's hard...