-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Finalist - Improve rendering of lines in 3D (against disappearing in certain angles) issue #691 #3163
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
Conversation
Yes it was visible. And it should be fixed now. |
Great! Well done 💃 |
... after you publish a new |
Could you please give me a confirmation for the PR on gl-vis too? |
Hey wait, |
With the latest changes the difference between old image baselines (on current master) & new image baselines is much reduced. The |
That's great news. I say 💃 (unless @alexcjohnson find other suspicious things from the diff images) |
💃 |
This PR is the continuation of PR #3128 where the master is fetched and conflicts are resolved to facilitate the merge process.
Previously the angles computed in the gl-plot3d module necessary to match rectangle shapes towards camera point were not accurate. Therefore 2D representations of 3D lines were not oriented properly in various perspective angles. Disappearing and tininess impacts resulted from the bug could be clearly observed namely when the thicknesses of lines using scatter3d were increased. Please refer to the issue #691 for more information.
This PR improves rendering of lines in 3D scenes by performing proper 3D/2D calculations within the webgl vertex shader of the module.
@alexcjohnson
@etpinard