I recently did some test to confirm that disabling the map filtering op an Opacity map in a VRay material improves performance. This is a well know trick that can save you some time if your scene contain a lot of these kind of maps. All following tests are done with the universal settings described in the help files, VRaySun & Sky.
The first test is done without any tweak, simple metal louvres with small circular holes :
Rendertime is 2m53s
Then when tweaking these vaules in the Opacity map parameters :
And then after a rerender :
note how the rendertime has dropped : 2m13s… almost 30% faster ! The only bad side is that the overlapping shadows are less transparent… but in many cases it won’t be a problem.
Then I had the idea to test the workaround we did used in the good old days, when the VRay materials hadn’t an opacity slot ;) The trick was simple, the “opacity” bitmap in the refraction slot and an IOR of 1.0 to avoid refraction.
The result is intresting : 2m38s and no real difference. Faster than the simple opacity slot but slower than the unfiltered one. But there are disadvantages : You can’t use refraction slot anymore, you have to mask every other texture to avoid, for example, reflection in the holes, and the object will appear without his holes in some render pass like VRayWireColor (whereas the opactiy slot won’t have this problem)
I’ll conduct other test shortly to see if there are special cases where the refraction technique would be faster than the opacity one, but I doubt it will happen.
grâce à qui?
good thanks for sharing this…
I’m not sure I understand everything on that blog…
Ce n’est pas ma spécialité mais bon.
Par contre, j’ai besoin de recenser quelques blogs/sites intéressants et surtout qui font figure de référence dans l’architecture contemporaine: peux-tu m’aider?
/off topic / Figures de référence, je ne sais pas… Je vais t’envoyer la liste des sites de mon feed qui s’apparentent à cela !
Thanks for the time it took you to put this little tutorial together. I found your link from the v-ray forum. This didn’t solve my xfrog alph issue. Have you successfully used xfrog in v-ray?
Thanks,
Bobby W Parker
http://www.whitebirchstudios.com
Interestingly, I even nedumala about it …
Nice tip, one wuestion, why do you change the Blur to 0.01? (i guess this makes sharper stuff, but is related with the tip?)
Thanks!!
Blur to 0.01 renders faster. Also, blurring an opacity is not really what you usually want when you look for sharp cutouts.
Thx alot for the tip.. still works like a charm 5 years later :)
– David Botofte Henriksen
My pleasure. That’s an old one for sure ! I’m not sure this kind of “slowdown” requires such a workaround today. I usually use real opacities now ;)
Great tip many thanks…