Planetside Software Forums

General => Terragen Discussion => Topic started by: EdBardet on January 18, 2014, 12:33:14 PM

Title: Sequencing of render - Foreground vs background
Post by: EdBardet on January 18, 2014, 12:33:14 PM
I was watching a render that had a close-up object and a far background. TG rendered the background first and then the foreground, thereby covering up the original render.

Is there a way to get TG to render from front to back and ignore the background when it is covered? That would save a tremendous amount of time.
Thanx,
Ed
Title: Re: Sequencing of render - Foreground vs background
Post by: Oshyan on January 19, 2014, 12:06:46 AM
See previous discussion here:
http://www.planetside.co.uk/forums/index.php/topic,16440.msg161033.html#msg161033
http://www.planetside.co.uk/forums/index.php/topic,6536

- Oshyan
Title: Re: Sequencing of render - Foreground vs background
Post by: EdBardet on January 19, 2014, 10:34:40 AM
I improved the time by close to 50% by turning raytrace off. I'll look into the sequence numbering.
Thanx,
Ed
Title: Re: Sequencing of render - Foreground vs background
Post by: Oshyan on January 19, 2014, 07:13:12 PM
Turning Raytrace *what* off? Objects? Atmosphere?

- Oshyan
Title: Re: Sequencing of render - Foreground vs background
Post by: EdBardet on January 19, 2014, 08:07:32 PM
In the renderer I cleared both the 'ray trace objects' and 'motion blur' default checkmarks. I didn't touch any other settings.
Ed
Title: Re: Sequencing of render - Foreground vs background
Post by: Oshyan on January 19, 2014, 08:18:50 PM
Was there any motion blur in your scene to begin with? Due to reasons Matt explained in another thread, it's possible for Raytrace Objects to be slower with certain atmosphere settings, however normally it should be both faster *and* higher quality, which is why I ask. This thread might explain why it was slower:
http://www.planetside.co.uk/forums/index.php/topic,17536.msg170421.html#msg170421

- Oshyan
Title: Re: Sequencing of render - Foreground vs background
Post by: Matt on January 19, 2014, 09:00:00 PM
Oshyan, probably because of the overdraw issue which you linked to earlier. Ray traced objects are rendered in a separate pass. But if you turn ray traced objects OFF, foreground objects can inform the renderer which parts of the background are hidden. Whether this helps overall render time is quite dependent on the scene.

Matt