Sign in to follow this  

VB and IB questions

Recommended Posts

I've a general question about vertex and index buffers. If we have some different models, how we organize the data in the vertex and index buffer? A different buffer for each mesh or one buffer wich contains all data? For data I intend, for example, geometry. A very simple structure: - Mesh class: for loading and managing the mesh. - SceneNode class: represents a mesh in the scene, with her materials and shader, positions and properties. - Scene class: a collections of scene nodes.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this