Jump to content
  • Advertisement
Sign in to follow this  
Meganan

OpenGL Heightmaps

This topic is 4500 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 want to start playing around with the creation of heightmaps. I know how to use them because i have the book BOGLGP (Beggining OpenGL Game Programming). Except the only problem is that the program i have found to do this gives me files in a .hmp format that are almost loaded perfectly into the program. The reason it is almost perfect is because the program expects a .raw file and i do not know how to make a hieghtmap in .raw. What i'm asking is that somebody please point me in the right direction to either learn how to put different types of hieghtmaps into my program or point me to a program that can make .raw hieghtmaps like the ones used in BOGLGP. Thankyou in advance.

Share this post


Link to post
Share on other sites
Advertisement
The best heightmap/ground texture program that I know of is L3DT. google for it to find it. It's a great program that can inport and export lots of different kinds of formats including raw.

Share this post


Link to post
Share on other sites
The problem with raw-files is that they're just that; raw data. There are no conventions as to what a raw file should contain, in what order and in what format. Therefore you won't find a file-specification as there is none...

A small hint though: grayscale TGA-images will do the trick fine.

Share this post


Link to post
Share on other sites
Thankyou very much this is great. I'm going to look them up and work it out. Thanks for your time.

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!