Planetside Software Forums

General => Terragen Discussion => Topic started by: ghoulgirl on January 22, 2014, 12:37:39 AM

Title: Export population with obj and micro exporter
Post by: ghoulgirl on January 22, 2014, 12:37:39 AM
Does the newest version have any improvements on this front?


Title: Re: Export population with obj and micro exporter
Post by: Oshyan on January 25, 2014, 10:53:45 PM
You can export the geometry of a population with the current version by disabling Raytrace Objects when using the micro exporter. The exporter *only* saves non-raytraced geometry, the terrain is rendered with a micropolygon renderer, by disabling Raytrace Objects you also cause the objects to be rendered this way and thus to be exported as geometry.

In the future we hope to also have ways of getting the actual population locations into an exportable format.

- Oshyan
Title: Export population with fbx scene
Post by: boubz1er on January 11, 2016, 10:50:33 PM
Hello there ,
Happy new year. I d like to know if in the current version terragen can export from population as fbx scene with as list of coordinate per instance?
Title: Re: Export population with obj and micro exporter
Post by: Oshyan on January 12, 2016, 01:35:08 PM
No, that functionality is not currently available.

- Oshyan
Title: Re: Export population with fbx scene
Post by: WAS on January 12, 2016, 02:58:18 PM
Quote from: boubz1er on January 11, 2016, 10:50:33 PM
Hello there ,
Happy new year. I d like to know if in the current version terragen can export from population as fbx scene with as list of coordinate per instance?

Closest I've come to predetermining populations positions is using a Image Map for the mask, and using a dot setup for placement of objects. It's not exact but you can at least get the objects back in relative position. Some seed changes and you can get it pretty close.

Just takes time messing with a image map (or painted shader; however it takes longer) until you have something nice to use.
Title: Re: Export population with obj and micro exporter
Post by: dorianvan on June 15, 2017, 11:30:54 AM
Is there a way to retrieve the population data (object, coordinates, size, variations, spacing, etc.), so I can write a script in max to bring in the population using the same data?
Title: Re: Export population with obj and micro exporter
Post by: cyphyr on June 15, 2017, 02:59:28 PM
Maybe ...
If you save an obj cache you can open it in a text editor. Try a ting 10m x 10m pop first with maybe only 5 - 10 instances. It's gobldy gook but readable so there might be something a genius mind could use.
Title: Re: Export population with obj and micro exporter
Post by: Oshyan on June 15, 2017, 06:34:11 PM
There is no officially supported way to do this at present. It's something we're considering for the future though.

- Oshyan
Title: Re: Export population with obj and micro exporter
Post by: dorianvan on June 15, 2017, 07:04:38 PM
Thanks Oshyan, sounds like there's a way though. It would be helpful for better shadow making in Vray or rendering trees/objects perhaps. Does TG allow for scripting? Someone asked, just curious.
Title: Re: Export population with obj and micro exporter
Post by: Oshyan on June 15, 2017, 07:08:18 PM
There is no direct scripting function at this point. We have an SDK in beta, but it's limited to creating custom nodes and functions, it doesn't really work like scripting. The best thing you can do right now is programatically create and/or modify TGD files, which are pretty easy to understand and manipulate.

- Oshyan