Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions examples/depth_ml.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>
<head>
<style>
body {
margin: 0;
}
</style>
</head>
<body>
<script>
if (window.browser.magicleap) {
window.browser.magicleap.RequestDepthPopulation(true)
}
</script>
</body>
</html>
8 changes: 6 additions & 2 deletions examples/realitytabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
name: 'Image tracking',
url: 'imagetracking_ml.html',
},
{
name: 'Depth population',
url: 'depth_ml.html',
},
{
name: 'Microphone',
url: 'microphone.html',
Expand Down Expand Up @@ -2258,10 +2262,10 @@
renderer.vr.setDevice(display);
renderer.vr.setAnimationLoop(animate);

if (window.browser && window.browser.magicleap) {
/* if (window.browser && window.browser.magicleap) {
window.browser.magicleap.RequestDepthPopulation(true);
renderer.autoClearDepth = false;
}
} */

_openUrl('tutorial.html');
_updateRigLists();
Expand Down