PDA

View Full Version : extreme render times (and growing)


Arjen
09-13-2007, 07:11 AM
I have a scene file which is not extremely complicated. There are three objects. It has Global Illumination enabled, there is one light and a couple of planes to illuminate the scene.
The first time I rendered the scene it took about 10 to 15 minutes per frame (PAL resolution).
I tweaked a bit here and there, mainly the movement of the camera, but nothing that would make the rendering more difficult.
Now the rendering took two hours per frame. I had to show my client something so I turned off GI, added an ambient light for illumination and it still took 15 minutes per frame. Then I turned on GI again removed the ambient light to render a frame or two just to show the client what it will look like after the final render. Now it takes a whopping 4 1/2 hours to render a single frame...
What is happening here? My render settings are as low as acceptable (stochastic with 30% accuracy and 16 samples).
The scene file including all the textures can be found at http://cinema@80.126.98.80 password: maxon. It's 12 Mb zipped and my upload is only 50k/s so be patient...
enclosed is one of the images that took 4 hours to render.

georgedrakakis
09-13-2007, 07:58 AM
hi,
no files to download yet, but i was wondering, what diffuse depth did you use? maybe it's too high?

georgedrakakis
09-13-2007, 08:02 AM
hi,
no files to download yet, but i was wondering, what diffuse depth did you use? maybe it's too high?

ps: superb image + setup :thumbsup:

Arjen
09-13-2007, 09:52 AM
Diffuse Depth is set to 1.
I have just watched (part of) an image rendering. (I was rendering in NET before so I could not see anything happening). The middle part of the candy renders fast enough. I can see one of the four processors render this part in seconds. It's the transparant 'wings' on both sides that go a lot slower. The knots, the part where the wrapper is twisted around itself, are the killing part. In the last 15 minutes the renderline that goes through the knot did not move.
These knots were already there the first time I rendered and it took 15 minutes for the whole frame...
BTW thanks for the thumsup. The picture is a composite, I only render the candy with alpha in C4D, the background and focal blur is added in post.


hi,
no files to download yet, but i was wondering, what diffuse depth did you use? maybe it's too high?

ps: superb image + setup :thumbsup:

mogh
09-13-2007, 10:34 AM
i managed to loginbut there is no file ... and i realy like to have a look at it ...

perhaps disapble GI for the transparent material .. ?

cu mogh

Arjen
09-13-2007, 11:18 AM
Yes, just creating an ftp accountis not enough, one has to put something in there... Which I just did, it is a .zip file containing the project. At this moment another large file is being transfered over the same slow line so it will take even longer to download. Really appreciate anyone trying anyway though.

Disabling the GI for the transparant material is worth trying, thanks. I'll let you know what happens.


i managed to loginbut there is no file ... and i realy like to have a look at it ...

perhaps disapble GI for the transparent material .. ?

cu mogh

basilisk
09-13-2007, 12:17 PM
Do you have the refractive index of your material set to more than 1? Transparency seems to slow down a lot when refraction kicks in. Alternatively try turning off refraction in the transparency render settings and see if that affects the render times. If there is any refraction I don't think it is adding a lot to the quality of the image.

vesalus
09-13-2007, 12:28 PM
we need the login and password to connect to ftp://80.126.98.80/

i can have a look at your file today

edit:

ok so your adress is ftp://80.126.98.80/
the login is cinema
the pasword is maxon

i'm currently downloading the file, will be back in a moment to give you an update about your file ;)

vesalus
09-13-2007, 02:21 PM
so, i'm checking your file, first of all, you probably know that animated gi solution tends to accumulate overtime rendering in C4d, slowing render overtime, secondly you used stochastic setting in the global illumination setting, i'm not sure that 'll speed things up

i turned the Gi settings to object animation
strenght 100%
accuracy 70%
prepass 1/1
diffuse depth 1
stochastic sample 150
min 16
max 32

