[panic] in Primitive::compute_scattering_functions()
wahn opened this issue · 1 comments
wahn commented
> pwd
/mill3d/users/jan/Graphics/Rendering/PBRT/pbrt-v3-scenes/buddha-fractal
> ~/git/github/rs_pbrt/target/release/examples/rs_pbrt -i buddha-fractal.pbrt
pbrt version 0.5.3 [Detected 8 cores]
Copyright (c) 2016-2019 Jan Douglas Bert Walter.
Rust code based on C++ code by Matt Pharr, Greg Humphreys, and Wenzel Jakob.
Film "image"
"string filename" ["buddha-fractal.exr"]
"integer xresolution" [750]
"integer yresolution" [1200]
Sampler "sobol"
"integer pixelsamples" [1]
Include "/mill3d/users/jan/Graphics/Rendering/PBRT/pbrt-v3-scenes/buddha-fractal/geometry.pbrt"
BVHAccel::recursive_build(..., 29890, ...)
PT0.157918006S seconds for building BVH ...
BVHAccel::flatten_bvh_tree(...)
PT0.001086864S seconds for flattening BVH ...
BVHAccel::recursive_build(..., 25252, ...)
PT0.122350014S seconds for building BVH ...
BVHAccel::flatten_bvh_tree(...)
PT0.000999899S seconds for flattening BVH ...
Rendering with 8 thread(s) ...
81 / 3525 [=>--------------------------------------------------------------------] 2.30 % 10572.98/s 0s
thread '<unnamed>' panicked at 'n: Normal3 { x: 0.0, y: 0.0, z: 1.0 } dot shading.n: Normal3 { x: 0.0, y: 1.0, z: -0.0 }', src/core/primitive.rs:40:9
...