glue-viz / glue-ar

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

Determine more robust method for sphere size #10

Closed Carifio24 closed 3 months ago

Carifio24 commented 10 months ago

The sphere sizing in the scatter layer export defined here should get another look. This is just something that seemed to work well for the initial examples that I was looking at, and I'm not sure how specific it is to e.g. the bounds of the data I was looking at.

Carifio24 commented 10 months ago

This has gotten better with #12 and should be even more so with #15. After thinking about this some more, it's going to be somewhat impossible to match the glue vispy viewer completely. The reason is that the glue vispy viewer doesn't "accurately" depict 3D points in space - the point size is fixed in screen space, not world space (in particular, glue is using scaling="fixed"). To see an example of this, zoom in and out and watch a particular point - it never gets any larger or smaller. That's obviously no good for an AR context - the output needs to feel like it actually lives in 3D like a real object.)

Carifio24 commented 3 months ago

This was addressed some more in #35 and I think should be okay now, but I'll reopen this if we see continued issues.