Blender Git Loki

Git Commits -> Revision ce7e0be

Revision ce7e0be by Sergey Sharybin (cycles-x)
April 10, 2021, 12:08 (GMT)
Cycles: Automatically create adaptive sampling and viewport passes

Fixes non-working adaptive sampling in the viewport: the missing passes
was the only reason for that.

Now the synchronization code is supposed to store passes in Scene and
never provide them via BufferParams.

The passes are assigned to the BufferParams when dopin session reset.
This way the rendering code has access to proper stride information.
In the future we can remove passes from BufferParams and pre-compute
strides and offsets before passing the BufferParams down the road.

Had to explicitly remove the passes: can not rely on the fact that the
synchronization code overrides passes in scene as this is not the case
for viewport rendering.

Commit Details:

Full Hash: ce7e0be97c798db126d5c739d18ff0f0e59fce8b
Parent Commit: d862d87
Lines Changed: +75, -50

12 Modified Paths:

/intern/cycles/blender/blender_camera.cpp (+1, -2) (Diff)
/intern/cycles/blender/blender_session.cpp (+1, -3) (Diff)
/intern/cycles/blender/blender_sync.cpp (+6, -15) (Diff)
/intern/cycles/blender/blender_sync.h (+4, -4) (Diff)
/intern/cycles/blender/blender_viewport.cpp (+0, -13) (Diff)
/intern/cycles/blender/blender_viewport.h (+0, -2) (Diff)
/intern/cycles/render/buffers.cpp (+0, -2) (Diff)
/intern/cycles/render/film.cpp (+30, -7) (Diff)
/intern/cycles/render/film.h (+5, -2) (Diff)
/intern/cycles/render/scene.cpp (+17, -0) (Diff)
/intern/cycles/render/scene.h (+3, -0) (Diff)
/intern/cycles/render/session.cpp (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021