Commit Graph
2 Commits
Author SHA1 Message Date
f-dy 5e788b38d4 feat(splatfacto): record antialiased mode as SplatRenderMode PLY comment
On Gaussian Splat export, write a 'SplatRenderMode: mip|default' PLY
header comment derived from the model's rasterize_mode so viewers can
select a matching rasterization mode. 'mip' is the antialiased mode;
'default' is classic.

- ExportGaussianSplat.write_ply gains an optional 'antialiased' arg
  (None keeps the previous no-comment behavior); export main() passes
  model.config.rasterize_mode == 'antialiased'
- splatfacto exposes rasterize_mode as a disabled/frozen viewer dropdown
  (the viewer renders the live model, so the mode is read from config)
- add a test asserting the comment is written for mip/default/none
2026-07-25 23:13:27 +02:00
Mathijs Henquet bc9328c7ff GaussianSplats export: allow uint8 in ply (#3111)
* GaussianSplats export: allow uint8 in ply

* Ruff formatting

* Add test and narrower typing

* Formatting

* Revert narrow typing, not supported by old python

* Fix typing for old pythons
2024-04-29 14:30:25 -04:00