Export Scene (Terrain & Camera) is not working with Export or Micro Exporter

Started by Petz, December 29, 2020, 12:15:44 PM

Previous topic - Next topic

Petz

Is there any solution to export a Scene (Terrain & Camera) for use/import in C4D?
- Export FBX Scene only exports the Camera.
- Micro Exporter -> FBX is crashing on my Mac.
- Micro Exporter -> OBJ is generating some weird looking Mesh without any Camera.

Does anyone have a Workflow / Solution for this?

WAS

Id imagine you'd export your camera where you want it on the terrain and than export it as FBX. Then you export the terrain with a orthographic camera at 0,x,0 (rot -90 on x) with a defined microexporter distance you can use to regain correct scale in third party app. The camera exported should than fall in line with where it was in TG in a third party app at same scales.

If I am not mistaken (and I hope someone corrects me if I am), if you are at 0,5000,0 and have a distance of 10000 you should get a 20000x20000 area.

Kevin Kipper

Exporting project assets from Terragen has come up a few times on the forum, so here is a summary of some things to be aware of.

In Terragen 4 Professional, you can export cameras, lights and null objects via the File menu > Export FBX scene.  This option does not export terrain.

In Terragen 4 Professional, you can export terrain via the Micro Exporter feature found under the Renderer > Sequence/Output tab.  The Micro Exporter saves meshes in several file formats including FBX and OBJ.  The polygonal triangle mesh output of the terrain is identical between the FBX and OBJ formats.

We recommend that you set the "Maximum threads" setting to 1 for the render of the Micro Exporter.  You can find this setting on the Renderer > Advanced tab.  Also increase the "Max bucket size" to the same size of the image.  This setting can be found by clicking on the "Bucket controls" button on the same tab and avoids having to render overlaps at the bucket borders.

After the terrain has been saved as an FBX or OBJ you should process the mesh in a third party application, such as MeshLab, to merge any duplicate vertices.

Finally, here are the links to the online documentation for both these features:

Exporting a Terragen project as an FBX file: https://planetside.co.uk/wiki/index.php?title=FBX_Export:_Scene
Exporting a Terragen terrain via the Micro Exporter: https://planetside.co.uk/wiki/index.php?title=Micro_Exporter

digitalguru

Quote from: Kevin Kipper on December 30, 2020, 09:28:37 PMAfter the terrain has been saved as an FBX or OBJ you should process the mesh in a third party application, such as MeshLab, to merge any duplicate vertices.
Absolutely, also something like Meshlab will merge duplicate faces also, which are produced when multi-threading a render for the Micro Exporter, so if if you have this facility, you can use as many threads as you like.


Check out this post for more info:
https://planetside.co.uk/forums/index.php?msg=282953

Exporting to FBX does result in a smaller file size, but still has the attendant verts/faces duplicated, so still has to be fixed.