pbrt/src
Wito Wiala 5038ed8270 basic_intersect for DiskShape computed the plane hit with interval arithmetic where
pbrt uses a scalar (shapes.h: Float tShapeHit = (height - Float(oi.z)) /
Float(di.z)). It produced NaN, and since every NaN comparison is false neither
the t range test nor the subsequent dist2 > radius^2 test could reject it. The
disk reported a hit on every ray tested against it, and the NaN reached dpdu/
dpdv, the shading normal, and the area-light MIS pdf.

NaN is absorbing in the film, so one bad sample poisoned pixel RgbSum permantenly. Wavefront now works
2026-09-03 12:39:56 +01:00
..
core Fix colorspace illuminant, LayeredBxDF transmittance, and film pixel bounds 2026-09-02 21:20:38 +01:00
films Cleaning unused imports, refactoring wavefront integration 2026-05-28 14:40:45 +01:00
integrators Might have just made a huge mistake 2026-09-01 19:37:59 +01:00
lights Added gpu config flag, completed light sampling methods 2026-09-02 09:41:14 +01:00
materials Bunch of logic errors in port of math and sampling functions 2026-09-02 17:21:16 +01:00
samplers Cleaning unused imports, refactoring wavefront integration 2026-05-28 14:40:45 +01:00
shapes Cleaning unused imports, refactoring wavefront integration 2026-05-28 14:40:45 +01:00
spectra Fix colorspace illuminant, LayeredBxDF transmittance, and film pixel bounds 2026-09-02 21:20:38 +01:00
textures Bunch of logic errors in port of math and sampling functions 2026-09-02 17:21:16 +01:00
utils Bunch of logic errors in port of math and sampling functions 2026-09-02 17:21:16 +01:00
wavefront basic_intersect for DiskShape computed the plane hit with interval arithmetic where 2026-09-03 12:39:56 +01:00
globals.rs This commit is way too large. So, added Upload trait back again, but only for Textures, which are the most complex types. Fixing Medium and PixelSensor creation on host side. Can´t really find a satisfying way of keeping construction and creation separate, so for now, regrettably, putting them in the same place. Added some types to parameter parsing. Continuing fixup caused by creation of GVec and GBox 2026-05-20 16:16:57 +01:00
lib.rs Fixing issue with work item definitions and light sampling on wavefront 2026-05-29 13:00:20 +01:00