Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: danielmn322 on 2018-03-03, 21:20:59

Title: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-03, 21:20:59
I've been using Corona for a while now and for some reason after doing a few test renders of a scene the GI calculation and the rendering starts to go slow, rays starts to go down really quick even tho there's not a lot going on in the scene or froze the computer while calculating or preparing the scene to start to calculate, any one knows why? I can't take a screenshot since PC is froze, happens n two PC's and I'm not using a lot of geometry it's just two low poly figures from Daz3d
Title: Re: Corona takes a long time rendering
Post by: Beanzvision on 2018-03-03, 22:09:28
Are you able to share the scene for others to test?
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-03, 23:57:02
It's a bit heavy cause of the textures so I'm uploading it to google drive, Btw this happens in a lot of scenes, I do test renders cause Interactive render it's a bit slow for me but after a few test renders it does that thing where it goes really slow

Scene file with tex: https://drive.google.com/file/d/18kA1ueqIaJlw23riFi5VAt9e2NJP3qjE/view?usp=sharing

Title: Re: Corona takes a long time rendering
Post by: Beanzvision on 2018-03-04, 10:42:24
Well for me it took about 30secs parsing before the render started. As for the slowness of the rendering I think that is due to the SSS you have in your materials. For this render I did 5 passes for around 1:30min. 
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-04, 19:16:59
Ohhh wow SSS looks different from the ones I've made before, looks like a candle even tho I followed the tutorial that Coronas website has, any way to explain to me how to set up a better SSS?
Title: Re: Corona takes a long time rendering
Post by: Eddoron on 2018-03-04, 20:15:17
If you followed the old tutorial, that means you've been using the volumetric method. The newer versions of Corona have a dedicated SSS mode in the volumetrics tab. You just have to chose that.
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-04, 20:57:31
I Used the SSS Mode I even still remember settings: this is the one I followed https://corona-renderer.com/stuff/helpdesk/sss/sss-skin-mat.png and came from this page: https://coronarenderer.freshdesk.com/support/solutions/articles/12000039649-what-are-the-two-available-sss-modes-
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-04, 21:12:11
This is the SSS set up I have
Title: Re: Corona takes a long time rendering
Post by: Beanzvision on 2018-03-04, 21:13:13
Ohhh wow SSS looks different from the ones I've made before, looks like a candle even tho I followed the tutorial that Coronas website has, any way to explain to me how to set up a better SSS?

I didn't change any of your settings, I just hit render. ;)
For better SSS keep an eye on the distance scale, if your model/scene is to scale, using real world settings (distance) would be ideal.
Title: Re: Corona takes a long time rendering
Post by: Eddoron on 2018-03-04, 22:42:13
Now I downloaded it too. SSS is scale dependent.
Yes, you really have to keep the scales either realistic or proportional to the objects. the legs are barely a cm long.
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-05, 22:43:32
Guys Thank you, I did a fresh windows install to see if it is that, I'm gonna play with the SSS 'cause I didn't know that I knew about volumes, if I make the figures bigger it will take a lot of RAM
Title: Re: Corona takes a long time rendering
Post by: Eddoron on 2018-03-05, 23:28:49
Making the objects bigger doesn't take more ram.
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-06, 01:21:11
Not sure why but it doing it with this PC, I made them bigger and it started to slow down the viewport and I have to add grass to it
Title: Re: Corona takes a long time rendering
Post by: Eddoron on 2018-03-06, 01:26:32
The only thing I can imagine is that it's already slow and when scaling up, it seems to be slow.

And why do you have to add grass?
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-06, 01:55:54
I don't know I have 8GB of ram just like the other pc and on this one everything seems to go slow even tho is a new pc, even the video card is the same size when I play videos on youtube it starts to get slow which is weird, the grass is to give it more depth to the scene seems way too simple
Title: Re: Corona takes a long time rendering
Post by: Eddoron on 2018-03-06, 02:31:18
Ok, I assumed you needed the grass because of the rescaling.

