PDA

View Full Version : Shadow Flickering with Vray


beebop
05-19-2008, 04:44 PM
I'm new to vray and I just did an animation rendering and all the shadows are flicking. I'm wondering what is causing that and what I need to do with in the render settings to eliminate that problem.

Thanks

-Eric

beebop
05-22-2008, 12:12 AM
No one knows hows to eliminate the flickering of shadows using vray?

mister3d
05-22-2008, 12:50 AM
It's better to use vray shadows in vray, I don't know what you are using. Try this http://gnomonology.com/tutorial/62 .Sorry, tried explaining it, but it's too long-winded. But the concept is quite simple. You need more samples either in the lightsource shadow parameters or globally but also your image sampler must have a proper treshold to eliminate the noise. :surprised

beebop
05-22-2008, 07:37 PM
I'm using 2 target directional lights with vray shadows. And thanks i'll look into that tutorial.

beebop
05-23-2008, 04:33 AM
I watched the tutorial and it didn't really give me the answer I was looking for. So I uploaded a rendering of it on my website for people to view. The flickering is mostly on the ceiling and walls where there's no image based texture.

http://3dimensionalartist.com/HollyWoodHouse.mov

Thanks

mister3d
05-24-2008, 02:56 PM
I watched the tutorial and it didn't really give me the answer I was looking for. So I uploaded a rendering of it on my website for people to view. The flickering is mostly on the ceiling and walls where there's no image based texture.

http://3dimensionalartist.com/HollyWoodHouse.mov

Thanks

It's not your shadow flickers. When you encounter a problem, start isolating elements to see where the problem occurs. I usually add passes like raw gi, shadow so I can see where the problem is in passes. It is you irradiance map flickers now. For a better explanation try this: http://thegnomonworkshop.com/dvds/cni01.html If you have a fly-through animation without changing lights position and objects, you can use baked-in irradiance map+lightcache, so it is not animates and therefore notflickers. Your irradiance map must be set to incremental mode, now it calculates for every frame but the quality is not sufficient to give you a smooth result.
Here is how you can use the passes to see where the problem is:
http://img144.imageshack.us/img144/7417/passesze6.jpg (http://imageshack.us)
http://img144.imageshack.us/img144/7417/passesze6.21f7e3e083.jpg (http://g.imageshack.us/g.php?h=144&i=passesze6.jpg)

Go to render scene - render elements, then add - add raw shadow, raw gi(global illumination), diffuse filter(textures), raw reflection and specular. Then in your vrayframebuffer after renfering you can select the elements to view separately. The shadow pass is inverted, so don't worry why it is looks strange.

beebop
05-25-2008, 02:48 AM
I did a pre-pass saving the irridiance maps and then did a rendering pass using the maps and it turned out fairly good. Some random flickers on a comple objects witch is weird, but overall not too bad. You can view it here... http://3dimensionalartist.com/HollyWoodHouse.mov

mister3d, i'm now trying what you told me to do, so i'll post back as soon as it's done rendering.

Thanks

mister3d
05-25-2008, 03:05 PM
There's still some flicker, it may be lightcache has not enough subdividions. For this resolution you can try 600-800. Those are resolution-dependent. The more the resolution, the more you need subdivisions for lightcache. Or maybe it is bad compression of movie, but I doubt it. And use all vray materials with vray, no standard.

beebop
06-03-2008, 07:55 PM
I finally got to render out all those layers you suggested for me. I'm not quite sure what i'm looking for though.

mister3d
06-03-2008, 09:01 PM
You are looking for a problem. If your raw GI pass contains splotchiness you know where it is.

beebop
06-10-2008, 05:32 PM
Oh ok, yeah there is a little splotchiness. So to solve that, turn up the passes, or what do you suggest.

Thanks

mister3d
06-11-2008, 03:44 AM
Oh ok, yeah there is a little splotchiness. So to solve that, turn up the passes, or what do you suggest.

Thanks

No, it's just to see where the problem occurs - in shadows or in GI. Now work on irradiance map quality and bake it in.

DrachenVFX
06-22-2008, 06:44 PM
disregard post

netsu
06-22-2008, 06:46 PM
not sure if this whole flickering thing got sorted out but i just wanted to throw something in there. i have been working on something with vray as well, ligthing the scene entirley with an hdr image. for about three days i worked on how to fix my flickering shadow problem and what i discovered is that the only way i could get rid of the flicker was to pretty much use higher parameters and render the animation as if it were one frame at a time. by this i mean setting my IR to single frame and my light cache to single frame and raising my light cache samples to 1000 at least. that being said it will take a longer time to render but at least i didnt have to render it again for the hundredth time only to find it looking nasty again. this might not be the answer you were looking for but it is a solution none the less. also just a little side note. vray seems to be something that looks great in renders but if you want to render an animation you had better have a render farm. without it you'd look like old snake by the time an animation finishes.

CGTalk Moderation
06-22-2008, 06:46 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.