Jump to content
  • Advertisement
Sign in to follow this  

Handling mesh resources

This topic is 4874 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

I've written a class that handles meshes, their materials/textures/etc, and I originally was planning on having all the objects that use the same mesh to share the same reference (to the mesh object), but then I got to thinking about LOD with a progressive mesh, and I'm wondering what the trade-offs would be and what people would recommend when it comes to LOD and progressive meshes and sharing resources. Should I just have each object load it's own mesh and update its vertices/position every time it reaches a new distance (say based on 10's or 100's units from the camera) or have it dynamically change the number of vertices based on how far away it is from the camera that particular frame (And share the same Mesh reference)? Or is there some completely better way that I'm not thinking of? What has worked for you in the past, or what would you recommend?

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!