Skip to content

Commit

Permalink
add avg 0580
Browse files Browse the repository at this point in the history
  • Loading branch information
niujinshuchong committed Jul 30, 2024
1 parent 6d24437 commit 0f53231
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions mip-splatting-demo/0580.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Mip-Splatting Demo - Garden</title>
<script type="text/javascript" src="js/util.js"></script>
<script type="text/javascript" src="enable-threads.js"></script>

<script type="importmap">
{
"imports": {
"three": "./lib/three.module.js",
"gaussian-splats-3d": "./lib/gaussian-splats-3d.module.js"
}
}
</script>
<style>

body {
background-color: #000000;
height: 100vh;
margin: 0px;
}

</style>

</head>

<body>
<script type="module">
import * as GaussianSplats3D from 'gaussian-splats-3d';
import * as THREE from 'three';
const viewer = new GaussianSplats3D.Viewer({
'cameraUp': [0, -1, 0],
'initialCameraPosition': [-0.279,0.824,-1.389],
'initialCameraLookAt': [-0.87, 1.29, 1.21],
'halfPrecisionCovariancesOnGPU': true
});

let path = 'https://huggingface.co/datasets/ZehaoYu/mip-splatting/resolve/main/0580.ksplat'
viewer.loadFile(path)
.then(() => {
viewer.start();
});
</script>
</body>

</html>

0 comments on commit 0f53231

Please sign in to comment.