MetaCell / geppetto-meta

Other
4 stars 4 forks source link

NRRD format integration to MeshFactory #496

Open enicolasgomez opened 1 year ago

enicolasgomez commented 1 year ago

Goal is, similar as we've previously done with already supported formats (OBJ, GLTF, etc) we should add a loader for the mentioned format:

https://github.com/MetaCell/geppetto-meta/blob/b40447e75214b8c4a593180ed522ad24dabe8358/geppetto.js/geppetto-ui/src/3d-canvas/threeDEngine/MeshFactory.js#L54

There's already an isolated viewer in here.

https://github.com/MetaCell/geppetto-meta/issues/417

One of the known challenges of this format is that the volume box is defined on the specification header: https://teem.sourceforge.net/nrrd/format.html

So we've previously encountered issues when using the ThreeJS Canvas instance we are running on geppetto-meta, as the following items seem to be defined on the header:

This card closes #417 as this is the actual integration to the code base.

enicolasgomez commented 1 year ago

On a side note, as performance will be a challenge, consider https://github.com/google/neuroglancer