Heightmaps
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.
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.
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.
A small hint though: grayscale TGA-images will do the trick fine.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement