Blender Git Loki

Git Commits -> Revision 0091b84

Revision 0091b84 by Patrick Mours (master)
October 2, 2019, 11:23 (GMT)
Fix T70268: Render failures with Vector pass active with OptiX in Cycles

Rendering would produce invalid results or crash if the Vector pass was active but motion blur was inactive. This caused the OptiX BVH to be built with motion (because objects reported motion available), but the pipeline to be built without motion support (since with disabled motion blur this is not in the list of requested features). The two are not compatible and therefore caused issues. This patch fixes that by not building the BVH with motion if motion blur is not active (which makes sense).

Reviewed By: brecht

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

Commit Details:

Full Hash: 0091b84df0281c44c98194cf94af7e894ff990e5
Parent Commit: 97ba7f3
Lines Changed: +10, -4

1 Modified Path:

/intern/cycles/device/device_optix.cpp (+10, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021