Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gnzlbg opened this issue Oct 27, 2014 · 1 comment
Open

Comments

@gnzlbg
Copy link

gnzlbg commented Oct 27, 2014

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:

  • how to set up multiple VAOs, with different EBOs, in an initialization step,
  • how to update some of the model matrices in a loop,
  • how to draw the different VAOs in a loop.

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants