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: Shubham Sharma <shubhamsharma@esri.com>
  • Loading branch information
TADraeseke and shubham7109 authored Jan 13, 2025
1 parent 7b5507e commit 849744f
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 @@ -17,7 +17,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`.
2. For this sample, the `anchorPoint` is set to coordinates the at the center of the buildings in the `ArcGSISceneLayer` to give the impression that the scene is centered on the location the user tapped.
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.
4. Set the `clippingDistance` to clip the scene to the area you want to show.
Expand Down

0 comments on commit 849744f

Please sign in to comment.