Terrain extraction to other applications
Hi,
Is it possible to extract a selected part of a terrain and export it as a 3ds or obj file?
Yep. Search the forum here for instructions.
Instructions for exporting non-camera dependent geometry to LWO:
1: If your terrain is entirely heightfield-based, skip to step 4.
2: If your terrain is entirely or partially procedural, create a new Heightfield Generate, then plug your terrain network into its Shader input.
3: Set the "Size in meters" to the size of the area you want to cover, set the resolution just above that to the maximum you will need (it's measured in pixels, but will essentially translate into geometry density), then position it in the location you want to export (you should see it shown in the 3D preview as a white rectangle).
4: With the Heightfield Generate node selected in your node list (in the Terrain Layout) add a Heightfield Export LWO (from the Add Operator menu below the node list)
5: Set the path in the Heightfield Export LWO node using the disk icon on the right.
6: Click the Export to File button.
It will export 1 or more LWO files, tiled and adjacent if the resolution exceeds what can be stored in a single LWO.
You can reduce resolution if needed by reducing pixel resolution in the Heightfield Generate node.
Remember also to limit the area of export (the size of the heightfield) to only the area you need exported.
- Oshyan
Since we're making this easy, I'll add the following alternate method:
The original Terragen is very useful when working with TG2. Install it plus the add-on SOPack. Follow Oshyan's steps 1, 2 and 3, but instead of exporting to .lwo, export as .ter. Open that .ter in the original Terragen, and select the For Export Only option as .obj.