Opacity map performance tweak in VRay

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.
Posted: March 18th, 2008 under material, vray - 3dsmax.
Comments: 6
Comments
Comment from coug
Time: April 15, 2008, 1:42 pm
grâce à qui?
Comment from chakir
Time: June 11, 2008, 12:46 am
good thanks for sharing this…
Comment from Phantomas
Time: June 12, 2008, 5:17 pm
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?
Comment from admin
Time: June 12, 2008, 5:23 pm
/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 !
Comment from Bobby W Parker
Time: July 21, 2008, 2:42 am
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
Comment from Ermolaev
Time: November 6, 2008, 3:13 am
Interestingly, I even nedumala about it …




Write a comment