• Advertisement
Sign in to follow this  

rendering

This topic is 1254 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
Advertisement
Sign in to follow this  

  • Advertisement