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

Increase the speed of isosurface creation #3521

Merged
merged 3 commits into from
Feb 12, 2019
Merged

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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants