In Onirix you can visualize different types of contents: 2D images, 3D models, videos. Here we will tell you anything you need to know about this important part of our platform.
This video shows an example of the download of a 3D model in gltf format, and its subsequent loading in the Onirix scene viewer.
Onirix supports different types of formats for 3D models. For now, you can upload to Onirix models .obj, .fbx and .gltf; and all of them are converted in our server to a unique format: .glb. This format is optimized to work with this type of information in the fastest and least burdensome way, for augmented reality applications.
To upload a model you can do it directly with the file that contains it, or if you have textures associated with the model in separate files, the ideal is to include everything in the same .zip file. In this case Onirix expects that the model is in the root of the compressed file, and the textures maintain the same internal references as the model itself. For example when downloading a model from sketchfab in .gltf format, you can just drag and drop the .zip file to Onirix and it will work.
Anyway, when it comes to uploading a new model, there are some aspects to keep in mind that can mark the quality of the experience:
When Onirix processes the models that are uploaded, it takes into account all these factors to determine if any warning about the model should be indicated. Keep in mind that if your model has a warning it is possible that either you notice that the experience may slow down slightly, or even that your model will not load in the application.
If you design models or ask a specialized company to generate them, we recommend that you keep this in mind, and ask for optimized models for this type of experience, trying that the number of polygons/triangles is the minimum necessary, and balance with the quality and realism that you expect in your model or animated scene.