Another terrain problem post
by combitz · in Torque Game Engine · 10/05/2008 (3:48 am) · 7 replies
I can't get the Terrain Terraform Editor to use a png file. Every time I hit apply it just creates a flat plane at a set height.
I am using TGE 1.5.2 and stock FPS Starter Kit
I have created a greyscale 512 x 512 image in photoshop, selected image>mode>greyscale/8-bit and save as png (no interlace).
I have tried saving the file in several places, the tutorials all say " example\common\editor\heightScripts ". There is no "editor" folder structure in my "common" folder. I have tried making one to complete the tutorial path but it still won't work.
any help please?
I am using TGE 1.5.2 and stock FPS Starter Kit
I have created a greyscale 512 x 512 image in photoshop, selected image>mode>greyscale/8-bit and save as png (no interlace).
I have tried saving the file in several places, the tutorials all say " example\common\editor\heightScripts ". There is no "editor" folder structure in my "common" folder. I have tried making one to complete the tutorial path but it still won't work.
any help please?
About the author
#2
10/05/2008 (7:40 am)
Thanks Dunsany I will try that now ;)
#3
10/05/2008 (7:47 am)
Also remember to set your terrain heights in Terrain Terraform Editor (min terrain height and height range) cos if they're both set to zero, not much is likely to happen when you hit Apply.
#4
When I select bitmap and choose the png file it adds it to the list, then click apply but it just builds a flat plane at the max height of the darkest colour depending on my terrain height max setting. It is as if it just recognises the 0-255 range and sets a flat plane at that height.
I have also tried interlaced and none interlaced png files 256 x 256, 512 x 512 and 1024 x 1024.
Confused????
10/05/2008 (8:26 am)
No Joy :( I've tried 8 bit and 16 bit grey scale and colour. Even the stronghold.png file that comes with the sdk won't work.When I select bitmap and choose the png file it adds it to the list, then click apply but it just builds a flat plane at the max height of the darkest colour depending on my terrain height max setting. It is as if it just recognises the 0-255 range and sets a flat plane at that height.
I have also tried interlaced and none interlaced png files 256 x 256, 512 x 512 and 1024 x 1024.
Confused????
#5
Thanks
10/05/2008 (8:31 am)
SteveYorkshireRifles: ahh I think I just worked it out. I had min terrain height set at 50 and height range at zero. Duh the clue is in the name. lol height range. to my defence this disappears when you select bitmap but you can obviously switch back and forth in the list of modifiers.Thanks
#6
Images must be 256 x 256. Any extra will be cropped.
set the "minimum terrain height" at your desired start height.
set the "height range" at the overall height you want your terrain to be from base level to highest peak.
Thanks for the help. makes perfect sence now
The tutorials need updating as it states 1024 x 1024 and the wrong paths for images. (This was written for 1_3_2 TGE. ) above details work for 1_5_2.
10/05/2008 (8:53 am)
Yes it is now working :DImages must be 256 x 256. Any extra will be cropped.
set the "minimum terrain height" at your desired start height.
set the "height range" at the overall height you want your terrain to be from base level to highest peak.
Thanks for the help. makes perfect sence now
The tutorials need updating as it states 1024 x 1024 and the wrong paths for images. (This was written for 1_3_2 TGE. ) above details work for 1_5_2.
#7
10/05/2008 (4:45 pm)
Result!
Torque Owner Dunsany
Hardware Refinery