-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cutoutEntity and workflow documentation (#18)
* experiments with scanning * Create static.yml * add cutoutEntity selector property * add cutout box example * update initial camera position to show both splats * Delete .github/workflows/static.yml * clean up readme * restore original index.html * remove splats You can use the following URLs to access the model: https://huggingface.co/quadjr/aframe-gaussian-splatting/resolve/main/luma-seal.splat https://huggingface.co/quadjr/aframe-gaussian-splatting/resolve/main/polycam-seal.splat * migrate entity cutout demo to separate file * simpler readme, put splat credits in cutout-demo.html * fix line feed
- Loading branch information
Showing
3 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- splat sources | ||
# Seal Splat - SF Giant's Lou Seal statue | ||
* https://huggingface.co/quadjr/aframe-gaussian-splatting/resolve/main/luma-seal.splat | ||
- generated by [LumaLabsAI](https://lumalabs.ai/) from a video taken by @kfarr and downloaded from Luma (see workflow notes below). Capture here: https://lumalabs.ai/capture/87c3e8bc-374c-4ebe-9a04-7b00fc110514 | ||
* https://huggingface.co/quadjr/aframe-gaussian-splatting/resolve/main/polycam-seal.splat - generated by Polycam from still photos and downloaded from Polycam: https://poly.cam/capture/a7dd5e33-05ec-43a1-a5b9-abc655ad5885 | ||
--> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src="https://aframe.io/releases/1.4.2/aframe.min.js"></script> | ||
<script src="./index.js"></script> | ||
</head> | ||
<body> | ||
<a-scene renderer="antialias: false" stats> | ||
<a-entity position="0 1.6 -2.0" animation="property: rotation; to: 0 360 0; dur: 10000; easing: linear; loop: true"> | ||
<a-sphere position="0 0 0.5" radius="0.5" color="#EF2D5E"></a-sphere> | ||
<a-sphere position="0 0 -0.5" radius="0.5" color="#EF2D5E"></a-sphere> | ||
</a-entity> | ||
<a-entity camera position="5.132 1.6 7.237" wasd-controls look-controls ></a-entity> | ||
<a-box id="cutout-box" visible="false" scale="4.17 2.95 3.89" position="0.8145 1.73322 -2.35981"></a-box> | ||
<a-entity gaussian_splatting="src: https://huggingface.co/quadjr/aframe-gaussian-splatting/resolve/main/luma-seal.splat; cutoutEntity: #cutout-box" scale="2 2 2" rotation="0 0 0" position="0 0.8 -2"></a-entity> | ||
<a-entity gaussian_splatting="src: https://huggingface.co/quadjr/aframe-gaussian-splatting/resolve/main/luma-seal.splat;" scale="2 2 2" rotation="0 0 0" position="10 0.8 -2"></a-entity> | ||
<a-sky color="#000"></a-sky> | ||
</a-scene> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters