-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
projection: Add orthographic projection utilities #504
Conversation
That looks neat! Would it be possible to allow helper-functions/krwargs to make ticks and axis-labels? E.g. This looks nice though. Easy to use and rotate round any axis. However, would this be much different from defining your object, and rhen rotating the entire thing? I am not sure what |
Adding axes with ticks should be a separate Element.
|
Alright, I can see how |
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.
This is really cool.
Standard extra stuff, manual, changelog, tests are still needed
97e501c
to
dd22dc6
Compare
47f6e0c
to
bccc1e8
Compare
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.
Update changelog first
@fenjalien Do we want to add this to 0.2.2? This is a non-breaking change. |
I don't see why not :) |
This PR adds some helper functions for setting up orthographic projection.
Three functions for drawing on different planes got added:
on-xy
,on-xz
andon-yz
.These allow elements which do not allow to be used with different z-coordinates to be drawn in 3D space without having to use rotations etc.
The new
ortho
function sets-up an isometric projection by default:There is no z-sorting (yet?).
Code