-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Lighting doesn't work on certain 3D mesh plots #552
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
Closed
monfera opened this issue
May 19, 2016
· 5 comments
· Fixed by mikolalysenko/normals#2 or gl-vis/gl-mesh3d#5
Closed
Lighting doesn't work on certain 3D mesh plots #552
monfera opened this issue
May 19, 2016
· 5 comments
· Fixed by mikolalysenko/normals#2 or gl-vis/gl-mesh3d#5
Labels
bug
something broken
Comments
PRs that fix this issue: |
This was referenced May 20, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brain looks like a grey blob with undiscernible features. Cause is that specular reflection isn't active. Besides a
plotly.js
dependency ignoring the lighting parameters (fixed), there was a problem which resulted in very small triangles being omitted in specular light reflection calculation (also fixed). The triangles were very small - except 2-3 larger ones - because the brain mesh is intricately detailed to yield sufficient anatomical representation of the hemisphere surface, with over 300k points in the mesh.In this specific case, lighting isn't working and the result is an indistinguishable grey surface.
The text was updated successfully, but these errors were encountered: