Jump to content
  • Advertisement
Sign in to follow this  
Little Coding Fox

Heightmap Problem

This topic is 4900 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 am having a small Heightmap problem (i dump the heightmap file to a .xml file (x-y-z coords)) and then when i load the heightmap, half of it doesnt appear and a huge quad appears on the top. Can anyone help me?

Share this post


Link to post
Share on other sites
Advertisement
Can u please show us some relavent code to the problem, like the code of loading the height map and the rendering process.

Share this post


Link to post
Share on other sites
eh, i knew someone would ask for the code, the problem is, i dont have the code here (i dont have net @ home, will have it in 2 weeks). When my net at home is working i'll post the code. I just tough someone would think of a way to help me without code.

Share this post


Link to post
Share on other sites
Quote:
Original post by nuno_silva_pt
eh, i knew someone would ask for the code, the problem is, i dont have the code here (i dont have net @ home, will have it in 2 weeks). When my net at home is working i'll post the code. I just tough someone would think of a way to help me without code.



Well... if the rendering works ok at first (when you create the terrain),you could try adding the number of triangles you dump at the beginning of the .xml file and make sure you're dumping all terrain triangles and make sure you load them all as well...

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!