glue-viz / glue-ar

https://glueviz.org/glue-ar/
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Explore removing PyVista dependency #32

Closed Carifio24 closed 3 months ago

Carifio24 commented 4 months ago

While PyVista has generally worked well for us so far for exporting, there are some issues with how the isosurface glTF files get autoconverted to USDZ by model-viewer. Since we don't really have any control over how the glTF is constructed, it should give us more flexibility to deal with these sorts of things if we're constructing the glTF (and potentially USD) files ourselves.

I've already got a basic working single-layer prototype of this for the volume exports (using marching cubes and constructing the glTF directly with gltflib). Should be relatively straightforward, I think, to extend this for the scatter as well.