Skip to content

Fix/point size lod snap - #37

Merged
nikste merged 3 commits into
masterfrom
fix/point-size-lod-snap
May 22, 2026
Merged

Fix/point size lod snap#37
nikste merged 3 commits into
masterfrom
fix/point-size-lod-snap

Conversation

@nikste

@nikste nikste commented May 22, 2026

Copy link
Copy Markdown
Owner

No description provided.

nikste added 3 commits May 22, 2026 12:19
During camera interaction the viewer renders a coarse LOD pass that serves
large world-space octree centroid splats, then a delayed fine pass replaces
them with the smaller per-point sizes. With the previous parameters the
splats were noticeably larger than the final points and lingered for up to a
second, so points appeared too large and then snapped back to normal size.

- point_cloud.h: raise the coarse-pass LOD fudge_factor from 0.25 to 0.5 so
  the octree descends deeper during interaction (smaller centroid splats,
  smaller size discontinuity vs. the fine pass)
- viewer.h: shorten the fine-render debounce after wheel-zoom (500ms -> 100ms)
  and window expose (1000ms -> 200ms) so corrected sizes appear promptly
Release the query_point() screen-picking feature (already on master) together
with the interactive point-size fix.

Also brings setup.py and docs/source/conf.py up from a stale 0.1.1 so every
version location agrees with pyproject.toml and pptk.__version__ (enforced by
tests/test_build.py::test_pyproject_version_matches_pptk).
uv build runs CMake automatically via the setuptools build_ext, so the
manual "configure _cmake_build, then uv build" steps were unnecessary.

- document the single-command build (uv build) and that it's what CI runs
- warn against running build/install commands from inside _cmake_build/
  (a stale copied setup.py there produces a broken, mis-versioned build)
- document the PPTK_FORCE_CMAKE=1 force-rebuild escape hatch (setup.py skips
  cmake when artifacts already exist)
- add an editable dev-install section and a fast single-target rebuild loop
- add libgl1-mesa-dev to the apt deps (the release CI installs it)
@nikste
nikste merged commit 8015f85 into master May 22, 2026
2 checks passed
@nikste
nikste deleted the fix/point-size-lod-snap branch May 22, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant