Blender Git Loki

Git Commits -> Revision 737bd54

Revision 737bd54 by Patrick Mours (master)
July 7, 2020, 13:39 (GMT)
Cycles: Add support for native OptiX curve primitive

This patch adds support for the curve primitive from OptiX to Cycles. It's currently hidden
behind a debug option, since there can be some slight rendering differences still (because no
backface culling is performed and something seems off with endcaps). The curve primitive
was added with the OptiX 7.1 SDK and requires a r450 driver or newer, so this also updates
the codebase to be able to build with the new SDK.

Reviewed By: brecht

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

Commit Details:

Full Hash: 737bd549b6eeee81f0573ad8e305fb8d888d82ec
Parent Commit: 95f0f31
Lines Changed: +303, -84

9 Modified Paths:

/intern/cycles/blender/addon/properties.py (+1, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+1, -0) (Diff)
/intern/cycles/blender/blender_python.cpp (+1, -0) (Diff)
/intern/cycles/device/device_optix.cpp (+247, -53) (Diff)
/intern/cycles/kernel/bvh/bvh.h (+12, -11) (Diff)
/intern/cycles/kernel/geom/geom_curve_intersect.h (+6, -3) (Diff)
/intern/cycles/kernel/kernels/optix/kernel_optix.cu (+31, -17) (Diff)
/intern/cycles/util/util_debug.cpp (+1, -0) (Diff)
/intern/cycles/util/util_debug.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021