Blender Git Loki

Git Commits -> Revision a654512

Revision a654512 by Sergey Sharybin (master)
October 3, 2014, 08:52 (GMT)
Cycles: Implement preliminary test for volume stack update from SSS

This adds an AABB collision check for objects with volumes and if there's a
collision detected then the object will have SD_OBJECT_INTERSECTS_VOLUME flag.

This solves a speed regression introduced by the fix for T39823 by skipping
volume stack update in cases no volumes intersects the current SSS object.

Commit Details:

Full Hash: a65451235637514abaaf2b04c5a89f14a6edd96f
Parent Commit: b86f199
Lines Changed: +52, -9

5 Modified Paths:

/intern/cycles/device/device_memory.h (+5, -0) (Diff)
/intern/cycles/kernel/kernel_path.h (+6, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -1) (Diff)
/intern/cycles/render/mesh.cpp (+30, -1) (Diff)
/intern/cycles/render/object.cpp (+8, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021