diff options
author | Thomas Dinges <blender@dingto.org> | 2015-06-16 00:50:29 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2015-06-16 00:50:29 +0300 |
commit | 53e3e4633244facb76740a58f1b2b9b6c1e2a00d (patch) | |
tree | c156a1a74a0614ccd5fd0a0a7607db210af49606 /doc | |
parent | 888ed6b7f15bf30f978fabc134e1d35cf9fcee38 (diff) |
Cycles / Branched Path: Some simplifications for main loop.
The main loop only handles transparent intersections from the camera ray.
Therefore we can simplify some things.
* Avoid PATH_RAY_CAMERA check, this is always true.
* Avoid path_state_next() call, we can just set transparent flag and increase transparent bounces. This way we avoid the function call and some branching.
Also remove debug num_ray_bounces++, this is incorrect here as no indirect bounce happens here.
Should be no functional changes.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions