-
Notifications
You must be signed in to change notification settings - Fork 492
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
MLT generates NaN ? #134
Comments
I don't see this problem anymore on the latest commit. The NaN error was obtained with pbrt code version actual on May 21, 2021. |
I tried to reproduce this and was having trouble, so I'm glad to hear it's now fixed. (In general, any time the renderer crashes, it's definitely a bug, so please do keep reporting those.) Good catch that |
@mmp
It seems that seed parameter has been activated recently in MLT, hopefully it will help debugging. |
Oh, I see. It seems to be the case of a triangle covering the entire hemisphere. Isn't there a way to rewrite the formulas to avoid division by zero? |
C++20 usage & other improvements
I am not sure wherever it is a bug or I am doing something wrong. I tried to use MLT integrator with regularization in Dambreak scene. After a couple of hours the rendering stopped with the following message:
pbrt was compiled with
-O3 -march=native
and the scene file is attached below.mlt_dambreak0.pbrt.txt
The text was updated successfully, but these errors were encountered: