Skip to content

Commit a438d5d

Browse files
committed
Orbit Control
1 parent f44fc6e commit a438d5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
<head>
44
<script src="https://aframe.io/releases/1.4.2/aframe.min.js"></script>
55
<script src="https://quadjr.github.io/aframe-gaussian-splatting/index.js"></script>
6+
<script src="https://unpkg.com/[email protected]/dist/aframe-orbit-controls.min.js"></script>
7+
<script src="https://quadjr.github.io/aframe-gaussian-splatting/index.js"></script>
68
</head>
79
<body>
810
<a-scene renderer="antialias: false" stats>
11+
<a-entity camera look-controls="enabled: false" orbit-controls="target: 0 2 0; minDistance: -10000; initialPosition: 0 0 0; rotateSpeed: 0.5"></a-entity>
912
<a-entity gaussian_splatting="src: https://huggingface.co/NikV09/SplaTAM_S1/resolve/main/SplaTAM_S2_scaled.splat;" rotation="0 0 0" position="0 1.5 -2"></a-entity>
1013
<a-sky color="#FFFFFF"></a-sky>
1114
</a-scene>

0 commit comments

Comments
 (0)