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

Automatic alignment of ticks in 3D scenes (module: gl-plot3d) #15

Merged
merged 5 commits into from
Oct 23, 2018

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Oct 20, 2018

This PR could improve automatic alignment of ticks on 3D axes. The best single orientation for each axis (depending on the camera position and orientation) is found and used by vertex shader.
In the earlier work it was possible for the ticks on an axis to align themselves in two different directions and stay upwards. But such behavior was not completely desirable in some perspective views. Please refer to Plotly PR 3131 regarding the tests & more info.
@alexcjohnson

@alexcjohnson
Copy link
Contributor

💃 (once gl-axes3d is relinked to a new published version)

@archmoj archmoj merged commit 780ce46 into master Oct 23, 2018
@archmoj archmoj deleted the align-ticks branch October 23, 2018 14:02
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.

2 participants