You should check your PC, there's definitely something wrong when even YouTube videos slow it down.
My intuition says that there's something with the GPU. It's used for the viewport and also for decoding the videos on YT.
Do you use software to control clock speeds or something else concerning hardware? Wrong settings may induce such a behavior.
It's hard to pinpoint the problem, so I'd check everything, from drivers to unnecessary software, the autostart and for malware, clean up temps, etc. The whole package.

Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 06:46:46
Well I did a fresh Windows install not saving files which means is clean so I left the scene and made another one completely different objects and everything, I did a few renders to check lighting and C4D had a problem and crashed I noticed in RAM the committed size increases a lot and continues to grow every time I hit render and after the crash that memory was still in the cache and pagefile like 11 gb, I was getting a really slow GI cache after the crash and rendering too I was like 15 hours with 9 hours of GI and the rest rendering time, so I figure to clean Rams cache and it started to go faster once I clicked render again, like something is wrong with the way Corona saves memory and if c4d crashes it wont clean it after making everything slow, now I had to cancel the render and re started and GI took half hour but now rendering its been for 6 hours and only making like 50 % of the first pass rendering when at the beginning I was getting pretty fast test renders of the same quality and dimensions, so Idk whats happening but it isnt the first time that happens and I start to get slow renders after knowing I wasnt
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 06:50:28
how the rendering is going
Title: Re: Corona takes a long time rendering
Post by: Beanzvision on 2018-03-09, 07:47:33
If you want to upload the new file I can have another look, your original scene rendered okay for me on my crappy PC ;)
Title: Re: Corona takes a long time rendering
Post by: romullus on 2018-03-09, 09:56:35
how the rendering is going
Your rays/s is extremelly low. Usually that indicates that your scene has some serious issues. There's no point to wait for 6 hours, because render won't speed up by itself unless you will fix those issues. As a rule of thumb, on a decent CPU in a normal scene, rays/s should be in a range of millions. If it falls bellow 500-800K rays/s, it is better to stop rendering and investigate a scene for problems.
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 13:07:35
Well I'm not sure what's happening, I can upload the scene in a while cause I found some kinda fix, I did a tile camera and it started to speed up a lot like each frame is now in 1 hour each and lower the resolution it was in 1500x1500 px and now 700 px, for some reason changing that help a lot
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 14:11:31
how the rendering is going
Your rays/s is extremelly low. Usually that indicates that your scene has some serious issues. There's no point to wait for 6 hours, because render won't speed up by itself unless you will fix those issues. As a rule of thumb, on a decent CPU in a normal scene, rays/s should be in a range of millions. If it falls bellow 500-800K rays/s, it is better to stop rendering and investigate a scene for problems.

See this is why I find it weird cause I always create scene test it and if lighting seems weird or an element I change it and then re render but I find it weird that after a few renders does this or when Cinema crashes like this behavior isn't new to me cause I've seen it on my old PC then that PC stopped working and I started using this one and same thing happens, I have noticed how Corona does things now the rays usually runs about 50.000 to 230.000 and once the first pass is done starts to slow down a bit but not this much, well the fix now is starting not to work I was going fast with the GI and a few min after making screenshot it started to slow down
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 14:36:35
Here's the scene: https://drive.google.com/open?id=1h5QeZXwOHtKofOwJchYHmV1KZNbuqKzD

Now I re started the render with a lower resolution and it started to work a bit normal but its not going as fast a before but at least is doing it I guess
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 14:47:42
I Created a new scene project with the same thing just copy pasted the objects and now its going fast again
Title: Re: Corona takes a long time rendering
Post by: Beanzvision on 2018-03-09, 15:27:10
Looking at your scene again and I think you could improve a few things. Firstly your scale is very small. On the example I've attached, the square (a default cube primitive) is 2m squared, and as you can see from your scene in the circle it's extremely small. This will also affect your SSS that you have applied to your characters skin. Another thing would be to add a portal material on the outer frame of your window. This will help Corona deal with incoming light, reduce noise and subsequently reduce render times. To what point though I couldn't say. 
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 16:01:00
Ok I'm gonna try later cause rendering is now fast again so I'm gonna take advantage of it, second I don't understand how to or what to put in the portal material or what to do with it, still makes me curious about how the render does the slowing down after a few renders cause now its working again
Title: Re: Corona takes a long time rendering
Post by: romullus on 2018-03-09, 16:17:33
Sorry, but that's not fast at all. At post stamp resolution, estimated time is more than a 5 hours, that means that 1500 x 1500 it would take a day to finish rendering. What's your CPU?
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 16:24:43
Not sure, it's been doing this, so I don't know what it is, so I made the scene bigger now I'm confused about what to do with the material portal
Title: Re: Corona takes a long time rendering
Post by: Beanzvision on 2018-03-09, 16:29:30
Yeah I also suspect the PC might be the culprit.
Title: Re: Corona takes a long time rendering
Post by: Beanzvision on 2018-03-09, 16:31:24
If you wish to know more about the Portal Material, please see this link. ;)
https://help.c4d.corona-renderer.com/support/solutions/articles/12000042132-how-to-use-the-portal-material-in-corona-renderer-for-cinema-4d-
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 16:38:35
Thank you, thought was the scene but now I don't know just know that it's not doing what is supposed to I guess, I have nothing installed like things to make pc faster nor anything like that just cinema, daz 3d, itunes and chrome, windows isn't a pirate version I don't think virus, I search for those same articles and still no idea on how to apply it, sorry but this one seems a bit complicated since never use it
Title: Re: Corona takes a long time rendering
Post by: Beanzvision on 2018-03-09, 17:10:12
You could always try our benchmark file to see how your computer stacks up. It's all set up you just need to hit render, at the end of rendering you will get your results.
https://corona-renderer.com/benchmark

