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 response to “Azure Blob Storage to host 3D Models and conversion to Hololens 2 App”

  1. Reblogged this on El Bruno.

    Like

Leave a Reply

Your email address will not be published. Required fields are marked *

I’m Ivana

I’m a Technology Advocate who is living proof that Technology changes lives. I started my career with Microsoft from my small city (Salta), in Argentina. Now I train people and teams globally in the powerful international language of Tech. I inspire people from all walks of life to become world citizens and “geeks” like me who dream big and achieve amazing things. As a proud woman in Tech, content creator and public speaker I love travelling, connect and create magic moments of transformation; and I learn from everyone I meet. When I am not on the road, I am home with my husband and two dogs. My adventurous spirit in my work life is echoed in my love for Disney movies like Moana and Lilo & Stitch. Who knows “how far I’ll go” on my journey, but I know the power of Technology can get me there!

Let’s connect