Page MenuHome

First accepted part of D2254
ClosedPublic

Authored by mathieu menuet (bliblubli) on Nov 6 2016, 5:22 PM.

Details

Summary

Compile with transparent shadows only if needed and enabled in the current scene. Depending on the scene, it gives between 1% (scene without transparent material) and 8% (BMW benchmark) speedup.

Diff Detail

Repository
rB Blender

Event Timeline

mathieu menuet (bliblubli) retitled this revision from to First accepted part of D2254.
mathieu menuet (bliblubli) updated this object.
mathieu menuet (bliblubli) set the repository for this revision to rB Blender.
mathieu menuet (bliblubli) updated this object.

LGTM. Nice to have this even for the performance checks on various platforms

Nice to add more detailed information to the commit message what are the measurable benefits for users tho.

This revision is now accepted and ready to land.Nov 14 2016, 9:48 AM

added a check for the integrator setting "cycles.use_transparent_shadows" as user may disable transparent shadows even if some transparent shaders are present in the scene. Thanks to @Mai Lavelle (maiself) for her help on finding this solution.

I've been asked to land this one, (fine, easy work) however changes have been done since the patch has been accepted, @Sergey Sharybin (sergey) do you want to take one final look?

Well, nothing changed since last time i've checked. Guess if nobody else complained we can consider the patch is good to go.

If you can land it to master please go ahead.