- Volume multiple importace sampling support to combine equiangular and distance sampling, for both homogeneous and heterogeneous volumes.
- Branched path "Sample All Direct Lights" and "Sample All Indirect Lights" now apply to volumes as well as surfaces.
- Volume sampling method can now be set per material/world.
- Includes a bunch of code refactoring in path tracing code
There's a few things to solve here still, but I intend to commit something close to this after git is open again.
Test file that compares various sampling combinations.
https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests/cycles/volume_light_sampling.blend