Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: apjasko on 2016-08-23, 14:14:23

Title: Slow GI Precomp and Even Slower Initial Pass
Post by: apjasko on 2016-08-23, 14:14:23
Hello,

I'm currently trying to render a dusk, exterior scene. I'm experiencing extremely slow precomp and render pass times. This is very strange because prior to trying to render for production, I was able to render the same file, at any resolution, rather quickly. I restarted my computer to prevent a restart overnight due to updates, installed whatever Windows updates were available, and now I'm unable to render my file.

I'm currently using Windows 7 Professional, 3DS MAX 2014, and the Aug.19.2016 Daily Build of Corona. Attached is a screenshot of my stats from the VFB. My machine is running 2x Xeon e5-2680 v2 processors, 64GB RAM, and a Quadro K5000.

The only thing I could think of that could be the culprit is my multiple ForestPack objects. However, this scene was rendering perfectly fine prior to restarting. Even with an interactive viewport to correct lighting values (scene originally created for V-Ray 3.3). I tried running the same build of Corona in MAX 2015 but still with no luck. Tried PT/UHD and PT/PT, no improvement. No errors from Corona. i'm going to try running the 1.4 build once my IT guy gets in this morning (damn work computers and locked up privileges). Maybe that will help the issue?

I can provide more information if someone can direct me how.
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: Ondra on 2016-08-23, 14:19:58
what is the CPU utilization? Any 3dsmax photometric lights in the scene?
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: apjasko on 2016-08-23, 14:22:06
Do you mean the load on my CPU's while rendering? During the precomp phase, it bounces between 8%-20%. I cancelled the rendering before checking the task manager. And yes, there's 6 photometric lights using CoronaShadows.
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: Ondra on 2016-08-23, 14:32:55
ok, try removing those, they sometime make rendering really slow with many-core CPUs
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: apjasko on 2016-08-23, 14:36:44
I'll try that. But again, this problem wasn't happening before restarting. Everything worked great following a scene conversion. Closing and reopening the file started the issue. Will report back shortly.
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: Ondra on 2016-08-23, 14:49:26
Well, that is 3dsmax for you ;) There is really high chance this is the cause of the problem and removing the lights will help
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: apjasko on 2016-08-23, 14:58:49
Interesting. Turning off the photometric lights did the trick, but also my CPU load seemed capped around 20% with these lights on (typically hovering around 9-10% though) and with them turned off the load will hover around the same 10% range but would spike over 50% load. I'm guessing this is the issue you were referring to about the photometric lights + many CPU issue? Anyway, the precomp is back down to a reasonable and familiar minute and a half. Thank you so much for the help!
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: apjasko on 2016-08-23, 15:48:02
I have done more testing with photometric lights off and wow, I can't thank you enough. My gi precomp is down to 28 seconds! I'm very new to Corona (switched just this weekend from V-Ray) and am so impressed with the product thus far. You guys have done such an amazing job and I look forward to seeing how far it goes.
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: maru on 2016-08-23, 17:22:23
Ondra, maybe there should be a warning when native max lights are detected?
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: Ondra on 2016-08-23, 17:25:10
maybe, if we determine when exactly they start acting this way. Just putting blanket warning on all uses could make users start ignoring warnings
Title: Re: Slow GI Precomp and Even Slower Initial Pass
Post by: apjasko on 2016-08-23, 18:54:32
If it helps, I was using 13 photometric lights and getting this behavior.