http://www.miikahweb.com/feed.php MiikaHweb - Blender Temp-render-depsgraph Branch http://www.miikahweb.com/ MiikaHweb - Blender Temp-render-depsgraph Branch fi Mon, 26 Aug 19 01:09:48 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[c68e31b]: Fix Cycles to mostly work with render layer / depsgraph changes...]]> http://www.miikahweb.com/en/blender/git-logs/commit/c68e31b3816fe2d4f92b3a7a70aacb16d91b3bdf c68e31b
Branches : temp-render-depsgraph
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix Cycles to mostly work with render layer / depsgraph changes.

Point density texture and motion blur are still broken, and many more changes
are needed in general to used evaluated datablocks.

----------------------------------------
14 Paths Changed]]>
Tue, 27 Feb 2018 01:07:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c68e31b3816fe2d4f92b3a7a70aacb16d91b3bdfBrecht Van Lommel
<![CDATA[[4f14f1d]: Use lean/shallow EvaluationContext for point density texture]]> http://www.miikahweb.com/en/blender/git-logs/commit/4f14f1d927c7e001477a67b39854ac313ad8a333 4f14f1d
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Use lean/shallow EvaluationContext for point density texture

I'm confident this is not working, but I want to check with others how to test
this and if we need a full EvaluationContext with depsgraph for this.

----------------------------------------
1 Path Changed]]>
Mon, 26 Feb 2018 21:34:10 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/4f14f1d927c7e001477a67b39854ac313ad8a333Dalai Felinto
<![CDATA[[e149bd9]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/e149bd97729d602f4dc71702ee085ce113991657 e149bd9
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-render-depsgraph

----------------------------------------
0 Paths Changed]]>
Mon, 26 Feb 2018 19:39:03 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e149bd97729d602f4dc71702ee085ce113991657Dalai Felinto
<![CDATA[[dfe9521]: Fix Sequencer for new depsgraph/render changes]]> http://www.miikahweb.com/en/blender/git-logs/commit/dfe952114adb2a55b5d4cdc8434a7c6fbcf0b77f dfe9521
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Fix Sequencer for new depsgraph/render changes

----------------------------------------
2 Paths Changed]]>
Mon, 26 Feb 2018 19:37:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/dfe952114adb2a55b5d4cdc8434a7c6fbcf0b77fDalai Felinto
<![CDATA[[252c663]: From review: render_to_image should not get RenderLayer]]> http://www.miikahweb.com/en/blender/git-logs/commit/252c663d85f081d76a071401d5261efa387c7a6b 252c663
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
From review: render_to_image should not get RenderLayer

----------------------------------------
5 Paths Changed]]>
Mon, 26 Feb 2018 14:22:11 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/252c663d85f081d76a071401d5261efa387c7a6bDalai Felinto
<![CDATA[[c123b31]: Move render ViewLayer iterator outside render_result_new]]> http://www.miikahweb.com/en/blender/git-logs/commit/c123b31db37588e375971b2ce10c2ad5f9176ab6 c123b31
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Move render ViewLayer iterator outside render_result_new

----------------------------------------
2 Paths Changed]]>
Mon, 26 Feb 2018 13:48:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c123b31db37588e375971b2ce10c2ad5f9176ab6Dalai Felinto
<![CDATA[[1596edd]: From review: Move depsgraph away from render layer and change...]]> http://www.miikahweb.com/en/blender/git-logs/commit/1596edd23b22c513186dec30eccbd625dcedab70 1596edd
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
From review: Move depsgraph away from render layer and change render loop

Create depsgraph as part of the render loop and pass a render layer for the
render_to_image. Optionally we could create a single layered render_result
but why would we?

Depsgraph is created from scratch prior to rendering each frame.
So I got rid of most of the partial update calls we had during the render
pipeline.

Also, it's past the time to remove Blender Internal.

Note 1: Cycles doesn't build.

Note 2: Cycles seems to rely on an "empty" render function, where all the
required settings are passed to the update function instead. I would like
to have this cleared out because draw manager is assuming everything is
passed to render_to_image, but we need to have an API that makes sense
to all cases.

----------------------------------------
9 Paths Changed]]>
Fri, 23 Feb 2018 22:30:29 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1596edd23b22c513186dec30eccbd625dcedab70Dalai Felinto
<![CDATA[[7bf6368]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/7bf6368406d3697b505edf2a4725ac842f46d435 7bf6368
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-render-depsgraph

----------------------------------------
0 Paths Changed]]>
Fri, 23 Feb 2018 20:28:49 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7bf6368406d3697b505edf2a4725ac842f46d435Dalai Felinto
<![CDATA[[9786e90]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9786e904f3aa310e2f2dd646ca02b2ef6ce367ba 9786e90
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-render-depsgraph

----------------------------------------
0 Paths Changed]]>
Fri, 23 Feb 2018 19:19:00 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9786e904f3aa310e2f2dd646ca02b2ef6ce367baDalai Felinto
<![CDATA[[ee813d2]: Depsgraph: Expose query to get view layer to RNA]]> http://www.miikahweb.com/en/blender/git-logs/commit/ee813d29784727cb42c70daa81fe5aa83c3d12bb ee813d2
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Depsgraph: Expose query to get view layer to RNA

----------------------------------------
1 Path Changed]]>
Fri, 23 Feb 2018 12:22:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ee813d29784727cb42c70daa81fe5aa83c3d12bbDalai Felinto
<![CDATA[[f8c2d37]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/f8c2d37c41cfe78c09268f1bdf5d0c954d31fc88 f8c2d37
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-render-depsgraph

----------------------------------------
0 Paths Changed]]>
Fri, 23 Feb 2018 12:12:00 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f8c2d37c41cfe78c09268f1bdf5d0c954d31fc88Dalai Felinto
<![CDATA[[0416365]: Cleanup: Always have viewlayer when updating scene graph]]> http://www.miikahweb.com/en/blender/git-logs/commit/0416365fee074eaac47f9f1f0a0cbdeefea70f4e 0416365
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Cleanup: Always have viewlayer when updating scene graph

----------------------------------------
3 Paths Changed]]>
Thu, 22 Feb 2018 11:41:15 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0416365fee074eaac47f9f1f0a0cbdeefea70f4eDalai Felinto
<![CDATA[[94d7b19]: From review: Add compreensible comments on Cycles]]> http://www.miikahweb.com/en/blender/git-logs/commit/94d7b199a4067d93941a3f6a08e3ca61c7d56732 94d7b19
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
From review: Add compreensible comments on Cycles

----------------------------------------
1 Path Changed]]>
Thu, 22 Feb 2018 11:13:27 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/94d7b199a4067d93941a3f6a08e3ca61c7d56732Dalai Felinto
<![CDATA[[b578747]: From review: Initialize struct based on struct elements declaration...]]> http://www.miikahweb.com/en/blender/git-logs/commit/b5787475cc8c0a918279958a3cf369099dd56c30 b578747
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
From review: Initialize struct based on struct elements declaration order

----------------------------------------
1 Path Changed]]>
Thu, 22 Feb 2018 10:45:27 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b5787475cc8c0a918279958a3cf369099dd56c30Dalai Felinto
<![CDATA[[c88fd81]: From review: Avoid chicken-egg situation with EvaluationContext...]]> http://www.miikahweb.com/en/blender/git-logs/commit/c88fd817d326aae372a320fd6945b132cd558706 c88fd81
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
From review: Avoid chicken-egg situation with EvaluationContext/Depsgraph

----------------------------------------
1 Path Changed]]>
Thu, 22 Feb 2018 11:32:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c88fd817d326aae372a320fd6945b132cd558706Dalai Felinto
<![CDATA[[3bc50db]: From review, depsgraph should always be valid for render layers...]]> http://www.miikahweb.com/en/blender/git-logs/commit/3bc50db11daa707d27dab2bf7fdf797dcbd04317 3bc50db
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
From review, depsgraph should always be valid for render layers

----------------------------------------
1 Path Changed]]>
Wed, 21 Feb 2018 20:51:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3bc50db11daa707d27dab2bf7fdf797dcbd04317Dalai Felinto
<![CDATA[[7ea6291]: Move render depsgraph to where it belongs: RenderLayer]]> http://www.miikahweb.com/en/blender/git-logs/commit/7ea62916ecaa2ee7aa10b5e5dcb6b675623b8d0c 7ea6291
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Move render depsgraph to where it belongs: RenderLayer

This fixes compositing for Eevee as well as lay the ground work to fix Cycles
objects iteration in blender 2.8.

Note: Work in progress, the following is not working:
* Cycles
** see "#ifdef TODO" in blender_session.cpp

* Sequencer
** pipeline.c calls BKE_sequencer_new_render_data() early on, and assumes an eval_ctx from that moment on

* Point cache texture (RE_sample_material_init)
** needs eval_ctx :/

What is not handled here: Get rid of view layer in EvaluationContext.
We should store ViewLayer in RenderLayer. The patch is massive as it is though.

----------------------------------------
27 Paths Changed]]>
Wed, 21 Feb 2018 20:51:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7ea62916ecaa2ee7aa10b5e5dcb6b675623b8d0cDalai Felinto
<![CDATA[[8823f85]: Update depsgraph before drawing the render layers]]> http://www.miikahweb.com/en/blender/git-logs/commit/8823f851b71e7286643af5665bcc9dfdfc6cda12 8823f85
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Update depsgraph before drawing the render layers

* Store the required depsgraph and eval_ctx in the render layers
* Call BKE_scene_graph_update_tagged() for these depsgraphs.

Reviewers: sergey

Subscribers: fclem

Differential Revision: https://developer.blender.org/D3073

----------------------------------------
5 Paths Changed]]>
Wed, 21 Feb 2018 20:51:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8823f851b71e7286643af5665bcc9dfdfc6cda12Dalai Felinto
<![CDATA[[a8f31c3]: Store the required depsgraph and eval_ctx in the render layers...]]> http://www.miikahweb.com/en/blender/git-logs/commit/a8f31c339fcf56a8990edc8b5a703175422d6869 a8f31c3
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
Store the required depsgraph and eval_ctx in the render layers

Missing: To call the equivalent of BKE_scene_graph_update_tagged() for these depsgraphs.

----------------------------------------
7 Paths Changed]]>
Wed, 21 Feb 2018 20:51:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a8f31c339fcf56a8990edc8b5a703175422d6869Dalai Felinto
<![CDATA[[fbe2dbf]: From review: Don't touch re->eval_ctx here]]> http://www.miikahweb.com/en/blender/git-logs/commit/fbe2dbf6ab8ab5a523820586b02f7b61eb4551ea fbe2dbf
Branches : temp-render-depsgraph
Author : Dalai Felinto (dfelinto)
----------------------------------------
From review: Don't touch re->eval_ctx here

This could go away even, but we are still using it in a few parts.

----------------------------------------
1 Path Changed]]>
Wed, 21 Feb 2018 20:51:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/fbe2dbf6ab8ab5a523820586b02f7b61eb4551eaDalai Felinto