You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to render in a non blocking IO way. Currently the scene processes fine if I specify either the emitter or bsdf for the shape. I'm curious why the segmentation fault arises, because it works as expected in sync mode.
Also, I used asyncer library, which seems to work, but can also be the culprit here.
Steps to reproduce
The code below should work as is if you:
Create the shape
Provide a path to any image
shape.obj
v 1 -1 -1
v 1 1 -1
v -1 1 -1
v -1 -1 -1
vt 1 0
vt 1 1
vt 0 1
vt 0 0
vn 0 0 1
f 1/1/1 2/2/1 3/3/1 4/4/1
Summary
I mainly write asynchronous code, and discovered a bug that results in a segmentation fault.
When a
shape
has:emitter
only - works is finebsdf
only - works fineasync wrap
only.System configuration
System information:
OS: 13.2.1
CPU: b'Apple M1'
Python: 3.10.1 (main, Mar 24 2023, 21:25:11) [Clang 14.0.0 (clang-1400.0.29.202)]
LLVM: 16.0.6
Dr.Jit: 0.4.2
Mitsuba: 3.3.0
Is custom build? False
Compiled with: AppleClang 14.0.0.14000029
Variants:
scalar_rgb
scalar_spectral
llvm_ad_rgb
Description
I'd like to be able to render in a non blocking IO way. Currently the scene processes fine if I specify either the
emitter
orbsdf
for theshape
. I'm curious why the segmentation fault arises, because it works as expected insync
mode.Also, I used
asyncer
library, which seems to work, but can also be the culprit here.Steps to reproduce
The code below should work as is if you:
shape.obj
code.py
The text was updated successfully, but these errors were encountered: