... | @@ -190,7 +190,7 @@ const onXRFrame = (time, frame) => { |
... | @@ -190,7 +190,7 @@ const onXRFrame = (time, frame) => { |
|
session.requestAnimationFrame(onXRFrame);
|
|
session.requestAnimationFrame(onXRFrame);
|
|
```
|
|
```
|
|
|
|
|
|
## Cube Demo results
|
|
## Cube Demo result
|
|
Navigate to the webpage you created from your device. You should be able to view a colored cube from all sides.
|
|
Navigate to the webpage you created from your device. You should be able to view a colored cube from all sides.
|
|
|
|
|
|
![cube](uploads/04c30eea2b53aee8d28918f739647533/cube.gif)
|
|
![cube](uploads/04c30eea2b53aee8d28918f739647533/cube.gif)
|
... | @@ -305,7 +305,7 @@ session.addEventListener("select", (event) => { |
... | @@ -305,7 +305,7 @@ session.addEventListener("select", (event) => { |
|
});
|
|
});
|
|
```
|
|
```
|
|
|
|
|
|
## Tap to Place results
|
|
## Tap to Place result
|
|
Use your mobile device to navigate to the page. After WebXR builds an understanding of the environment, the reticle should appear on real-world surfaces. Tap the screen to place a sunflower, which can be viewed from all sides.
|
|
Use your mobile device to navigate to the page. After WebXR builds an understanding of the environment, the reticle should appear on real-world surfaces. Tap the screen to place a sunflower, which can be viewed from all sides.
|
|
|
|
|
|
![hit](uploads/4d2ded22b60a5a7a91c11b3d4f33a1ad/hit.gif)
|
|
![hit](uploads/4d2ded22b60a5a7a91c11b3d4f33a1ad/hit.gif)
|
... | | ... | |