Assets

An Asset is a resource you can use for creating virtual elements in your scenes. In Onirix there are two ways to manage assets within your account: general Assets library (Onirix main menu), or from the scene editor's internal Assets library. At this point we will refer to the general Assets library, although the scene editor library works exactly the same, and you can access the documentation from this link.

asset

There are several types of Assets, you can take a look at them individually from the following links:

How to upload an Asset?

You can upload an Asset from general assets page in the top menu, or from the asset library in the scene editor:

2.3%20Assets%20_2

Asset organisation: collections

If you're focusing on organizing your assets, we strongly recommend you to manage them from their dedicated page as it provides more options to group, edit and preview them.

2.3%20Assets%20_1

Asset preview

Either from the general Assets library or from the library accessible within the scene editor, it is possible to open the preview of any asset within Onirix. This preview allows you to visualize in detail any 3D object, or to play, for example, video or audio assets. It also provides relevant information about the asset (weight, number of polygons or vertices in case of 3D models, file format, download possibility, etc.).

2.3%20Assets%20_3

In the case of 3D models it is also possible to obtain a direct link from webAR to visualize the model in isolation and anchored to any surface. To do this, simply activate the 3D view / webAR link:

2.3%20Assets%20_4

In general, it is recommended that the weight of a web AR scene be as light as possible, thus making the user experience satisfactory. This would avoid download times, and load times in device memory, as well as improve performance in the web browser.

The recommended weight of the scene is below 10MB, although we allow larger scenes, depending on the client's needs, and we show a warning if the scene weighs more than 50MB, as it is very likely that the content can be optimized.

In this table we show the weight recommendations of each type of asset, which can be part of any Onirix AR scene:

Asset type Recommended max size
Images 5MB
3D models 25MB
Video 50MB
Audio 10MB

Usually the weight or performance problems of AR scenes are caused by poorly optimized 3D models. If you want more information about 3D models access this link with information about tools and stores, and this link about common problems with 3D models.

Automatic asset optimization

For some kind of assets like 3D models and Videos, Onirix can perform automatic optimizations to ensure your scenes run smoothly and do not exceed recommended weights and sizes. These optimizations are enabled by default, and will be shown in the Advanced block of the asset upload dialog.

upload%20new%20assets

Here you can find the currently available optimization options:

  • 3d models:
    • Draco compression: Draco compression effectively decreases the size of the model while preserving its visual quality in exchange for a slightly increased loading time.
    • Compress textures: This options compress all model textures in KTX2 format. It offers efficient GPU-ready texture compression with on-the-fly transcoding, significantly reducing file size of 3D models, and thus making them load faster.
    • Reduce textures to 1K: It resizes all textures bigger than 1K (1024x1024px) to 1K. Bigger textures are often unnecessary as their quality is not noticeable within an AR session, while they require lots of computing resources that may lead the scenes to be laggy or even freeze.
  • Videos:
    • Quality compression: It re-encodes the video with H.264, which offer a good tradeoff between compression rate, quality and compatibility.
    • Reduce resolution to 480p: Reduces the width of the video to a maximum of 480px while preserving its aspect ratio. This significantly decrease its weight, ensuring faster loading times.

Results