Terragen 2 GI - cache

Started by trojanGoat, June 26, 2012, 02:58:40 PM

Previous topic - Next topic

trojanGoat

Hey All,

I'm currently rendering some clouds and was experiencing some flickering issues.  I read through the planet side wiki about caching the GI to reduce the flickering and save on render time.

http://www.planetside.co.uk/wiki/index.php?title=Terragen_2_Global_Illumination

I'm trying to understand the finer details involved with caching GI for the clouds.  It appears like the quality and file size of the GI cached files are controlled with the quality settings of the render node.

What I'm trying to figure out is... If I run my test renders at half res and cache GI at half res, will I be able to use those same GI cached files for the full-res render.  Are the GI cached files controlled by the resolution of the render node?

Thanks for the help!


cyphyr

The short answer is "yes you can". Low res GI can work for higher res output. However the detail and subtle lighting may become lost (or diminished) due to the GI being spread thinly. In a cloud based scene I would imagine this would be unnoticeable. It can work, try a short anim and see what you feel about the result.
As a default I render the GI cache at every 10th frame and then use the default settings for animation (interpolate, 5)
Hope this helps
Cheers
Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

trojanGoat

Thanks I'll try that out and get back with some results.

rcallicotte

Thanks for explaining, Richard.
So this is Disney World.  Can we live here?

Oshyan

Cache file size and detail is controlled by a combination of the "GI Relative Detail" setting and the main render Detail setting (Sample Quality has an effect too, but does not tend to significantly increase the cache file size). As Richard said, you can use a GI cache file generated at a resolution other than what you're rendering at (though doing so with a different aspect ratio is not advised). The effect of using a lower resolution cache file is similar to just reducing Relative Detail.

Generally the best way to get flicker-free results, at any detail level, is to use a "sparse cache", as Richard also mentions, e.g. rendering a cache file for every 5th (or 10th, in his case, although this would probably be too big a jump for faster moving scenes), and then blending between 3-5 cache files. This is better than a cache file on every frame in general as it creates more averaged results, but tends to maintain the level of detail of your base GI settings still. So essentially, adjust Relative Detail *or* use a lower resolution cache file to control detail vs. render time and quality, whereas use sparse cache and adjust frame blend range (more frames blended = smoother result) to get less flicker.

- Oshyan

trojanGoat

Looks like it works! thanks for the advice!

GI cache was set to cache every 5 frames and is set to blend 5 cached frames, takes a little while to read the files though - about 15-20 minutes.