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

Fix #2800 ROMS DVR artifacts #2813

Merged
merged 3 commits into from
Jul 21, 2021
Merged

Fix #2800 ROMS DVR artifacts #2813

merged 3 commits into from
Jul 21, 2021

Conversation

StasJ
Copy link
Collaborator

@StasJ StasJ commented Jul 20, 2021

Fix #2800 and improve DVR support for non-hexahedral cells.

@clyne clyne requested review from clyne and shaomeng July 20, 2021 20:15
Copy link
Collaborator

@shaomeng shaomeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rendering images look good to me!

break;
}
if (t1-t0 <= EPSILON) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is t1 guaranteed to be greater than t0 (i.e. no need to take absolute value)? Will the comparison with EPSILON work regardless of the user coordinates (it's not clear what coordinate system t0, t1 are in)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

t represents distance along the view ray as in R=o+t*d. This is supposed to test t1 <= t0 rather than t1 == t0.

@clyne clyne merged commit 48b6f4b into main Jul 21, 2021
@clyne clyne deleted the issue2800 branch July 21, 2021 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DVR problem on ROMS data
3 participants