Megaterrain help
by Juha Eerola · in Torque Game Engine Advanced · 11/11/2008 (2:45 pm) · 2 replies
Hi,
How would I import heightfield from L3DT to TGEA?
I have 4096x4096 png and I tried importing it, but the result was ... weird. It seemed like only part of the heightfield was used and the terrain slopes were like stair steps.
Is that image too large? If it is, can I cut it into pieces, let's say 512x512 and make multiple megaterrain blocks and import each piece to each block to make one, large terrain?
I'm not using atlas, because I want to be able to edit the terrain later and make caves.
Thanks for the help.
- Juha
How would I import heightfield from L3DT to TGEA?
I have 4096x4096 png and I tried importing it, but the result was ... weird. It seemed like only part of the heightfield was used and the terrain slopes were like stair steps.
Is that image too large? If it is, can I cut it into pieces, let's say 512x512 and make multiple megaterrain blocks and import each piece to each block to make one, large terrain?
I'm not using atlas, because I want to be able to edit the terrain later and make caves.
Thanks for the help.
- Juha
About the author
#2
Maybe I'll just leave caves out of the game and make craters straight to the heightmap in L3DT's 3d-editor and use Atlas instead.
Thank you for your answer :)
11/12/2008 (2:55 pm)
Woah! Never imagined it would require that much to get it in as a megaterrain. I just wonder how heavily that would affect the fps... having that many megaterrains...Maybe I'll just leave caves out of the game and make craters straight to the heightmap in L3DT's 3d-editor and use Atlas instead.
Thank you for your answer :)
Torque Owner Erik Madison
Overall, it should work fine, but problems are bound to appear at some point. I've used 4 megaterrains (16 chunks) with no problems, but that's only a 1024x1024 map. You're asking for 4x that! Some type of paging system may be in order here....