Azure Blob Storage to host 3D Models and conversion to Hololens 2 App

Azure Remote Rendering (ARR) is Microsoft’s service that enables high-quality 3d models rendering. But how can you upload your files in order for the service to render it?

ARR does not render FBX or GLTF files directly, instead you need to convert them in a binary format. The conversion service consumes models from Azure Blob Storage Container (input) and writes them back to a provided Azure Blob storage container (output).

How does the conversion process look like?

1 . Create Azure Blob Storage (input and output).

2 . Upload the model from your local disk to the input storage container.

3 . Trigger the REST API model conversion process. (swagger definitions). This will retrieve the data from the input storage container and start conversion, which will return a conversion ID.

4 . Poll the service from conversion process until the process terminates with success or failure.

5 . Retrieve a link to the converted asset in the output storage container.

5 . Load the model from the output storage container (Azure Remote Rendering gives you full control over your asset management).

Grant limited access to Azure Storage

A shared access signature (SAS) provides secure delegated access to resources in your storage account. They are used to grant read access for input, and write access for output.

With a SAS, you have granular control over how a client can access your data. For example:

  • What resources the client may access.
  • What permissions they have to those resources.
  • How long the SAS is valid.

We recommend generating new URIs each time a model is converted. Since URIs expire after some time, persisting them for a longer duration may risk breaking your application unexpectedly.

You can generate a SAS URI trough Powershell module, command line, and SDKs (C#, Python), among others.

Which one is the easiest way to upload my files to Azure Storage?

Microsoft offers a free tool to easily manage your Azure Cloud storage resources anywhere, from Windows, macOS, or Linux. With Azure Storage Explorer you can upload, download and manage Azure Blob storage containers directly from there. Storage Explorer lets you work disconnected from the cloud or offline with local emulators. This flexibility helps you boost productivity and efficiency, and reduce costs.

This application does not cover the conversion of the the file that you need in order to use ARR. But Microsoft also created an application that covers not only the possibility to upload your files but also to convert and display them. That tool is Azure Remote Rendering Asset Tool.

This is a desktop C++ Open sourced application that you can use to:

  • Upload a 3D model
  • Control the model conversion
  • Create and manage a remote rendering session
  • Load a 3D model
  • Preview the 3D model
  • Modify its materials

One thought on “Azure Blob Storage to host 3D Models and conversion to Hololens 2 App

Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

Create your website with WordPress.com
Get started
<span>%d</span> bloggers like this: