Game Development Community

L3dt exporting

by Barry Gallagher · in Torque Game Engine Advanced · 01/15/2008 (12:15 pm) · 3 replies

I am trying to convert l3dt terrain in the TGEA console but some terms im still not that comfortable with...

My horizontal scale
My vertical scale
My tree depth
My tree leaf size

Could somebody explain these to me in simple terms relative to the Raw heightfield and jpeg texture map.
Some things to note are im looking to do high detail terrain with a squaresize of 4 or less, so assume a map size of 4096x4096 atleast.

This is the tutorial I have been trying to use so far.
http://tdn.garagegames.com/wiki/TSE/Atlas/Create_a_Terrain/L3DT

#1
01/15/2008 (1:03 pm)
Give this a try: http://www.bundysoft.com/wiki/doku.php?id=tutorials:torque:madcowthomas
I've used it in the past with better success than the TDN docs.
#2
01/16/2008 (12:36 pm)
Thanks for that link but I am still having issues with the last part of converting the map.

Quote:atlasGenerateUniqueTerrain(
"data/terrains/terrain.atlas",
"data/terrains/geometry.atlas",
"data/terrains/texture.atlas");

Basically I am not sure what terrain.atlas refers to.... I assume geometry.atlas is the heightfield converted and texture.atlas is the texturemap converted as I have done already but I am not sure what terrain.atlas is....
#3
01/17/2008 (12:03 pm)
That's the name of the "output" file. It will be the completed Atlas terrain containing both the Geometry and Texture information.