Secondly, portals are very easy to set up, think of them as invisible glass but not to replace glass. You'll need that too! ;p
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 22:34:43
I Did the material portal still was a bit slow and the scene and window got darker a bit, now I'm waiting for the benchmark to finish but I gave up on the scene I'm gonna try to make another or try without SSS
Benchmark so far:
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-09, 23:01:59
Benchmark results
Title: Re: Corona takes a long time rendering
Post by: PROH on 2018-03-09, 23:58:33
What? 1 hour and 49 minutes? You're having a serious problem with your PC!

It's either to "small" or there's something wrong with it. Have you search the benchmark result for similar CPUs?

Edit: Checked the benchmarks, and there's one user with a similar result with N2840 CPU and 4Gb RAM. Do you also have 4Gb RAM?
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-10, 00:05:33
Well I don't know, is a toshiba which usually means shit pc but again e other one was an acer with a similar processor and same ram 8 gb and it was kinda the same speed doing rendering, I did the C4D benchmark and it was a low score I think don't remember but that one didn't took this long, took like 15 min doing the rendering test, I'm thinking drivers, what you mean by small?
Title: Re: Corona takes a long time rendering
Post by: PROH on 2018-03-10, 00:15:48
Hi. Edited my post while you wrote.

By "small" I mean slow CPU and low amount of RAM. As I wrote in my edit, there's a similar result with 4Gb RAM, but there's also another with 8Gb that is about 45 minutes faster.
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-10, 00:20:51
I don't know like I said 8 gb cause I changed the RAM, it did came with 4 gb with the first scene was doing the same in both pc's and the first one was a simple scene 2 daz figures and a small plane floor
Title: Re: Corona takes a long time rendering
Post by: PROH on 2018-03-10, 00:33:55
A link to Corona benchmarks:
https://corona-renderer.com/benchmark/548

Out of more than 16400 results, you'll find the results for similar CPUs amongst the 7 slowest. So no matter if you got 4 or 8 GB RAM it'll be really slow to render.

Good luck
Title: Re: Corona takes a long time rendering
Post by: romullus on 2018-03-10, 10:36:27
I would say forget about rendering with that laptop. Don't torture your PC and, what's more important, yourself. Life is short, don't waste it in front of crapy computer, waiting for hours for renders that could and should take no more than a few minutes. Get yourself at least semi decent PC. If you can't afford it now, then better wait for when you will be able to do so and do something else in your life for now. Any PC that takes to complete Corona benchmark in over 10 minutes, should be considered not suitable for rendering. Your time is too precious! Don't waste it!!!

edit: @PROH, OP's CPU is Celeron N2820, there's not even single entry of such CPU in the benchmark. I guess there's not enough crazy people to even try render on that CPU :]
Title: Re: Corona takes a long time rendering
Post by: PROH on 2018-03-10, 11:14:40
Yes, I know it's N2820 and that benchmarks are from N2840. That's why I wrote "similar" and not "same". Maybe that's wrong wording, but I think it's the best benchmark-match possible without result from exact same CPU-model :)
Title: Re: Corona takes a long time rendering
Post by: romullus on 2018-03-10, 11:38:39
Sorry, i wasn't nitpicking, i just got impression that you didn't notice what is exact CPU model and just want to point it out. That's it, nothing more :]
Title: Re: Corona takes a long time rendering
Post by: PROH on 2018-03-10, 11:43:01
No problem :)

Forgot to say that I totally agree with your advise to OP: Don't waste your life in this way :)
Title: Re: Corona takes a long time rendering
Post by: danielmn322 on 2018-03-11, 01:34:24
Well thank you for the input, either way I can't afford a new pc with better qualities but I did find a solution for the issue, pc is rendering fast again, even faster than what I was getting before or even the benchmark thing, seems like windows saves a lot of crap on the pagefile of the system which is the virtual memory and when c4d crashes or corona everything that it was rendering stays there and won't clear up, I was seeing something was wrong cache wise and I dig over the internet and found that f you make the pc to clear up the pagefile things goes back to normal cause there's no crap resting endlessly in that cache file anymore