Skip to content

Lighting doesn't work on certain 3D mesh plots #552

Closed
@monfera

Description

@monfera

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.

image

In this specific case, lighting isn't working and the result is an indistinguishable grey surface.

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions