Skip to content

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Feb 7, 2019

This PR speeds up the process of calculating the normals for isosurface mesh components (slices, caps, spaceframes & surfaces) by enabling flatshading and setting lighting.facenormalsepsilon to zero as defaults for this trace type.
A comparison between the two highlights significant time reduction (more than 2 times faster).
Before
After
@plotly/plotly_js

@etpinard etpinard added this to the v1.45.0 milestone Feb 7, 2019
@archmoj archmoj mentioned this pull request Feb 11, 2019
@etpinard
Copy link
Contributor

Nicely done 💃 but let's wait until 1.44.4 is out before merging.

@etpinard
Copy link
Contributor

💃 let's start merging things for 1.45.0!

@archmoj archmoj merged commit 8098c71 into master Feb 12, 2019
@archmoj archmoj deleted the speedup-isosurface branch February 12, 2019 20:46
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