Skip to content

bgofish/LFS_FPNav_Plugin

Repository files navigation

FP_Navigation — First-Person Walk Mode

A LichtFeld Studio plugin for first-person walk-mode navigation of 3D Gaussian Splat scenes. Movement is horizontal and height-locked to a configurable floor level so you stay on the ground plane.


Default Key Bindings

Key Action
Turn to left (yaw around world Y)
Turn to right (yaw around world Y)
Move forward (horizontal, floor-locked)
Move backward (horizontal, floor-locked)
Q Tilt head down (pitch)
E Tilt head up (pitch)

All bindings are active when the viewport has focus - [You will need to click your mouse cursor in the main view].

Pitch is clamped to ±80° so the camera cannot flip over.

Keys can be set in the plugin FPN_Settings.json file.


Installation

Not on the Market place yet so if you want to try it : Paste https://github.com/bgofish/LFS_FPNav_Plugin into the Plugin.Installer from within LichtFeld Studio.

image

If you want to use it everytime: set to [Load on Startup] (Grid view required)

image

Usage

  1. Open a scene with a loaded Gaussian splat.
  2. Click inside the 3D viewport to give it focus - this is important to "link to the view"
  3. Open the FP Nav panel (main panel tabs).
  4. Optionally move the camera to your desired eye height and press Set Floor to Eye Y to lock the floor at that level.
  5. Use / to turn, / to move forwards/backwards, Q / E to look down/up.
  6. Press Set [Home] to bookmark a position and Goto [Home] to return.
  7. There are 6 other custom view slots that will have a tick beside them when set
  8. Both [Home] & [V1 to V6] are saved in the FPN_settings.json file so are able to be copied across projects
  9. The settings buttons are repeated at the bottom for convenience.
  10. view creation buttons can be locked to avoid accidental overwriting
  11. numpad views - can be 'automatically' or manually set (Auto currently only works for models with a 0,0,0 centroid).
image

Panel Reference

image

Configuration & Persistence

All settings are adjusted live in the FP Nav panel and saved manually to FPN_settings.json in the plugin folder:

Important - there is a current BUG that the settings are being ignored on load so press: Settings [Load] to load your settings !

Setting Default Description
Movement step 0.25 m World units moved per forward/backward key press
Turn step 5.0° Degrees rotated per left/right key press
Tilt step 3.0° Degrees pitched per Q/E key press
Floor Y 0.0 Camera Y is clamped to this value during movement
Key bindings see above Customisable if needed (Stored as GLFW key codes)
<plugin_folder>/fp_navigation/FPN_settings.json
image

License

MIT — free to use, modify, and redistribute.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages