nianticlabs / spz

File format for 3D Gaussian splats. About 10x smaller than the PLY equivalent with virtually no perceptible loss in visual quality. Offered as open source by Niantic Labs. More details at https://scaniverse.com/spz #3dgaussiansplats #gaussiansplatting
https://scaniverse.com
MIT License
346 stars 25 forks source link

Explicit width type usage for `numPoints`? #6

Open hobu opened 1 month ago

hobu commented 1 month ago

The size of int can be platform specific. Is there any possibility of defining https://github.com/nianticlabs/spz/blob/main/src/cc/splat-c-types.h#L14 as a type of explicit width like int32_t or uint64_t or something?

dzeitman commented 1 month ago

@hobu Agreed.

nbutko commented 1 month ago

@hobu happy to update this (or approve a merge request), question: should antialiased be uint8_t instead of bool?