Blender Git Loki

Git Commits -> Revision 524948b

Revision 524948b by Sergey Sharybin (cycles_tricks)
June 12, 2015, 13:14 (GMT)
Cycles: Add an option to make object only use direct light

This is a performance trick which could be used for objects which are rather
complex (like grass field) but are out of focus or heavily blurred. For such
objects it does not make sense to do huge number of ray bounces because this
wouldn't give any more details to the result.

Objects might become a bit darker with this option enabled (similar to cases
when number of bounces is limited on scene level), but this is possible to
compensate with material and light settings.

Currently only supported by regular path tracing in megakernel. Before making
it something more widely supported we'd better see what's the best way to
perform such an early ray terminations, how to control them from the UI and
stuff like that.

This seems to give like up to 10% speedup with 01_03_01_B. But need to double
there's no measurable regressions with this feature disabled prior to merge
it to gooseberry branch/

Commit Details:

Full Hash: 524948bde3ca73afdb9c182026a2f550f9ee457b
Parent Commit: 49bcca8
Lines Changed: +36, -1

8 Modified Paths:

/intern/cycles/blender/addon/properties.py (+6, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+5, -0) (Diff)
/intern/cycles/blender/blender_object.cpp (+12, -0) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+3, -0) (Diff)
/intern/cycles/kernel/kernel_path_surface.h (+3, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -1) (Diff)
/intern/cycles/render/object.cpp (+3, -0) (Diff)
/intern/cycles/render/object.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021