Skip to content

Commit

Permalink
Update samples/augment-reality-to-show-tabletop-scene/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: hud10837 <hmiears@esri.com>
  • Loading branch information
TADraeseke and hud10837 authored Jan 14, 2025
1 parent f220702 commit 74325d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/augment-reality-to-show-tabletop-scene/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ NOTE: [Google Play Services for AR](https://play.google.com/store/apps/details?i

## How it works

1. Create a `TableTopSceneView` with `anchorPoint`, `translationFactor`, `clippingDistance`, and a `scene`.
1. Create a `TableTopSceneView` with `arcGISSceneAnchor`, `translationFactor`, `clippingDistance`, and an `arcGISScene`.
2. For this sample, the `anchorPoint` sets coordinates at the center of the buildings in the `ArcGSISceneLayer` to give the impression that the scene is centered on the location the user tapped.
3. Set the `translationFactor` such that the user can view the entire scene by moving the device around it. The translation factor defines how far the virtual camera moves through the scene when the physical camera moves.
-A good formula for determining translation factor to use in a tabletop map experience is translationFactor = sceneWidth / tableTopWidth. The scene width is the width/length of the scene content you wish to display in meters. The tabletop width is the length of the area on the physical surface that you want the scene content to fill. For simplicity, the sample assumes a scene width of 800 meters.
Expand Down

0 comments on commit 74325d8

Please sign in to comment.