Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: cgbeast on 2020-01-28, 00:01:24

Title: Tips for creating fly through with moving objects
Post by: cgbeast on 2020-01-28, 00:01:24
Can someone direct me to a good tut showing how to efficiently ti calculate gi for moving objects in a Corona animation?  In vray, I just unchecked reuse irradiance map on my moving objects and GI would calculate on the fly for those objects only without a hit on render times.

Thanks,

V
Title: Re: Tips for creating fly through with moving objects
Post by: maru on 2020-01-28, 16:31:28
With moving objects/lights it is always best to use the "calculate from scratch" option for the UHD Cache. You can also try with "try to load+append", but it may sometimes fail by showing the GI of some object which isn't there any more.
I don't think much more can be said than what we already have here: https://coronarenderer.freshdesk.com/support/solutions/articles/5000515648
Title: Re: Tips for creating fly through with moving objects
Post by: davemahi on 2020-01-28, 17:08:08
Not that this matters, but when we switched to Corona we basically said at the studio we will only treat Corona using Path Tracing + Path Tracing and just pretend that Cache options just don't exists. I find that Corona is just fast enough that we dont look back. I hated dealing with animations and Cache in Vray, so when we came to Corona we just pretended like it was not there haha :)

Good luck on your project.

Dave
Title: Re: Tips for creating fly through with moving objects
Post by: maru on 2020-01-28, 17:12:13
when we came to Corona we just pretended like it was not there haha :)

If you use the "animation" preset of the UHD, you will get MUCH faster rendering of interiors, and there will be no flickering.
Title: Re: Tips for creating fly through with moving objects
Post by: cgbeast on 2020-01-28, 18:38:53
Thanks for the feedback.  Rendering camera only flythroughs are pretty fast.  I can get clean enough renders with only 10 passes.  I guess I'll use Vray for any animations that have moving objects since it seems it would be quicker to set up and render flicker free.
Title: Re: Tips for creating fly through with moving objects
Post by: davemahi on 2020-01-28, 19:27:40
I think you should try the animation preset of the UHD and see if that works for you before going to Vray for that. But let us know your results.
For us Render time is not as important as quality, so take what I say with a grain of salt.

Cheers,

Dave
Title: Re: Tips for creating fly through with moving objects
Post by: maru on 2020-01-29, 18:11:51
Thanks for the feedback.  Rendering camera only flythroughs are pretty fast.  I can get clean enough renders with only 10 passes.  I guess I'll use Vray for any animations that have moving objects since it seems it would be quicker to set up and render flicker free.
I am afraid 10 passes may not be enough in most cases. It will result in really bad anti-aliasing. I would say something close to 50 is a realistic number, and 100 is often the "ultimate limit". :)
Title: Re: Tips for creating fly through with moving objects
Post by: cgbeast on 2020-01-29, 18:24:43
So update...I went the precalculate route and used From File for the frames that had animated objects.  Here's the scene.  Camera is not moving, but ceiling fans are spinning and dof animated.  It worked great. No flickering.  I plan to run another camera tonight. This time the camera will be moving along a path while the fans are rotating.  Quick obvious question.  I have to recalculate UHD for each cam, correct?
Title: Re: Tips for creating fly through with moving objects
Post by: maru on 2020-01-30, 12:04:53
So update...I went the precalculate route and used From File for the frames that had animated objects.  Here's the scene.  Camera is not moving, but ceiling fans are spinning and dof animated.  It worked great. No flickering.
Obviously there will be no flickering when "from file" option is used, because the UHD Cache is static for all frames in such case. Just remember that if there is some heavy change in your scene, for example a huge red teapot appears on one frame, and disappears on another, then the UHD Cache will either contain information about that huge red teapot or not. So you can end up with a lot of red GI from a non-existent teapot. But it won't flicker. :)


Quick obvious question.  I have to recalculate UHD for each cam, correct?
Nope. The UHD Cache is just "partly" camera-dependent, and generally it is calculated for the whole scene. So you can use the same UHD Cache for all your cameras.

Generally, in your case, it really does sound like using the "Try to load + append" option is the way to go:
https://coronarenderer.freshdesk.com/support/solutions/articles/5000515648

Title: Re: Tips for creating fly through with moving objects
Post by: cgbeast on 2020-01-30, 19:35:20
Sweet.
Title: Re: Tips for creating fly through with moving objects
Post by: cgbeast on 2020-02-05, 19:11:18
So I noticed that if I don't precalculate per cam I get slower times.