Files
knsoandClaude Opus 5 fb38652e7f chore(controller): three-player-controller als Ordner statt Submodul
Das Submodul zeigte auf GitHub, der eingetragene Stand 028c652 lag aber nur
lokal vor: GitHub-Master ac39682 plus Showcase mit Figuren und launch.json.
Frische Klone konnten den Controller deshalb nicht laden. Jetzt liegt dieser
Stand als normaler Ordner im Repo, ohne Verweis auf GitHub.

dist/ und node_modules/ im Controller bleiben ignoriert und werden wie bisher
lokal gebaut.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 21:27:03 +02:00

85 lines
3.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>three-player-controller</title>
<link rel="stylesheet" href="./styles/common.css" />
<style>
html,
body {
height: 100%;
margin: 0;
}
#container {
overflow: hidden !important;
width: 100vw;
height: 100vh;
position: absolute;
background: transparent;
}
</style>
<script src="./loader.js" data-demo="3DGS Scene"></script>
</head>
<body>
<div id="container"></div>
<div class="hud" role="note" aria-label="Controls">
<div class="hint-move">
<div class="hint-cluster">
<div class="wasd">
<kbd class="wasd-w">W</kbd>
<kbd class="wasd-a">A</kbd>
<kbd class="wasd-s">S</kbd>
<kbd class="wasd-d">D</kbd>
</div>
<span class="hint-text">Move</span>
</div>
<div class="hint-cluster">
<div class="hint-mouse" aria-hidden="true">
<div class="hint-mouse-body">
<span class="hint-mouse-wheel"></span>
<span class="hint-mouse-nub"></span>
</div>
</div>
<span class="hint-text">Look</span>
</div>
</div>
<div class="hint-actions">
<div class="hint-group">
<span class="hint-keys"><kbd>Shift</kbd></span>
<span class="hint-text">Boost</span>
</div>
<div class="hint-group">
<span class="hint-keys"><kbd>Space</kbd></span>
<span class="hint-text">Jump</span>
</div>
<div class="hint-group">
<span class="hint-keys"><kbd>V</kbd></span>
<span class="hint-text">Toggle View</span>
</div>
<div class="hint-group">
<span class="hint-keys"><kbd>F</kbd></span>
<span class="hint-text">Toggle Fly</span>
</div>
<div class="hint-group">
<span class="hint-keys"><kbd>Z</kbd></span>
<span class="hint-text">Scale Character</span>
</div>
</div>
</div>
<div class="model-credit">
3DGS:
<a href="https://huggingface.co/datasets/spatialverse/InteriorGS/tree/main/0267_840790" target="_blank" rel="noopener noreferrer">Huggingface</a>
</div>
<a class="source" href="https://github.com/hh-hang/three-player-controller/blob/master/example/3dgs.js" target="_blank" rel="noopener noreferrer">
<img src="./img/source.svg" alt="" />
</a>
<script type="module" src="./control-hints.js"></script>
<script type="module" src="./3dgs.js"></script>
</body>
</html>