Planetside Software Forums

General => Terragen Discussion => Topic started by: dorianvan on June 15, 2017, 11:59:32 AM

Title: Exporting Population Settings
Post by: dorianvan on June 15, 2017, 11:59:32 AM
If I want to export a population of only trees (using Rendering Layer to only render trees out), what TG settings, like uncheck raytrace objects, should I be using/not using? I just want the trees as object, don't care about materials. When I try, I get all of these zig-zaggy planes of geometry everywhere.
Thanks
Title: Re: Exporting Population Settings
Post by: cyphyr on June 15, 2017, 12:51:13 PM
You can't really export populations, at least not sensibly. Also even if you could think how huge the resulting file would. How ever many instances in your population multiplied by the size of the original object. This could easily run into terabytes even on a relatively modest population.
A better approach is to export a set of render layers (and create a separate shader setup to get an Object ID pass) and comp these into your final project.

Why do you need to export a population anyway?
Title: Re: Exporting Population Settings
Post by: dorianvan on June 15, 2017, 12:58:43 PM
Merely to throw a sun shadow onto people walking in 3dMax.
Title: Re: Exporting Population Settings
Post by: dorianvan on June 15, 2017, 04:59:15 PM
I was able to export my trees to the render layer by using a perspective camera, opposite as getting a terrain obj; orthographic freaked it out. The higher the detail (I did .6) the better, the lower the more choppy, ugly looking. Also dimensions seem to make a difference. The trees don't come in with materials or anything alpha'd, but totally solid. That's okay for my purpose as I'm only looking for a general shadow on people walking by. And I only needed a strip, not all the foliage so I changed the dimensions. Size was tolerable 158MB.
Title: Re: Exporting Population Settings
Post by: bobbystahr on June 15, 2017, 05:40:53 PM
cool solution
Title: Re: Exporting Population Settings
Post by: Oshyan on June 15, 2017, 06:38:17 PM
Yep, if you turn off Ray Trace Objects and render with a single thread at reasonably high detail, you can get out object/plant/tree geometry. It's not perfect, but it works for some cases, like this. Glad you figured it out and it worked for you. :)

- Oshyan
Title: Re: Exporting Population Settings
Post by: cyphyr on June 15, 2017, 06:42:24 PM
Quote from: dorianvan on June 15, 2017, 04:59:15 PM
I was able to export my trees to the render layer by using a perspective camera, opposite as getting a terrain obj; orthographic freaked it out. The higher the detail (I did .6) the better, the lower the more choppy, ugly looking. Also dimensions seem to make a difference. The trees don't come in with materials or anything alpha'd, but totally solid. That's okay for my purpose as I'm only looking for a general shadow on people walking by. And I only needed a strip, not all the foliage so I changed the dimensions. Size was tolerable 158MB.
Well colour me impressed :D
and now I understand what you meant by "throwing some shade" lol
well done