-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warpprb
only works properly when there is a triangle mesh in the scene
#17
Comments
Hi, Thanks for the detailed bug report. I am not surprised that the I unfortunately don't have time right now to properly look at this. I would suggest to see if the integrator base class does something different if a mesh is together. There should be some logic to switch between using optix (when meshes are present) and the simple case when we only have an SDF. Otherwise, you can also try using an LLVM variant, as the LLVM compiler is a lot faster than the Optix compiler. For the last error (remain==1): are you using the latest Mitsuba/drjit? If not, can you try updating to their latest releases? |
Thanks for your reply! I'm looking into the base For the last error (remain==1), I confirm that I am using the lastest pypi prebuilt mitsuba, drjit and fastsweep on Python 3.10.11 on Linux. Should I post an issue to the Mitsuba3 repo?
|
Posting an issue on the Mitsuba issue tracker only really makes sense if you can reproduce the problem in a more minimal example. Otherwise it would just be too difficult to debug. Does it also happen when running some of the tutorials? |
Unfortunately, I only encounter this problem when running this project, and only in |
I see. Yes in that case your best bet is to try to simplify the script further and further until you can isolate the problem. |
I want to use the
warpprb
config instead ofwarp
in a multiview setting, as it can model indirect illumination effects. However, it does not work properly when the scene only contains an SDF and no mesh. Strangely, it works properly when the scene contains a mesh, even if it is far away and not seen by any camera. Since adding a mesh to the scene greaterly slows down the JIT compilation of the CUDA backend, I really want to fix the issue and allow optimizing a scene that only contains an SDF.How to reproduce:
warpprb
config is only used on themirror-opt
scene. I confirm it works properly on that scene:yields
convergence2.mp4
--optconfig
frommirror-opt-hq
fromno-tex-12
also works:yields
convergence2.mp4
Note that three views are completely blocked by the wall.
<shape type="rectangle">
meshes inmirror-opt.xml
(scene file at mirror-opt-2.zip) however, does not work properlyyields
convergence2.mp4
yields
convergence2.mp4
Note
Some videos are shorter than others because I often encounter a crash
Thus, the optimization stops before running for full iterations.
The text was updated successfully, but these errors were encountered: