Nothing's in my cart
-
Introduction
-
Tracking modes
-
ArUco markers and marker-based tracking features
-
ArUco markers
-
Marker-based tracking features
-
-
Marker-Based Location Sharing setup
- Setting up Marker-Based Location Sharing
- Creating ArUco markers for Marker-Based Location Sharing
- Aligning the height of a virtual scene using an ArUco marker
- Moving a user to a specific point in a virtual scene
- Setting up Marker-Based Location Sharing with VIVE Business Streaming
- Marker-Based Location Sharing APIs (AIO)
- Marker-Based Location Sharing APIs (PC VR)
-
LBE Mode/LBE Hybrid Mode setup
-
LBE map configuration
-
Marker-Based Drift Prevention setup
-
Marker-Based Advanced Relocation setup
-
Marker-Based Scene Alignment setup
- Setting up Marker-Based Scene Alignment
- Configuring the position of an ArUco marker in a virtual scene (Unity)
- Creating ArUco markers for Marker-Based Scene Alignment
- Setting up Marker-Based Scene Alignment with VIVE Business Streaming
- Marker-Based Scene Alignment APIs (AIO)
- Marker-Based Scene Alignment APIs (PC VR)
-
Simulator VR Mode setup
- Setting up Simulator VR Mode
- Pairing wrist trackers with a headset
- Installing an anchor controller or tracker in a VR simulator
- Coordinate alignment
- Anchor controller and tracker origin points
- Aligning VR and anchor coordinate systems using a VR controller
- Aligning VR and anchor coordinate systems using an ArUco marker
- Simulator VR Mode FAQs
-
Other services
-
Additional features
- Contact Us
Marker-Based Scene Alignment APIs (PC VR)
LBSS provides several application programming interfaces (APIs) to assist in
Marker-Based Scene Alignment.
Note:
These APIs can only be used with PC VR applications. For APIs designed for use with compatible AIO applications developed with the VIVE Wave VR SDK, see Marker-Based Scene Alignment APIs (AIO).
Connect to VIVE Business Streaming server
Initializes the connection between VIVE Business Streaming and your application.
private void OnEnable() { VS_Init(); pServerStatusCB = OnServerStatusUpdate; pSettingChangeCB = OnSettingChange; pSdkDebugLogCB = OnSdkDebugLog; VS_SetCallbackFunction(pServerStatusCB, pSettingChangeCB, pSdkDebugLogCB); OnVbsIsRunning += Testing_OnVbsIsRunning; } |
Configure marker ID and dictionary
Configures the marker ID and dictionary for one or two ArUco markers by retrieving the marker settings from the JSON file saved on your PC and sending them to the app or game you're using. Scene alignment only starts after users scan the secondary marker when configuring two markers.
string key = "PLAYER00InitMA"; // default path: C:\Users\{USER_NAME}\markers_list.json string markerInfoPath = Environment.ExpandEnvironmentVariables(@"%USERPROFILE%\markers_list.json"); if (File.Exists(markerInfoPath)) { string setting = File.ReadAllText(markerInfoPath); setting = setting.Replace("\n", "").Replace(" ", ""); key += setting; } bool result = VS_WVRGetParameters((int)DeviceType.HMD, key); if (result == false) { // Write your error handling code here. } |
Note: Make sure to insert the correct file path for the JSON file associated with your
ArUco markers.
Was this helpful?
Yes
No
Submit
Thank you! Your feedback helps others to see the most helpful information.