Blender Git Loki

Git Commits -> Revision cad00ba

Revision cad00ba by Patrick Mours (cycles-x)
September 17, 2021, 11:29 (GMT)
Cycles X: Improve performance of transparent shadows with OptiX

This changes the shadow record-all any-hit program to accept all
hits (return without calling `optixIgnoreIntersection`) beyond
the furthest distance recorded after the maximum number of hits
that can be recorded was reached.
OptiX will not call the any-hit program anymore for hits beyond
the distance of the accepted hits and also reduces the current
ray length behind the scenes. As a result performance improves
drastically in scenes where shadow rays can hit a lot of
transparent objects, like the "koro" benchmark scene.

With this applied I now get similar performance with both CUDA
and OptiX in "koro". Not quite perfect yet, but much better than
before.

Reviewed By: brecht

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

Commit Details:

Full Hash: cad00ba01b4ac7412c51c6d0143e402dc56967d7
Parent Commit: adccc4c
Lines Changed: +29, -25

2 Modified Paths:

/intern/cycles/kernel/device/optix/kernel.cu (+24, -20) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_shadow.h (+5, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021