-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Isosurface opacity #3545
Isosurface opacity #3545
Conversation
@archmoj Is this one ready to review? |
@@ -235,10 +235,11 @@ colorscaleAttrs('', { | |||
|
|||
colorbar: colorbarAttrs, | |||
|
|||
contour: meshAttrs.contour, | |||
opacity: meshAttrs.opacity, |
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.
We should probably point out in the mesh3d attributes that the current behavior isn't perfect and may be subject to change in the (near) future cc #3243
Looks good! #3545 (comment) is my only comment. |
@etpinard Thanks for the review. |
Thanks @archmoj ! 💃 |
This PR enables
opacity
attribute forisosurface
traces.Also it addressed bug #3546 and removed the second drawings to find the edges see here.
In addition some improvements such as reduction of tolerance (to remove glitch in mesh generation #3547) are made in this PR. Various functions now return
true
orfalse
result in case triangles are generated. This information is stored in the first pass & could be used in second pass processes.This PR would be helpful for the
volume
PR #3488.@plotly/plotly_js
Before codepen.
After codepen.