Game Development Community

Heightmap part 2

by Chris Sargent · in Torque Game Engine · 06/04/2005 (3:03 pm) · 5 replies

Posted in correct forum now

I made a post a few weeks about about making my own terrain with a heightmap. Well I have the heightmap, finally but where do I put it so I can load it up?

I was reading the 3d game programming bood and I tried putting my map in the folder common/editor/terrain that was a no go. The book says to put in common/editor/heightscripts, but I do not have a folder for that in torque.

So, do I make a folder for that? and where? LOL i have like 3 different common folders under torque.

Thanks in advance.

Just a thought my heightmap is in bmp format should I have exported it as a .map file?

#1
06/04/2005 (3:08 pm)
You need to actually make that folder--it doesn't get created as part of the install process.
#2
06/04/2005 (3:20 pm)
I was reading the other post on the subject.

I went ahead and under /common/editor made a folder called heightscripts
and I put my 2 bmp files in there.

I launched the starterFPS clicked on F11 then selected terrain transformer
and when I click on option and then bitmap
the load dialog shows up but with nothing listed?
#3
06/04/2005 (4:26 pm)
Are they not supposed to be png files instead of bitmaps, im sure the book says save as png. Page 376 in the book shows the load file dialog box (figure 12.17) with 6 different png files in, so i guess that would be your answer.
#4
06/04/2005 (5:29 pm)
Right right you are. I over looked that as I'm so used to working with bitmaps. That allowed me to load the height map.

Many thanks.
#5
06/04/2005 (5:55 pm)
Right right you are. I over looked that as I'm so used to working with bitmaps. That allowed me to load the height map.

Many thanks.