Skip to content

Comments

view mesh and skeleton together in 3d with microviewer#12

Merged
huangziwei merged 4 commits intomainfrom
view3d
Jun 14, 2025
Merged

view mesh and skeleton together in 3d with microviewer#12
huangziwei merged 4 commits intomainfrom
view3d

Conversation

@huangziwei
Copy link
Collaborator

@huangziwei huangziwei commented Jun 14, 2025

Added optional support for microviewer (pip install "skeliner[3d]").

import skeliner as sk
sk.plot.view3d(skel, mesh, box=None) 
              # self-defined bounding box, default is None, 
              # which will use the extends of the mesh
# alternatively sk.plot3d(skel, mesh, box=(0,0,0, 1200, 1200, 100))
Screenshot 2025-06-14 at 17 23 20

But we need to wait for an upstream fix of the mesh opacity before merging.

seung-lab/microviewer#11

(turns out, this is not a bug in microviewer but we need to provide an id to keep track of the pair. fixed in #8bd0bf0)

we can still wait until the next microviewer release (which will add right click camera recentering) but this can definitely be merged now.

@huangziwei huangziwei merged commit 19aa6ce into main Jun 14, 2025
4 checks passed
@huangziwei huangziwei deleted the view3d branch June 14, 2025 15:54
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.

1 participant