RenderKit / ospray

An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization
http://ospray.org
Apache License 2.0
1.02k stars 186 forks source link

Path tracer assertion failure #324

Closed karjonas closed 3 years ago

karjonas commented 5 years ago

Hi,

I get an assertion error when using the path tracer with certain meshes. For instance: buddha and dragon from https://casual-effects.com/data.

 ./ospExampleViewer /home/jkarlsso/Downloads/dragon.obj -r pathtracer
attempting file import: /home/jkarlsso/Downloads/dragon.obj
loading... /home/jkarlsso/Downloads/dragon.obj
default load...
importDefaultExtensions "/home/jkarlsso/Downloads/dragon.obj"
single file import
... found 871306 triangles and 0 quads.
...adding found triangle & quad groups to the scene...
...finished import!
loaded
ospExampleViewer: /home/jkarlsso/Work/embree/kernels/bvh/bvh_intersector_hybrid.cpp:162: static void embree::avx2::BVHNIntersectorKHybrid<N, K, types, robust, PrimitiveIntersectorK, single>::intersect(embree::vint<K>*, embree::Accel::Intersectors*, embree::RayHitK<K>&, embree::IntersectContext*) [with int N = 8; int K = 8; int types = 1; bool robust = false; PrimitiveIntersectorK = embree::avx2::ArrayIntersectorK_1<8, embree::avx2::InstanceIntersectorK<8> >; bool single = false]: Assertion `all(valid, ray.valid())' failed.

Cheers, Jonas

johguenther commented 3 years ago

ospExampleViewer has been replaced by OSPRay Studio. I just tried loading dragon.obj: worked, rendered with path tracer.