How opsiclear-4dgs/freetimegsvanilla works
FreeTimeGSVanilla reconstructs dynamic scenes from multi-view video: COLMAP-backed frame data and keyframe motion initialization feed 4D Gaussian training, which produces checkpoints and portable scene exports for native or browser viewing. The browser player also supports TSOG packages, audio, playback controls, embedding, navigation, and WebXR. The graph preserves these documented capabilities; some player internals and dataset utilities are included without inferred call links because their wiring was not shown.
Main entry points: simple_trainer_freetime_4d_pure_relocation.py 4D Gaussian trainer · app.js Player application · FreeTime_dataset.py Frame dataset · combine_frames_fast_keyframes.py Keyframe motion prep
Components 30
Scene data
- COLMAP model I/O
datasets/read_write_model.py - Frame dataset
datasets/FreeTime_dataset.py - Scene normalization
datasets/normalize.py - Camera trajectories
datasets/traj.py - Keyframe motion prep
src/combine_frames_fast_keyframes.py
Model training
- 4D Gaussian trainer
src/simple_trainer_freetime_4d_pure_relocation.py - Training policy
src/training_policy.py - Foreground loss
src/foreground_loss.py - Temporal model math
src/freetime_ops.py - Model initialization
src/init_common.py - Video output
src/video_io.py
Export and viewing
- FTGS PLY export
src/export_ftgs_ply.py - Native 4D viewer
src/viewer_4d.py
Browser playback
- Player application
player/app.js - Scene playback
player/player.js - Gaussian renderer
player/renderer.js - FTGS decoder
player/ftgs.js - TSOG decoder
player/tsog.js - Audio playback
player/audio.js - Playback controls
player/playback.js - Camera navigation
player/camera.js - WebXR AR
player/xr.js - Embedding API
player/embed.js - Player bridge
player/bridge.js - Player shell
player/shell.js - Demo scene
player/demo.js - TSOG packaging
player/tsog-package.js - TSOG validation
player/tsog-validate.js
Other components
- Scene author
- Player user
Connections 21
- Scene author → Keyframe motion prep: prepares frames
README.md - Keyframe motion prep → 4D Gaussian trainer: initializes training
README.md - 4D Gaussian trainer → Frame dataset: loads frames
src/simple_trainer_freetime_4d_pure_relocation.py - 4D Gaussian trainer → Training policy: applies phases
src/simple_trainer_freetime_4d_pure_relocation.py - 4D Gaussian trainer → Foreground loss: uses loss
src/simple_trainer_freetime_4d_pure_relocation.py - 4D Gaussian trainer → Temporal model math: uses equations
src/simple_trainer_freetime_4d_pure_relocation.py - 4D Gaussian trainer → Model initialization: uses initialization
src/simple_trainer_freetime_4d_pure_relocation.py - 4D Gaussian trainer → Video output: writes video
src/simple_trainer_freetime_4d_pure_relocation.py - 4D Gaussian trainer → FTGS PLY export: exports model
src/simple_trainer_freetime_4d_pure_relocation.py - FTGS PLY export → Temporal model math: validates model
src/export_ftgs_ply.py - 4D Gaussian trainer → Native 4D viewer: supports viewing
- Frame dataset → Scene normalization: uses transforms
datasets/FreeTime_dataset.py - Frame dataset → COLMAP model I/O: reads poses
- 4D Gaussian trainer → Camera trajectories: uses camera paths
src/simple_trainer_freetime_4d_pure_relocation.py - Player user → Player application: opens player
README.md - Player application → Scene playback: creates player
player/app.js - Player application → Player bridge: attaches bridge
player/app.js - Player application → Player shell: mounts shell
player/app.js - Player application → Demo scene: loads demo
player/app.js - Scene author → TSOG packaging: packages TSOG
README.md - Scene author → TSOG validation: validates TSOG
README.md