Game Development Community

Importing/exporting terrain from one level to another

by Ken Banks · in Torque 3D Professional · 01/05/2010 (2:51 pm) · 1 replies

Good afternoon all!

I need to combine terrain from one level (terrain created with L3DT) with Prefabs, TSStatic and Collada objects from another. I'm stuck. I've searched the existing forum threads and online help to no avail.

Question 1: Is it possible to merge/export objects/terrains from one level to another?

Question 2: What is the best means to do so?

My efforts thus far have focused on creating a blank TerrainBlock in the level with the Prefabs, TSStatic and Collada objects and pointing the new terrain's terrainFile attribute to the correct .ter object. This tactic partially worked; the terrain came into the level but it was off-scale (the vertical scale was greatly exaggerated) and without textures.

Any thoughts?

Thanks,
Ken


#1
01/05/2010 (3:09 pm)
Ah-ha! A little more experimentation and I stumbled upon the obvious answer....make sure you point the terrainFile to the correct .ter file!

Kudos to the L3DT folks...once terrain is created and exported to Torque3D per their published instructions, the terrain comes in with minimal fuss. Topography scale and texture mapping all appear to be correct. World lighting is running a bit hot but I think that can be tweaked without too much trouble.

Placing the new terrain is not intuitive but it's relatively simple to manually adjust the XYZ position to fit in with my placed Prefabs, TSStatic and Collada objects.

Hope my thoughts assist someone else someday...

Cheers,
Ken