text
stringlengths 0
1.11k
|
|---|
Educational MR Experiences
|
By integrating MR in a classroom through shared spatial anchors that reflect a historical setting and various historical artifcats, allows students to pick them up and interact with them to learn more about a specific time in history. Or those same colocated students could take notes in a physical notebook while virtually dissecting a frog for a science lesson on biology.
|
Your users can engage in mixed reality educational experiences that leverage SDKs and APIs like the Platform SDK and Spatial Anchors to build, interact with, and learn from persistent virtual objects in their classroom.
|
Entertainment MR Experiences
|
Transforming a living room or a bedroom into a concert venue, complete with a dynamic screen on a user’s wall, is just one of the ways MR can transform and innovate entertainment experiences.
|
Entertainment in Mixed Reality can be done in a wide variety of ways. Some additional examples include:
|
Users watching their favorite sports team play a match from end to end on their office desk or their bedroom wall
|
Virtually joining an esports event and bringing the crowd sound into their room with the players playing for a championship right in their living room
|
Enhancing local entertainment experiences by using co-presence to join another user watching a VR experience of a concert or live sporting event
|
Fitness and Wellness MR Experiences
|
You can work on Fitness MR experiences by using Passthrough to bring a personal trainer’s avatar into someone’s living space to help them exercise. Additionally, objects like hand weights or other exercise equipment can have virtual equivalents that users can exercise with.
|
Future updates could include things like hand weights to incorporate a wider variety of exercises that users can partake in from the comfort of their own home.
|
Fitness and Wellness experiences can be further enhanced by incorporating the Movement SDK for body tracking, or hand tracking for accurate hand positioning tracking.
|
Productivity MR Experiences
|
You can achieve and enhance productivity in MR in a variety of ways. For example, giving users a virtual office space, like Horizon Workrooms, can allow them to customize where they choose to work.
|
The Tracked Keyboard SDK allows users to view their own keyboard in their virtual environment. By combining this with the hand tracking and Meta Avatars, you can allow users to fully express themselves even while in a productive, professional setting.
|
ChatGPT
|
OK.
|
User
|
Tutorial - Unity SharedSpaces Showcase App
|
Unity
|
All-In-One VR
|
Quest
|
The platform for which this article is written (Unity) does not match your preferred platform (Nativa).
|
Haz clic aquí para ver la página del índice de la documentación para tu plataforma de preferencia.
|
The SharedSpaces showcase app demonstrates how to combine features in the Platform SDK with a networking solution to get users together in your app quickly. This showcase app uses the Photon Realtime networking stack and Unity Netcode for GameObjects.
|
By following and completing this tutorial you will:
|
Enable key Platform features like Destinations in the Meta Quest Dev Center and complete the Data Use Check Up
|
Connect a networking solution to your Meta Quest app
|
See an example of connecting a networking solution to your Meta Quest app and Unity
|
Upload an app to a release channel and distribute it to registered users
|
SharedSpaces Showcase Breakdown
|
The SharedSpaces showcase is divided into three distinct layers that work together to build a multiplayer experience on your Meta Quest headset.
|
The Meta Quest layer handles the Platform APIs (Group Presence, Destinations, lobbies, and match ids). This layer utilizes the presence information to find and connect with followers.
|
The Photon Realtime layer provides the transport layer for sending messages to other players.
|
The Netcode for GameObjects layer handles the replication of GameObjects.
|
The Meta Quest Layer
|
On the Meta Quest Layer, there are several steps you must take. You must enable Destinations for your app and use the lobby_session_id identifier for the user’s Group Presence. You can also use the match_session_id to more precisely group users together in your app.
|
The Photon Realtime Layer
|
With your destinations created and Group Presence enabled, you now need to set up the transport layer which sends messages to other players. The transport layer handles the routing of packets between users in a shared app experience.
|
In this showcase, Photon uses the concept of rooms, where users in the same match or lobby instance will be placed in the same Photon room. Each Photon room has a unique name, which is pulled directly from either the MatchSessionID string or LobbySessionID string. Photon rooms keep track of the oldest member in the room, called the master client who acts as the primary peer.
|
The primary peer acts as the listen-server and can accept connections from other players attempting to join the room.
|
In the following example, the user with a star next to their name is designated as the primary peer, and becomes the listen-server for the Photon room.
|
Shared Spaces Server Demo
|
When the primary leaves the Photon room, host migration occurs and a new master client will be selected.
|
Shared Spaces Host Migration
|
Read Unity Use Case Networking for a use case describing the setup and use of a the 3rd party Photon networking solution.
|
The Unity Netcode Layer
|
With Photon Networking in place the final layer is the Game Replication Layer. This layer handles communication from the transport layer (Photon in this showcase) to the connected players in the Photon room.
|
Extensive information about Netcode for GameObjects can be found on the Unity Documentation site.
|
Setting up the Shared Spaces Showcase App
|
To begin setting up Shared Spaces app you will first need to clone the SharedSpaces repo, create and configure Destinations and other settings in the Meta Quest Developer Center, and create a free Photon account.
|
Clone the SharedSpaces Showcase App
|
You can clone Shared Spaces app directly from the SharedSpaces Github repo. Ensure you have Git LFS installed and run this command in the terminal:
|
git lfs install
|
You can then clone the SharedSpaces repo using the following command:
|
git clone
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.