Blender Git Commit Log

Git Commits -> Revision 29cd99e

Revision 29cd99e by Brecht Van Lommel (master)
December 24, 2020, 12:53 (GMT)
Cycles: remove surface area computation for meshes with OSL

This is relatively expensive and as per the OSL spec, this value is not
expected to be meaningful for non-light shaders. This makes viewport updates
a little faster.

As a side effect also fixes T82723, viewport refresh issue with volume density.

Commit Details:

Full Hash: 29cd99e7fd3ccb6217a26afa5cc054c0ab97b1a8
Parent Commit: c4f8aed
Lines Changed: +10, -88

4 Modified Paths:

/intern/cycles/kernel/geom/geom_object.h (+1, -8) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -1) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+1, -1) (Diff)
/intern/cycles/render/object.cpp (+7, -78) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021