π‘Tutorial 2: Use Immersal's Visual Positioning System for AR Exhibition
In this step-by-step guide, you'll learn how to leverage Immersal's powerful capabilities to seamlessly place and interact with a virtual TV in your real-world environment.

Chapter 1: Preparation
Chapter 2: Creating an AR Scene
Chapter 3: Replacing Point Cloud Data
Chapter 4: Placing the Virtual TV
Chapter 5: Adding a Video Player
Chapter 6: Interaction and User Experience
Chapter 7: Debugging, Building, and Deploying to Mobile
Chapter 8: Conclusion
Chapter 1: Getting Started
Prerequisites

download data with .bytes format
Chapter 2: Creating the AR Scene
2.1: Creating a New Scene

Duplicate a scene, rename to "ARScene"
2.2: Adding HoloKit AR Components

Add HoloKitCameraManager Component
2.3 Adding a Button for Rendering Mode Switching

Section 3: Replacing Pointcloud


Delete unnecessary "AR Map" objects 
Replace point cloud file with your own
Section 4: Placing the TV Model
4.1: Obtaining a 3D TV Model

4.2: Importing the TV Model

Create "Meshes" folder 
Make sure you have imported both folders, "source" and "texture," to ensure you have all the necessary files


Extract Materials 
Material "M_FlatScreen" 

Section 5: Adding a Video Source
5.1: Preparing Video Content

5.2: Setting Up Video Playback

Create folder and add video file 
Add Video Player component 
Add Video Clip and check loop option 
Set size to 1920*1080 
Add Target Texture
5.3 Set the TV screen texture to display the video
Steps

Create a material and rename it to "M_Screen" 
Add Base Map 
Create a Quad and add material
5.4 Placing TV to our RealWorld



Chapter 6: Implementing AR Interaction

Click Add Component and search for "VideoPlayerController" 
Click Add Component and search for "ClickDetection" 



Chapter 7: Testing, Building and Deploying for iOS
7.1 Testing In Editor
7.2 Building and Deploying

Chapter 8: Conclusion
PreviousTutorial 3: Use Google Geospatial anchors to position real-world contentNextTutorial 1: Use Hand Tracking for Interacting with Holograms
Last updated


