Patches to Bf Blender for CAD development. https://tornavis.org/
Go to file
Dalai Felinto 3a95bdfc65 SceneRenderLayer Removal/Refactor
This patch moves all the functionality previously in SceneRenderLayer to SceneLayer.
If we want to rename some of these structs now would be a good time to do it, before they are in SceneLayer.

Everything should be working, though I will test things further tomorrow. Once this is committed depsgraph can get
rid of the workaround added in rna_Main_meshes_new_from_object and finish whatever this patch was preventing from being finished.

This patch also adds a few placeholders for the overrides (samples, ...). These are obviously not working, so some unittests that rely on 'lay', and 'zmask' will fail.

This patch does not addressed the change of moving samples to ViewRender (I have this as a separate patch and needs some separate discussion).

Following next is the individual note of the individual parts that were committed.

Note 1: It is up to Cycles to still get rid of exclude_layer internally.
Note 2: Cycles still need to handle its own doversion for the use_layer_samples cases and

(1) Remove the override as it is
(2) Add a new override (scene.cycles.samples) if scene.cycles.use_layer_samples != IGNORE

Respecting the expected behaviour when scene.cycles.use_layer_samples == BOUNDED.

Note 3: Cycles still need to implement the per-object holdout
(similar to how we do shadow catcher).

Note 4: There are parts of the old (Blender Internal) rendering pipeline that is still
using lay, e.g., in shi->lay.

Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit.

Reviewers: sergey, campbellbarton, brecht

Differential Revision: https://developer.blender.org/D2919
2017-11-22 07:13:33 -02:00
build_files Merge branch 'master' into blender2.8 2017-11-19 13:16:14 +01:00
doc Merge branch 'master' into blender2.8 2017-10-21 12:43:17 +11:00
extern CMake: cleanup 2017-10-30 18:48:27 +11:00
intern SceneRenderLayer Removal/Refactor 2017-11-22 07:13:33 -02:00
release SceneRenderLayer Removal/Refactor 2017-11-22 07:13:33 -02:00
source SceneRenderLayer Removal/Refactor 2017-11-22 07:13:33 -02:00
tests Layers Unittest: Hidden flag to quckly update diffs 2017-11-10 13:01:05 -02:00
.arcconfig Blender 2.8: Update arc config 2017-05-01 15:20:19 +02:00
.gitignore Build: add scripts to build dependencies for Windows and macOS. 2017-08-07 17:54:26 +02:00
.gitmodules Merge branch 'master' into blender2.8 2017-04-03 15:15:56 +02:00
CMakeLists.txt Merge branch 'master' into blender2.8 2017-11-07 03:08:24 +01:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile GNUmakefile: add back 'git pull' 2017-09-29 19:02:20 +10:00
make.bat Merge branch 'master' into blender2.8 2017-09-11 16:52:53 +10:00