-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
65 additions
and
45 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 |
---|---|---|
@@ -1,19 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Blaues Wunder</title> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml"> | ||
<link rel="alternate icon" href="/assets/favicon.ico" type="image/png" sizes="16x16"> | ||
<link rel="apple-touch-icon" href="/assets/apple-touch-icon-180x180.png" sizes="180x180"> | ||
<link rel="mask-icon" href="/assets/favicon.svg" color="#FFFFFF"> | ||
<meta name="theme-color" content="#ffffff"> | ||
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script> | ||
<!-- we import arjs version without NFT but with marker + location based support --> | ||
<script src="https://raw.githack.com/AR-js-org/AR.js/dev/aframe/build/aframe-ar.js"></script> | ||
<body style="margin : 0px; overflow: hidden;"> | ||
<a-scene embedded arjs> | ||
<a-marker preset="hiro"> | ||
<a-entity | ||
position="0 0 0" | ||
rotation="0 90 0" | ||
scale="0.05 0.05 0.05" | ||
gltf-model="assets/bridge-v2.glb" | ||
></a-entity> | ||
</a-marker> | ||
<a-entity camera></a-entity> | ||
</a-scene> | ||
</body> | ||
</head> | ||
|
||
<body style="margin : 0px; overflow: hidden;"> | ||
<div style='z-index: 10000; position: fixed; right: 20px; top: 20px; background-color: antiquewhite;'> | ||
<h1>Scan <a href="https://seigedigital.github.io/blaueswunder/assets/marker.png">this picture</a> to see content through the camera.</h1> | ||
</div> | ||
<a-scene gltf-model="dracoDecoderPath: https://www.gstatic.com/draco/versioned/decoders/1.5.7/" embedded arjs> | ||
<a-marker preset="hiro"> | ||
<a-entity | ||
position="0 0 0" | ||
rotation="0 90 0" | ||
scale="0.05 0.05 0.05" | ||
gltf-model="assets/bridge-v2-draco.gltf" | ||
></a-entity> | ||
</a-marker> | ||
<a-entity camera></a-entity> | ||
</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