Skip to content

Commit

Permalink
Create ar_demo.html
Browse files Browse the repository at this point in the history
  • Loading branch information
progmars authored Feb 23, 2024
1 parent bcf7fbe commit 118e9aa
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ar_demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!doctype html>
<html lang="lv">
<head>
<meta charset="utf-8">
<title>Progmāra papildinātās realitātes (AR) demo</title>
</head>
<body>
<h3>Šī lapa darbojas tikai tad, ja to atver Android vai iOS viedierīcē, kas atbalsta papildināto realitāti</h3>

<model-viewer src="robot.glb" ar ar-modes="webxr scene-viewer quick-look" camera-controls tone-mapping="commerce" shadow-intensity="1">
<button slot="ar-button" id="ar-button">
Apskati savā telpā
</button>
</model-viewer>

</body>
</html>

0 comments on commit 118e9aa

Please sign in to comment.