-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Invalid-matrix4f-for-worldviewprojectionmatrix assertion is hard to diagose #2275
Labels
Milestone
Comments
richardTingle
added a commit
to richardTingle/jmonkeyengine
that referenced
this issue
Jun 1, 2024
These are already caught by assertions in GLRenderer, but by that time it is unclear what call pushed in the bad values
richardTingle
added a commit
to richardTingle/jmonkeyengine
that referenced
this issue
Jun 1, 2024
These are already caught by assertions in GLRenderer, but by that time it is unclear what call pushed in the bad values
richardTingle
added a commit
to richardTingle/jmonkeyengine
that referenced
this issue
Jun 1, 2024
richardTingle
added a commit
to richardTingle/jmonkeyengine
that referenced
this issue
Jun 1, 2024
richardTingle
added a commit
to richardTingle/jmonkeyengine
that referenced
this issue
Jun 1, 2024
richardTingle
added a commit
to richardTingle/jmonkeyengine
that referenced
this issue
Jun 1, 2024
stephengold
pushed a commit
that referenced
this issue
Jun 1, 2024
* #2275 Improve assertions for invalid transforms. These are already caught by assertions in GLRenderer, but by that time it is unclear what call pushed in the bad values * #2275 Swap to use more generally available validation methods * #2275 Add license and javadoc * #2275 Correct copyright year * #2275 It is a quaternion
scenemax3d
pushed a commit
that referenced
this issue
Jun 2, 2024
* #2275 Improve assertions for invalid transforms. These are already caught by assertions in GLRenderer, but by that time it is unclear what call pushed in the bad values * #2275 Swap to use more generally available validation methods * #2275 Add license and javadoc * #2275 Correct copyright year * #2275 It is a quaternion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As seen in https://hub.jmonkeyengine.org/t/solved-error-invalid-matrix4f-for-worldviewprojectionmatrix/47680 and https://hub.jmonkeyengine.org/t/jmonkeyengine-v3-7-0-beta1-release/47653/12 the new assertion in GLRenderer catches incorrect setting of an objects position to infinity or NaN. However the assertion doesn't give much of a clue where the mistake was made. Just that it has.
I'm proposing adding some assertions to the Transform class in order to catch these mistakes "when they go in".
The text was updated successfully, but these errors were encountered: