Graphene multiscale implementation
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 389
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 3
Description
Hi Jeremy,
I have been working on implementing the multiscale mesh layer for graphene. I think I have most of it in place (#460).
However meshes seem to disappear if zoomed out or zoomed in too much. See attached video:
https://user-images.githubusercontent.com/10362782/235819672-9b2547f9-c8dd-4de8-8e7a-08f578606196.mp4
Graphene manifest is generated following the octree specification [here](https://github.com/google/neuroglancer/blob/master/src/neuroglancer/mesh/multiscale.ts#L67).
However, a chunkedgraph octree node may contain more than 8 children and something we call "skip connections" - `parent_layer - child_layer >= 1` instead of `parent_layer - child_layer == 1` in a standard octree representation. I think this is not a problem (?) because we can still see the meshes.
Another thing to note is that graphene multiscale meshes are generated by simplifying the finest meshes at each layer. They are not generated by meshing downsampled segmentation. So technically we are trying to use the same meshes for both legacy and multiscale graphene mesh layers.
Let me know if you need anything else to look into this. Myself or @sdorkenw can provide additional details.
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.