Skip to content

Add browser viewer for point clouds and Gaussian splatting#3

Open
Create-your63 wants to merge 1 commit intomasterfrom
codex/create-web-point-cloud-viewer-with-splatting
Open

Add browser viewer for point clouds and Gaussian splatting#3
Create-your63 wants to merge 1 commit intomasterfrom
codex/create-web-point-cloud-viewer-with-splatting

Conversation

@Create-your63
Copy link
Copy Markdown
Owner

Motivation

  • Provide a simple in-repo web UI to visualize point clouds and Gaussian splatting scenes from remote or local-hosted assets in a single page with mode switching.
  • Make it easy to preview common 3D point formats (.ply, .pcd) and splat formats (.splat, .ksplat) without adding native build tooling.

Description

  • Added index.html as the viewer UI with mode selection, URL input, and a load button to switch between point and splat rendering.
  • Added styles.css to provide a responsive dark-themed layout and controls panel for the viewer.
  • Implemented app.js which initializes a Three.js scene with OrbitControls, supports PLY/PCD loading using PLYLoader/PCDLoader, integrates @mkkellogg/gaussian-splats-3d for splat scenes, manages lifecycle (clear previous scene, center camera on content), and starts/stops the splat viewer.
  • Updated README.md with a quick-start (python3 -m http.server 8080) and a note about CORS requirements for remote assets.

Testing

  • Performed repository smoke checks to confirm the new files (index.html, styles.css, app.js) are present and the README.md was updated, with file contents inspected successfully.
  • Performed basic runtime validation steps listed in the README by confirming the quick-start instruction is present as python3 -m http.server 8080 and the viewer can be served from the repository root (no automated browser tests were run).
  • No automated unit tests were added; all checks completed without errors.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant