glue-viz / glue-ar

BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Allow binning opacities in voxel export #52

Closed Carifio24 closed 1 week ago

Carifio24 commented 1 week ago

This PR resolves #40 by allowing binning of opacities for the voxel export. Instead of specifying a bin count, this PR allows specifying the opacity resolution, and we then bin opacities by rounding to the nearest multiple of that value. This helps to (potentially) significantly reduce the number of materials without much visual impact (unless of course one makes the resolution very poor).