evertims icon indicating copy to clipboard operation
evertims copied to clipboard

Raytracer crash with a blocker

Open dingzeyuli opened this issue 8 years ago • 6 comments

Hi, when I try to do the auralization in a scene like this, the raytracer keeps crashing. The only new element in this scene is the center blocker. I tried to increase the reflection order, it seems to help a little bit, but overall the IMS module still crashes when I move the source around the blocker.

Usually the plugin can be fixed by simply stopping and starting the raytracing module and the on-the-fly aurualization. Do you guys know what might cause this problem? Any possible loophole in the raytracer in the case of multiple bounces? Thank you!

image

ims_2017-05-02-153952_pixels.crash.txt

blocker.blend.zip

dingzeyuli avatar May 02 '17 19:05 dingzeyuli

Indeed, and a hard one (most likely related to multithread based on the logs). searching...

PyrApple avatar May 02 '17 21:05 PyrApple

Thanks for the feedback! When I move the source or listener slowly, the raytracer crashes much less frequently. I guess if the previous multi-threaded raytracing has not completed, new movement happens and triggers a new round of rays. This might have led to the crashing.

Besides the geometry built-in to blender, can I import custom shapes? I made a mesh with OpenSCAD and it seems the raytracer is not behaving correctly. Is there any requirement for the input mesh? mesh quality? topology limit?

office.stl.zip

image

dingzeyuli avatar May 03 '17 15:05 dingzeyuli

@PyrApple: After some trials, I realize the raytracer handles quad meshes much better than tri meshes. At least, no more penetration happens after I switch to quad mesh.

Yet, in the case of the a door and a hallway, the engine still fails. It either computes a wrong acoustic decay or crashes again like in the triangle mesh cases. I was wondering if you have some already-verified complex scene that I can play with? Something more complex than the square room? Thank you very much.

dingzeyuli avatar May 03 '17 19:05 dingzeyuli

Quad vs Tri mesh, you're definitely right there. No official complex model that I can share for the moment, yet would be pleased to handle one of yours that highlights a bug in acoustic decay estimation. Would you mind opening a new thread on that and keep this one for the blocker issue?

PyrApple avatar May 03 '17 21:05 PyrApple

@PyrApple Okay! I will upload my slightly more complex model in a new thread.

Since you have worked on this acoustic simulator for a while, are you aware of other similar project or software that has similar functionalities? Thanks a lot!

dingzeyuli avatar May 03 '17 21:05 dingzeyuli

Non-exhaustive listing of auralization / spatialization software: EVERTims page on my personal website.

PyrApple avatar May 12 '17 09:05 PyrApple