Ambient and Reflection Occlusion

Hi,

I worked a bit on the ambient occlusion shader from the vray sdk and did some enhancements to it. This is what the vraydirt shader from the sdk does:

I added the possibility to do reflection occlusion. So you can get something like this:

Additionally I added the an environment map slot. So you can sample an environment map.

If used with reflection occlusion, you get fake glossy reflections. Here also an image with real glossy reflection and raydepth 1 for comparison.


As you can see the render time for a simple scene like this isn’t much shorter. But I expect that it’s faster for more complex scenes.

You can use the Reflection Occlusion Map as a mask for another map. So you can “preblur” the environment map. This is kind of fast glossy reflection fake:

Here’s the ui as it is at the moment:

Tell me what you think of it.

We already used the shader for some animations in HD. We used it for a car interior. You can have a look here:
bclass

Best regards,

Dieter Morgenroth

Looking good :smile: Is it going to be comparable to the mentalray version?

Colin

How can we get hold of this dirt shader ? :smile:

Colin

Vraydirt will be part of the 1.5 release. They still are doing changes to the vray sdk, so my version won’t work with the next vray built.

I’m exchanging code with Vlado, so i think if he likes my add-ons he might incooperate them for the release. (And probably make them more efficient:))

Best regards,

Dieter

ambient occlusion has been high on my wish list for a while. thanks for adding that. I can’t wait for 1.5!

V Miller

Nice to see more people working with the VraySDK.
I think we will see much more custom stuff after the 1.5 release.

Would it be possible to include an “exclude” button to the dirtshader?
So that certain objects do not affect the shading?

Looking forward too… nice!

looks great. been looking for a reflection occlusion forever and a day now. Evevrytime I try to explain what it does, i get strange looks. I think the ui needs a little work though… :wink:

Holy $hit, great job on the video!!

Oh yea the mat is cool to :wink:

-dave

:shock: That video. Great camera work :!: Do you have more video material to show?

dimo I love it! Especialy this zooming into leather chair detail, it’s awesome!

yeah thats my favorite part too. Would like too see some more info about it. behind the scenes and stuff.

Dimo… it is great that you are playing the the SDK… but personally I think the AO and RO are a waist of time when it comes to Vray. Doing a straight HDRI lighting of that scene would be done just as fast (if not faster), plus the light (and reflections) could bounce around. AO, and RO are used by Renderman people that don’t have the luxury of fast raytracing. Out of curiousitym why not render your scene with the HDRI in the Envionement and relfection slot, and tell me what happens in terms of rendering times.

BTW… if you want controls over the individual elements in your compositor, the G-buffer stuff in Vray is REALLY powerful…

Ive been jonesing for a RO shader to use for faking glossy reflections. Straight reflections are fast enough your right.

great…want it…
but the UI needs to be fixed.
and render times seem quite slow to me…it really shouldn’t be slower than mental ray.

Based on those rendertimes, it seems that the hit you would take from doing a his RO or a Glossy reflections would be about the same.

nice shaders and again defenatly nice to see people eploring the SDK ( and nice there is an SDK )…

that video…holly crap thats well done…

I wouldn’t use it for an entire scene. Just some objects that frankly dont need perfect glossy reflections but need to mask out innerreflections. You may be right, but Im going to cross my fingers anyways.

I suppose it would only be useful in very specific situations, since most likely alot of objects you could get away with just using a blurred reflection map, probably could get away without using RO anyways.

Just saw the Movie File…

:shock: :shock: :shock: and :shock:

Please post that in the Image Uploads Forum so everyone can enjoy this.

Holy bat crap!!!
Thats amazing. Probabaly one of the best promotional car movies i have ever seen. And that leather close up…mmmmmm gooooood

Good lord! That movie is incredible!