Skip to content
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

Bugfix for NaN gradients in SPH lighting fitting. #554

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

Bugfix for NaN gradients in SPH lighting fitting.

Perfectly camera aligned normals(0.0, 0.0, 1.0), results in some edge case computations in both the Legendre polynomial and cartesian to spherical calculations. This change introduces epsilon values in those cases to ensure NaNs are not generated.

@google-cla google-cla bot added the cla: yes label Apr 12, 2021
@copybara-service copybara-service bot force-pushed the test_368066194 branch 3 times, most recently from 538f0aa to cabc12b Compare May 6, 2021 18:22
@copybara-service copybara-service bot force-pushed the test_368066194 branch 3 times, most recently from df59c32 to 9cd0fef Compare February 8, 2024 00:06
Perfectly camera aligned normals(0.0, 0.0, 1.0), results in some edge case computations in both the Legendre polynomial and cartesian to spherical calculations. This change introduces epsilon values in those cases to ensure NaNs are not generated.

PiperOrigin-RevId: 368066194
@copybara-service copybara-service bot closed this Mar 13, 2024
@copybara-service copybara-service bot deleted the test_368066194 branch March 13, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant