0
0
forked from blender/blender
blender/intern/cycles/render
Brecht Van Lommel d9773edaa3 Cycles: code refactor to bake using regular render session and tiles
There should be no user visible change from this, except that tile size
now affects performance. The goal here is to simplify bake denoising in
D3099, letting it reuse more denoising tiles and pass code.

A lot of code is now shared with regular rendering, with the two main
differences being that we read some render result passes from the bake API
when starting to render a tile, and call the bake kernel instead of the
path trace kernel.

With this kind of design where Cycles asks for tiles from the bake API,
it should eventually be easier to reduce memory usage, show tiles as
they are baked, or bake multiple passes at once, though there's still
quite some work needed for that.

Reviewers: #cycles

Subscribers: monio, wmatyjewicz, lukasstockner97, michaelknubben

Differential Revision: https://developer.blender.org/D3108
2020-05-15 20:25:24 +02:00
..
attribute.cpp Fix Cycles crash in Windows debug mode with volumes 2020-03-19 20:02:33 +01:00
attribute.h Fix Cycles crash in Windows debug mode with volumes 2020-03-19 20:02:33 +01:00
background.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
background.h Cycles: change volume step size controls, auto adjust based on voxel size 2020-03-18 11:23:05 +01:00
bake.cpp Cycles: code refactor to bake using regular render session and tiles 2020-05-15 20:25:24 +02:00
bake.h Cycles: code refactor to bake using regular render session and tiles 2020-05-15 20:25:24 +02:00
buffers.cpp Cycles: code refactor to bake using regular render session and tiles 2020-05-15 20:25:24 +02:00
buffers.h Cycles: code refactor to bake using regular render session and tiles 2020-05-15 20:25:24 +02:00
camera.cpp Cleanup: tweak Cycles #includes in preparation for clang-format sorting 2020-03-06 14:44:42 +01:00
camera.h Fix T62408: Cycles viewport adaptive subdivision hangs after updates 2019-04-21 03:05:38 +02:00
CMakeLists.txt Cycles: support rendering new Volume object type 2020-03-18 11:23:05 +01:00
colorspace.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
colorspace.h Cleanup: process colorspace conversion with a 1D pixel array 2020-03-17 17:33:08 +01:00
constant_fold.cpp Shading: Rewrite Mapping node with dynamic inputs. 2019-09-04 23:17:13 +02:00
constant_fold.h Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
coverage.cpp Cleanup: tweak Cycles #includes in preparation for clang-format sorting 2020-03-06 14:44:42 +01:00
coverage.h Cleanup: tweak Cycles #includes in preparation for clang-format sorting 2020-03-06 14:44:42 +01:00
curves.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
curves.h Cycles: remove hair minimum width support. 2019-04-24 14:39:47 +02:00
denoising.cpp Fix "denoise_animation" tests with OptiX in Cycles 2019-09-30 15:38:07 +02:00
denoising.h Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
film.cpp Cycles: code refactor to bake using regular render session and tiles 2020-05-15 20:25:24 +02:00
film.h Revert "Fix T74572: adaptive sampling not scaling render passes correctly" 2020-04-06 23:23:48 +02:00
geometry.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
geometry.h Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
graph.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
graph.h Fix T73984: unnecessary Cycles viewport updates with object texture coordinates 2020-05-14 17:39:37 +02:00
hair.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
hair.h Cleanup: split Cycles Hair and Mesh classes, with Geometry base class 2020-02-07 12:18:15 +01:00
image_oiio.cpp Cleanup: refactor image loading to use abstract ImageLoader base class 2020-03-11 20:45:39 +01:00
image_oiio.h Cleanup: refactor image loading to use abstract ImageLoader base class 2020-03-11 20:45:39 +01:00
image_vdb.cpp Cycles: support rendering new Volume object type 2020-03-18 11:23:05 +01:00
image_vdb.h Cycles: support rendering new Volume object type 2020-03-18 11:23:05 +01:00
image.cpp Fix T75288: crash in Cycles image loading with multithreaded shader compilation 2020-04-08 22:01:04 +02:00
image.h Fix T75288: crash in Cycles image loading with multithreaded shader compilation 2020-04-08 22:01:04 +02:00
integrator.cpp Cleanup: refactor adaptive sampling to more easily change some parameters 2020-04-07 20:29:48 +02:00
integrator.h Cycles: change volume step size controls, auto adjust based on voxel size 2020-03-18 11:23:05 +01:00
jitter.cpp Cycles: add Progressive Multi-Jitter sampling pattern 2020-03-02 16:35:52 +01:00
jitter.h Cycles: add Progressive Multi-Jitter sampling pattern 2020-03-02 16:35:52 +01:00
light.cpp Fix T63588: Cycles unnecessarily updates background importance sampling map 2020-05-14 17:56:50 +02:00
light.h Fix T63588: Cycles unnecessarily updates background importance sampling map 2020-05-14 17:56:50 +02:00
merge.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
merge.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
mesh_displace.cpp Cleanup: split Cycles Hair and Mesh classes, with Geometry base class 2020-02-07 12:18:15 +01:00
mesh_subdivision.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
mesh_volume.cpp Fix T75995: Cycles render artifacts with overlapping volumes 2020-05-01 23:42:42 +02:00
mesh.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
mesh.h Volumes: add render settings for volume datablock 2020-03-18 11:23:05 +01:00
nodes.cpp Cycles: Refactor microfacet BSDFs to remove separate anisotropy code 2020-05-15 00:52:57 +02:00
nodes.h Fix T73984: unnecessary Cycles viewport updates with object texture coordinates 2020-05-14 17:39:37 +02:00
object.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
object.h Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
osl.cpp Fix T73984: unnecessary Cycles viewport updates with object texture coordinates 2020-05-14 17:39:37 +02:00
osl.h Fix Cycles link error with debug + asan after RTTI changes 2020-03-11 17:05:15 +01:00
particles.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
particles.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
scene.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
scene.h Cycles: change volume step size controls, auto adjust based on voxel size 2020-03-18 11:23:05 +01:00
session.cpp Cycles: code refactor to bake using regular render session and tiles 2020-05-15 20:25:24 +02:00
session.h Cycles: code refactor to bake using regular render session and tiles 2020-05-15 20:25:24 +02:00
shader.cpp Fix T63588: Cycles unnecessarily updates background importance sampling map 2020-05-14 17:56:50 +02:00
shader.h Fix T73984: unnecessary Cycles viewport updates with object texture coordinates 2020-05-14 17:39:37 +02:00
sobol.cpp Cleanup: Mark large arrays of of constant data as const. 2019-08-04 14:24:29 -06:00
sobol.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
stats.cpp ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
stats.h Cleanup: spelling 2019-08-17 00:57:05 +10:00
svm.cpp Fix T73984: unnecessary Cycles viewport updates with object texture coordinates 2020-05-14 17:39:37 +02:00
svm.h Add support for tiled images and the UDIM naming scheme 2019-12-12 18:40:37 +01:00
tables.cpp Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
tables.h Cleanup: tweak Cycles #includes in preparation for clang-format sorting 2020-03-06 14:44:42 +01:00
tile.cpp Fix T75432: Cycles progressive refine render slow with denoising data 2020-04-28 22:40:44 +02:00
tile.h Fix T75432: Cycles progressive refine render slow with denoising data 2020-04-28 22:40:44 +02:00