Skip to content

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Feb 15, 2019

This PR enables opacity attribute for isosurface 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 or false 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.

@archmoj archmoj added the bug something broken label Feb 15, 2019
@etpinard
Copy link
Contributor

@archmoj Is this one ready to review?

colorbar: colorbarAttrs,

contour: meshAttrs.contour,
opacity: meshAttrs.opacity,
Copy link
Contributor

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

@archmoj
Copy link
Contributor Author

archmoj commented Feb 15, 2019

@archmoj Is this one ready to review?

Yes please. @etpinard I thank you in advance!

@etpinard
Copy link
Contributor

Looks good!

#3545 (comment) is my only comment.

@etpinard etpinard added this to the v1.45.0 milestone Feb 15, 2019
@archmoj
Copy link
Contributor Author

archmoj commented Feb 16, 2019

Looks good!

#3545 (comment) is my only comment.

@etpinard Thanks for the review.
In respect to your comment, it is done in abc8ae2.

@etpinard
Copy link
Contributor

Thanks @archmoj !

💃

@archmoj archmoj merged commit 0714286 into master Feb 18, 2019
@archmoj archmoj deleted the isosurface-opacity branch February 18, 2019 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken feature something new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants