Planetside Software Forums

General => Terragen Discussion => Topic started by: Ashley on August 13, 2015, 12:46:30 PM

Title: Camera Array for tiled geometry export
Post by: Ashley on August 13, 2015, 12:46:30 PM
Hi,

I want to setup a camera array to export geometry from.
For those that use World Machine, I am trying to setup a similar system to "Tiles to output".

So far I am manually creating a camera moving it into position, then duplicating and moving it over in order to get my tiles.
I am trying to achieve an array of 9 cameras positioned above my terrain, which are pointed down, in a grid formation.

I realize I can simply import such a camera setup but Is there an automated way in TG to do this?
Or does TG have another method for doing this?

Thnx
Ash
Title: Re: Camera Array for tiled geometry export
Post by: Oshyan on August 14, 2015, 05:51:34 PM
Do you need your export to be in tiles? If so, then what you're describing is probably the best way in Terragen. You would setup 1 camera with the right settings (high altitude, orthographic camera, 90 degrees pointed downward), attached to a renderer that also had the right settings (micro exporter), then copy that set of nodes 8 times and just change the camera coordinates and voila. (I think)

Another option would be to export a large TER heightfield and import into World Machine or another tile-capable terrain editor then export your tiles.

- Oshyan
Title: Re: Camera Array for tiled geometry export
Post by: Ashley on August 16, 2015, 01:31:29 AM
Thanks for your reply Oshyan.
I prefer TG for exporting meshes over WM, but its an interesting suggestion.

I was thinking, instead of individual cameras, say I animated a single camera moving across the terrain and plugged it into the micro exporter.
Is it possible to set it to export a mesh every frame? or set which frames?

I'm interested in any 'batch' or 'automated' processes.

Thnx
Title: Re: Camera Array for tiled geometry export
Post by: Oshyan on August 16, 2015, 03:54:01 PM
Yes, you could animate the camera as well. The problem is I don't know if you could specify a different file name for the micro exporter for each frame. You could *try* using the same sequence output format specified with images, e.g. %04d

- Oshyan
Title: Re: Camera Array for tiled geometry export
Post by: Ashley on August 16, 2015, 05:27:56 PM
Quote from: Oshyan on August 16, 2015, 03:54:01 PM
Yes, you could animate the camera as well. The problem is I don't know if you could specify a different file name for the micro exporter for each frame. You could *try* using the same sequence output format specified with images, e.g. %04d

- Oshyan


That worked perfectly!
Thank you :-)
Title: Re: Camera Array for tiled geometry export
Post by: Oshyan on August 16, 2015, 07:18:58 PM
Glad to hear it. :)

- Oshyan