Jump to content
  • Advertisement
Sign in to follow this  

XNA Model or custom Model for terrain

This topic is 4142 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 have a custom object representing my terrain at the moment. I model in 3D Studio and I have a content processor that populates my land node object from the raw data. I then serialize that object to a binary file and deserialize to land node object when I want to load the terrain. All of this works wonderfully. However, right now my land node object works kind of this way. The massive VB (all vertexes in the terrain) are stored one time in the root node. Since it's an octtree I store my indexes in the leaf nodes. I render accordingly. Now I'm wondering if I could somehow use the XNA Model and mesh classes to make this simpler. So far I don't see any real way since I separate the storage of my vb and ibs and it seems the mesh classes want them all right there. So the question, is there a way, would I benefit anything from using the model/mesh in XNA over my custom object (thinking in terms of any optimizations the XNA objects might give for free)? Thanks for any input, Webby

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!