Wonda VR Spaces comes with a set of 3D Rooms to host your VR sessions.
Here is how you can import your own in few simple steps.
You can import in Wonda a 3D rooms created using any 3D software (such as Blender or Unity) so long as you use the the .glb file format.
Once you have your 3D Room .glb file on hands, here are a few simple steps to make sure this is fully optimized to be used with Wonda VR Spaces.
To make sure you .glb file is correctly set-up, you will need to use a freeware called Spoke (powered by Mozilla).
With Spoke you will be able to:
- Define the Room default size and default position relative to the viewer when entering the room (spawn point)
- Add 3D objects with fixed position
- Adjust the Room’s lighting
- Adjust the sky of the Room
Step 1/3: Import your 3D Environment in Spoke
Here is the workflow to prepare your 3D environment using Spoke:
- Export a .glb file of your 3D environment (.glb) and make sure it's working by testing it in a viewer (or import our sample project (Go to file > import .spoke - you can update it later).
- Go to Spoke to create a project and import your 3D file
N.B.: In order to allow the best user experience, please consider two important constraints before choosing a room and 3D objects:
- Size: the 3D room and objects will be loaded locally on the user's device so the bigger the size, the longer the loading time (we recommend not to exceed 20MB)
- Triangles: the more triangles, the more GPU will be needed to process the file, which may not render well on consumer PC or entry level VR headsets (such as Oculus Go). For more information on how to optimize your 3D room, you can read this really interesting blog post by the maker of the Hello WebXR experience
Step 2/3: Set up the position, orientation and scale of your 3D room
After importing your 3D room in a new project in Spoke, follow theses guidelines:
- Create a Spawn Point with the position (X:0,00 Y:0,00 Z:0,00). This is the default position of your users when entering in your 3D room. It also provides you with a reference for your room scale (the height of the spawn point is the height of your user)
- Import a 2D image to create a visual reference to simulate where the Wonda VR Virtual Screen will be positioned in the 3D room after your import your 3D room in Wonda. Scale the image 4 times to reach 4 meters in width + Change its position to: (X:0,00 Y:1,50 Z:-4,00). Note it will not be visible in your Wonda project.
- Move your 3D Room around this image to make sure the virtual screen (4,5m x 4m) will be positioned well.
- Regenerate the Floor Plan to match the room new position
NB: You can add interactive 3D objects directly in Wonda VR Spaces: More information here.
Step 3/3: Import your 3D room From Spoke to Spaces
Once the Room is correctly prepared using Spoke:
- in Spoke; Go to file > export as .glb
- Create a thumbnail file and name it “thumbnail.jpg” (to be shown in Wonda VR Spaces media library)
- in Wonda, go to your project library (as shown below) and simply drag and drop the two files in the media library and select it as the main 3D Room of your Experience.
Add a custom 360 image as a 3D Room
Just select your desired .jpg equirectangular file and it will be used as the main background for your experiences. Users will be able to zoom in/ out the Main Screen using the keyboard arrows on desktop, or with the controller in VR.