Import 3D Worlds and Objects into Vatom Spaces
Once we have created models and assets for Vatom Spaces, we can bring them into the Vatom Spaces environment.
3D File Considerations
A good idea when building a space is to test using the lowest-end device you plan to support in order to see how well the space runs. Heavy 3D models can cause performance issues.
All 3D models should be in binary glTF format (.glb) and should be optimized for a "mobile game" environment. Textures should be sized to a power of 2 (i.e. 512x512, 1024x1024 etc).
Some common requirements for running on all devices, including lower-end mobile devices:
- Low poly count (less than 10 000)
- Adding too many objects will cause a degradation of performance
- Small texture sizes, no bigger than 512x512 for objects and 2048x2048 for large floors and areas.
- All texture sizes must be a power of 2.
Importing Objects into Spaces
The "Insert" tool is available in the Top Editor Menu or in the Advanced Editor panel.
Import from File
To import an object from a file, select Insert > From File on the top bar inside the space. From the Editor panel, we can insert our file by clicking Editor > Insert > From File.
You will be shown a file picker dialog to choose the file you would like to import. Navigate to the file(s) you exported from Blender, select the object(s) you want to import and they will be added to your space in your current avatar position.
From here, you can use the Advanced Editor tools to further customize the objects inside your space.
Import 3D Objects from Storage
All files uploaded to Spaces are automatically stored in your "Storage" menu. You can also upload files directly to your Storage.
Access Storage in the Editor Menu by going to File > Storage. Browse your files and select either "Add to World" to add the object directly to the Space or "Copy URL" to add the asset to Components and Interactions.
Import from URL
To import an object from a URL, select Insert > From URL on the top bar inside the space. You will be prompted to enter the URL for the object.
Please Note: Please make sure the server in which the object exists supports CORS.
Drag & Drop
3D Objects can be dropped into the Space by dragging .glb files directly from the Desktop File Browser into the space. The pointer will snap to any walls and planes already in the space.