i had tested a single frame render (frame 25) with those settings and it rendered in 3mn 39 versus the stochastic settings that rendered in 34 mn 36, the transparent part were the slower parts to render, those folds are ray trappers, i'll check also the ray depth actually at 15, that could be set at 8 but i dont think that' ll speed things that much... also you can turn those psd to flatten and uncompressed tiff ( if you dont use its layer) that 'll lower memory usage.

i removed the discplacement also just to check, the render fails to 1 mn 32, sure it s not as great as with the discplacement but if you motionblur later that probably wont be that spotable

my settings lacks a bit grain but you can still add some low AO or grain in post, and you didnt put motion blur neither ( maybe in post?)

Arjen
09-13-2007, 02:43 PM
Thanks for checking,

I did not know about accumulating render times when using GI, where can I find out more about that?
I use stachastic in the render settings because both camera and object animation give artefacts later in the animation (where the chocolate ball becomes visible) and in another part of the animation where a lot more objects are being animated. Stachastic is the only method that ensures the same look overall.
Motion blur as well as focus blur is added in post.

I managed to reduce render times, see my next post. (still waiting for a render to finish so i can put some conclusions in that post)

Tnx,

Arjen

so, i'm checking your file, first of all, you probably know that animated gi solution tends to accumulate overtime rendering in C4d, slowing render overtime, secondly you used stochastic setting in the global illumination setting, i'm not sure that 'll speed things up

i turned the Gi settings to object animation
strenght 100%
accuracy 70%
prepass 1/1
diffuse depth 1
stochastic sample 150
min 16
max 32

i had tested a single frame render (frame 25) with those settings and it rendered in 3mn 39 versus the stochastic settings that rendered in 34 mn 36, the transparent part were the slower parts to render, those folds are ray trappers, i'll check also the ray depth actually at 15, that could be set at 8 but i dont think that' ll speed things that much... also you can turn those psd to flatten and uncompressed tiff ( if you dont use its layer) that 'll lower memory usage.

i removed the discplacement also just to check, the render fails to 1 mn 32, sure it s not as great as with the discplacement but if you motionblur later that probably wont be that spotable

my settings lacks a bit grain but you can still add some low AO or grain in post, and you didnt put motion blur neither ( maybe in post?)

Simon Wicker
09-13-2007, 03:53 PM
stochastic render mode doesn't have any problems with animation so there will be no increasing render times with this method - the problems only come with the standard and camera animation version of GI (this saves sample data in an illumination cache and as time passes the saved cache takes longer and longer to search).

the thing to test out is whether your AA sampling is slowing things down and whether or not you can switch off GI for certain materials - highly transparent and highly reflective elements contribute zero to a GI solution but they increase render times enormously.

the other thing to remember is that when using scene motion blur your stochastic settings can be set to ridiculously low levels (like 4 or 5 samples) and the sub-frames take care of smoothing things out - you just have to remember to turn OFF identical noise distribution so you don't get moire.

cheers, simon w.

vesalus
09-13-2007, 07:16 PM
stochastic render mode doesn't have any problems with animation so there will be no increasing render times with this method - the problems only come with the standard and camera animation version of GI (this saves sample data in an illumination cache and as time passes the saved cache takes longer and longer to search)..

its noted, thanks for the info

Arjen
09-13-2007, 10:47 PM
Hi all,

I managed to reduce render times drasticaly. Using the tips given above and some small but relevant changes to the file I managed to go from several hours to a minimum of 4 minutes...

For those who downloaded the file:
First I put the two halves of the wrapper in on HN-cage in stead of one each. I than added a transparant material before the color material. I turned off transparancy in the color material and in stead added an alpha. Rendering with GI in the transparancy material off and refraction turned off in the render settings I was down to 4 minutes. But I did not really like the results so I tried versions with GI on/off and refraction on/off. Both on still give the best results, and 17 minutes per frame is acceptable for this 4 second part.

Have to go now, I'll put some results online after it's finished,

Tnx for now,

Arjen

CGTalk Moderation
09-13-2007, 10:47 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.