Game Development Community

Terrain Editing Loading a Hightmap (Help)

by AllynMcelrath · in Artist Corner · 07/30/2005 (12:58 pm) · 6 replies

Hi, im new to Torque so please excuse me.

Now i have read all the info i can find about using your own PNG as a hightmap in Torque.

But, for some reasion when i load the PNG file, It dosnt seem to tile correctly. It was my understanding that when a Hightmap is loaded it tiles infinitly. While mine is a highley Sculpted Map, for a contained area, im not sure why All the distortion between the image in this, Stright strip. (It seems)

The Hightmap in PNG format.
members.visi.net/~mcelrath/Errors/T3errain.png

How Torque Treats it when loaded in to "New map" using the Terrain Teraformer.
members.visi.net/~mcelrath/Errors/Minimap.jpg

What that area looks like in game.
members.visi.net/~mcelrath/Errors/Spikes.jpg
If anyone can tell me what im doing wrong, you would be my new Best friend.

Please be discriptive for me, i still dont know where all the options are in the Editor.

#1
07/30/2005 (3:07 pm)
A couple of things I can think of that might be the problem are... If your using Adobe for the PNG creation make sure to use 'Super PNG' plug-in instead of PS's default. You have to create a tiled PNG Torque dosen't tile it for you that I am aware of.
#2
07/30/2005 (5:03 pm)
"You have to create a tiled PNG Torque dosen't tile it for you that I am aware of."

I dont understand this, I dont realy want it to tile, I wanted it to be the entire map, But it didnt do this.

Is there some setting im not seeing?

Ill try this plugin, but where can it be found?
#3
07/30/2005 (9:26 pm)
superpng

Well if you don't want tiling then you need to stop the terrain from tiling (this can be done pretty simply with script- do a search). The only reason I said to tile your png is because the terrain tiles so you'd need the png to be tiled also.
#4
07/31/2005 (9:43 am)
I tryed the superpng, it didnt change anything, does the same thing.
#5
07/31/2005 (10:01 am)
256x256 - 72dpi - rgb 8bits/channel - non-interlaced - png always works for me.
#6
07/31/2005 (10:09 am)
Thanks ill try one thats that size ETC...