Files
yic03685andClaude Opus 4.8 0a2f4041e9 Add Preview Gaussian (Arrow Nav) node
A self-contained ComfyUI custom node: a Gaussian Splatting previewer with
keyboard navigation on top of the standard gsplat.js mouse controls.

  Up/Down            zoom in/out
  Left/Right         orbit horizontally
  PageUp/PageDown    tilt up/down (Shift+Up/Down alias)
  mouse wheel/drag   still work

Navigation reuses gsplat OrbitControls' own wheel/drag handlers via synthetic
events (per animation frame while held), so dampening and clamping match the
mouse exactly. Viewer HTML + gsplat bundle are vendored from comfy-3d-viewers
so the node does not depend on GeometryPack's startup file-copy.

GPL-3.0-or-later; adapts/vendors GPL code from comfy-3d-viewers and
ComfyUI-GeometryPack.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 16:08:57 -07:00

7 lines
255 B
Python

from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
# Tells ComfyUI to serve everything under ./web (the gsplat viewer + widget JS).
WEB_DIRECTORY = "./web"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]