-
Notifications
You must be signed in to change notification settings - Fork 359
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
Deprecate the ugly perspective -JG syntax and introduce a modern form #5780
Conversation
While this is backwards compatible, the new form uses optional modifiers. This PR updates the documentation, the example script in the cookbook, but have not changed the test scripts (yet) to make sure both forms work.
While @Esteban82 has approved this one (since it works), if anyone has comments or changes to the particular choices of modifiers then now is a good time. FYI, here is the three test results for varying altitude, azimuth, and view restriction: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New syntax looks nice. I did not test it since that's already been done.
Co-authored-by: Meghan Jones <meghanj@alum.mit.edu>
While this is backwards compatible, the new form uses optional modifiers. This PR updates the documentation, the example script in the cookbook, but have not changed the test scripts (yet) to make sure both forms work.
New syntax
-Jg|Glon0/lat0/scale|width[+aazimuth][+ttilt][+vvwidth/vheight][+wtwist][+zaltitude]
Old syntax
-Jg|Glon0/lat0/altitude/azimuth/tilt/twist/Width/Height/scale|width
I have added three new tests that explores variations in azimuth, altitude, and view window. I will add similar tests for twist and tilt later.
The documentation, doc examples, doc scripts and animations using the perspective projection have been updated to reflect the new syntax. We will leave old tests scripts for backwards testing and add new scripts using the modernized format.