Blender Git Loki

Git Commits -> Revision a6eb537

Revision a6eb537 by Sergey Sharybin (cycles-x)
September 13, 2021, 09:57 (GMT)
Cycles X: Store passes and buffer params in tile file metadata

Allows to fully forget about passes and parameters once the file
was fully written.

Currently should be no functional changes. Will be used when a proper
memory saving is implemented: when EXR files are read from disk and
written to Blender after all view layers were rendered.

Is debatable why we need to store actual passes: for now it was the
most local change to move towards the goal (which is to decouple
full buffers reading from the Session/PathTrace/TileManager state).
Might end up storing simplified version of passes in the BufferParams
so that we can use `get_render_tile_pixels()` without having Scene
and only relying on the RenderBuffers. In any case, we would need to
store some sort of metadata, and whether it comes to/from passes is
something we can tweak in the future.

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

Commit Details:

Full Hash: a6eb5370093c4960d8e3d7be9df922acd3194955
Parent Commit: 35aba17
Lines Changed: +321, -43

2 Modified Paths:

/intern/cycles/render/tile.cpp (+320, -36) (Diff)
/intern/cycles/render/tile.h (+1, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021