Jump to content
  • Advertisement
Sign in to follow this  


This topic is 1466 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I have a little problem figuring out at how i should render the object in opengl game.
I have useally make it so that object contains a pointer to model which contains a mesh or a multiple mesh. Objects are in list in scene. Scene has method Render whitch call objects render method, whits calls model render method and model calls mesh render method. Mesh has vertex array object handler, texture handler and shader handler. If i have understand correctly the rendering should separate from object, but how this should do?
i'm also wondered that i probably should separate mesh and the opengl vertex array object but where i should put the VAO?
I'm sory if this is confused and contains a lot of spelling errors. My english language skill isn't best one. I hope you can understund.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!