June 10, 2021, 10:36 (GMT) |
Merge branch 'master' into cycles-x |
June 10, 2021, 10:18 (GMT) |
Fix Cycles-X GPU rendering and OIDN denoiser The issue was introduced in the initial baking support commit: the `RenderBuffers::zero()` does not modify the CPU-size data, so sequential call to `RenderBuffers::copy_to_device()` will copy old data to the device. Solved by not copying data to the device if there is no data read, which is good thing to do anyway to avoid double data copy to the device when no new data was provided. |
June 10, 2021, 08:48 (GMT) |
Cycles X: Log effective list of passes Useful for debugging purposes. Log level can be tweaked to become 3 if 2 is considered too low for this type of info. Differential Revision: https://developer.blender.org/D11554 |
June 10, 2021, 08:42 (GMT) |
Cycles X: Store offset of first pass type Will allow to simplify access to passes like AOV. Differential Revision: https://developer.blender.org/D11553 |
June 10, 2021, 08:42 (GMT) |
Cycles X: Generalize pass flags storage Use bitfield instead of individual boolean flags. No functional changes. Differential Revision: https://developer.blender.org/D11552 |
June 10, 2021, 08:42 (GMT) |
Cycles X: Move pass mapping outside of the class No functional changes, just avoids use of class as a namespace, and allows to modify the logic and signature a bit easier. Differential Revision: https://developer.blender.org/D11551 |
June 9, 2021, 18:06 (GMT) |
Cleanup: remove unused code |
June 9, 2021, 16:10 (GMT) |
Fix Cycles X viewport passes after baking changes Changes in passes values breaks synchronization with the values used for the UI menu. |
June 9, 2021, 08:18 (GMT) |
Fix wrong half-float usage in Cycles X Was generating strict compiler warning. Probably not measurable for users since this was not code path which is executed yet. |
June 8, 2021, 17:46 (GMT) |
Fix Cycles X assert when writing Noisy Image pass |
June 8, 2021, 17:46 (GMT) |
Fix Cycles X AOV writing not working |
June 8, 2021, 15:24 (GMT) |
Cycles X: restore baking of more passes The idea is to map baking settings to render passes. Still various passes missing. In particular AO and Shadow (also missing for regular render) and the complete filter options for light baking. Some details of the implementation: * The pass accessor can now read e.g. roughness into an RGBA image, which is convenient for baking. * ShaderEvalType is now only used for displace/background baking, no longer part of the kernel and much smaller. Instead passes are used. * Roughness render pass added for baking. * Normals are baked as -1..1 just like the render pass, the Blender side was updated since it expected 0..1 previously. Differential Revision: https://developer.blender.org/D11534 |
June 7, 2021, 16:14 (GMT) |
Cycles X: cleanup for moving AO settings to only be part of integrator |
June 7, 2021, 16:06 (GMT) |
Cycles X: first step to restore baking support Minimal changes to get the baking pipeline operational, only bakes the Combined pass. * Add integrator_init_from_bake kernel, that reads the primitive and uv from the render passes and sets up data structures for shade_surface. * Add back support for reading render passes from Blender. Since this reuses most of the path tracing code, baking now works with OptiX, adaptive sampling and denoising. Differential Revision: https://developer.blender.org/D11485 |
June 7, 2021, 12:33 (GMT) |
Merge branch 'master' into cycles-x |
June 4, 2021, 13:12 (GMT) |
Cycles X: add path state compaction for GPU rendering Before enqueing more work tiles, compact the path states so that all active states are at the start. This improve coherence by avoiding paths from different tiles to be interleaved. It only provides minor performance benefits at this point, and only on some GPUs. But it can be a useful building block for further optimizations. Differential Revision: https://developer.blender.org/D11346 |
June 4, 2021, 13:08 (GMT) |
Cycles X: restore shader raytracing for AO and bevel nodes Adds a dedicated shade_surface_raytrace kernel to avoid slowing down the other shaders on the GPU, as happened before. Differential Revision: https://developer.blender.org/D11418 |
June 4, 2021, 13:08 (GMT) |
Cycles X: tweak inlining flags in preparation of shader raytracing No difference by itself, but will be needed to keep inlining behavior the same after the addition of the new kernel. |
June 4, 2021, 13:08 (GMT) |
Cleanup: remove unused KernelGlobals struct from OptiX kernels |
June 3, 2021, 16:24 (GMT) |
Cleanup: fix various warnings when building CUDA/OptiX kernels |
|