View Full Version : Is Transparency Rendering Slow in C4D?
rickmorgan 02-01-2008, 08:35 PM I'm coming from LightWave and loving C4D. I have a C4D scene, no GI, 3 area lights (it's actually the "Product Stage Warm" light scene that comes with the program and I added in my own, single object. With basic surfaces on my object it renders in 22 seconds. But the minute I add a transparent glass surface to a part of the object it jumps way up to 6+ minutes. I tried playing with, turning on and off the reflections, fresnal, refraction, etc. but it all seams to be the transparency itself.
I do realize there are many more calculations needed to render transparency but is it common for the render times to go up that high?
I'm getting pretty nervous because I am moving from LW to C4D and I mainly do medical device work with LOTS of semi-transparent plastics, hoses, bottles, syringes, fluids, etc. and it never took that long to render in LW. In LW I was able to turn off raytrace refraction, reflection, etc. which brought render times down.
Is there some common ways to optomize in C4D for rendering transparent / semi-transparent objects? These are for animations and not static images.
Thanks!
|
|
Per-Anders
02-01-2008, 08:59 PM
Cinema uses a hybrid render engine. It's worth remembering that C4D materials are somewhat more intelligent that LW ones and as such do not require you to make an air layer around anything transparent. If you simply set the IOR to 1.0 in the transparency channel you will be looking at a scanline transparency which will render faster, also turn off fresnel (unles you want additional reflections). You should also think about reducing your raydepth, in the render settings to optimize scenes involving transparency.
LucentDreams
02-02-2008, 02:35 AM
3 areas lights yous ay, are there three area shadows too? area shadows with transparency can be very slow.
RenderTITAN
02-02-2008, 08:32 AM
In my experience, transparencies add just to much to the render times. Of course if you are doing only a still or small animation, it can be bearable, but the bigger the project, the more you really should be looking for other techniques to optimize your render times. It is always a battle between time spent optimizing verses time rendering.
M
vid2k2
02-02-2008, 04:44 PM
As you'll find out, the defaults are at times overkill.
As mentioned the render settings can be reduced from 15-5-15
to 6-5-6 or in the samples below 8-8-8
I used the same same stage but removed the backdrop and replaced that
with a background with the #1 gradient, adjusted
I used the same 3 lights
- area-area @80
- area-soft shadows @50
- area-soft shadows @25
Render times with Best jpg @ 72 dpi:
image 1= 0:30
image 2= 1:06
Try to stay away from the SLA shaders as they increase render time and
can be easily built
Hope this helps
rickmorgan
02-02-2008, 07:51 PM
Thanks everyone for your help! I found out that rendering with the refractions option turned on in the render settings is the main culprit. If I turned that off the render times went WAY down. But still averaging roughly 3 minutes. And then if I have the reflections option turned on to reflect only the floor and sky that drops it down some more. Then I just add in a HDRI image to the sky to get nice reflections on my surface.
This is basically what I did in LightWave - turned off raytrace for reflection and refraction and put in an image invironment for realistic looking reflections.
Thanks again everyone. Now I will play with the area light and render depth settings you all suggested.
rickmorgan
02-02-2008, 07:52 PM
Thanks vid2k2! That is very helpful. I will play with those settings to see what I get.
LucentDreams
02-02-2008, 08:23 PM
instead of "reflecting" the HDR you can put in the environment channel then you have no need for reflections.
rickmorgan
02-02-2008, 08:32 PM
That's an interesting idea LucentDreams. A few weeks ago I posted a question asking if people typically (for reflection images) put an image in the environment chanel of a material or in a sky or environment. The consensus was to put it in the sky so all your objects would reflect the same thing without having to put an image into each and every material. BUT, if it saves on render times it's worth putting it into every material.
I'm going to give it a try. I curious to see if it renders in less time and if the reflections are different than from a sky.
Thanks!
rickmorgan
02-02-2008, 11:45 PM
Funny, the reflection in the sky vs. the reflection in the environment chanel made only a 1 second difference. And I made sure when I did the reflection in the material chanel render I selected "none" in the reflection option in the render settings. Maybe sky reflections and environment reflections are treated the same in the renderer???
LucentDreams
02-03-2008, 03:47 AM
well if you only reflecting sky and floor then it is almost the same, the advantage of environment is that it has a special Exclusion option This makes it so all object while not reflecting still block out the sky. As well if you have one thing where reflections are crucial you can turn on reflection without worrying about those render settings.
georgedrakakis
02-06-2008, 06:27 PM
this is a nice tutorial covering realistic glasses:
http://planetpixelemporium.com/tutorialpages/glass.html
rickmorgan
02-06-2008, 07:27 PM
Thanks georgedrakakis, I did go through that tutorial. I'm getting close!
CGTalk Moderation
02-06-2008, 07:27 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.