You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/remote-rendering/quickstarts/convert-model.md
+23-24Lines changed: 23 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,56 +44,55 @@ You need:
44
44
45
45
## Azure setup
46
46
47
-
If you do not have an account yet, go to [https://azure.microsoft.com/get-started/](https://azure.microsoft.com/get-started/), click on the free account option, and follow the instructions.
47
+
If you don't have an account yet, go to [https://azure.microsoft.com/get-started/](https://azure.microsoft.com/get-started/), select the free account option, and follow the instructions.
48
48
49
49
Once you have an Azure account, go to [https://portal.azure.com/#home](https://portal.azure.com/#home).
50
50
51
51
### Storage account creation
52
52
53
53
To create blob storage, you first need a storage account.
54
-
To create one, click on the "Create a resource" button:
Clicking this button will bring up the following screen with storage properties to fill out:
62
+
3.Clicking this button will bring up the following screen with storage properties to fill out:
63
63
64
64

65
65
66
-
Fill out the form in the following manner:
66
+
4.Fill out the form in the following manner:
67
67
68
68
* Create a new Resource Group from the link below the drop-down box and name this **ARR_Tutorial**
69
69
* For the **Storage account name**, enter a unique name here. **This name must be globally unique**, otherwise there will be a prompt that informs you that the name is already taken. In the scope of this quickstart, we name it **arrtutorialstorage**. Accordingly, you need to replace it with your name for any occurrence in this quickstart.
70
-
* Select a **location** close to you. Ideally use the same location as used for setting up the rendering in the other quickstart.
70
+
* Select a **Region** close to you. Ideally use the same [region](../reference/regions.md) as used for setting up the rendering in the other quickstart.
71
71
***Performance** set to 'Premium'. 'Standard' works as well, but has lower loading time characteristics when a model is loaded by the runtime.
72
-
***Account kind** set to 'StorageV2 (general purpose v2)'
73
-
***Replication** set to 'Read-access geo-redundant storage (RA-GRS)'
74
-
***Access tier** set to 'Hot'
72
+
***Premium account type** set to 'Block blobs'
73
+
***Redundancy** set to 'Zone-redundant storage (ZRS)'
75
74
76
-
None of the properties in other tabs have to be changed, so you can proceed with **"Review + create"** and then follow the steps to complete the setup.
75
+
5.None of the properties in other tabs have to be changed, so you can proceed with **"Review + create"** and then follow the steps to complete the setup.
77
76
78
-
The website now informs you about the progress of your deployment and reports "Your deployment is complete" eventually. Click on the **"Go to resource"** button for the next steps:
77
+
6.The website now informs you about the progress of your deployment and reports "Your deployment is complete" eventually. Select **"Go to resource"** for the next steps:
Next we need two blob containers, one for input and one for output.
85
84
86
-
From the **"Go to resource"** button above, you get to a page with a panel on the left that contains a list menu. In that list under the **"Blob service"** category, click on the **"Containers"** button:
85
+
1.From the **"Go to resource"** button above, you get to a page with a panel on the left that contains a list menu. In that list under the **"Blob service"** category, select **"Containers"**:
To make it easier to call the asset conversion service, we provide a utility script. It is located in the *Scripts* folder and is called **Conversion.ps1**.
115
+
To make it easier to call the asset conversion service, we provide a utility script. It's located in the *Scripts* folder and is called **Conversion.ps1**.
117
116
118
117
In particular, this script
119
118
120
-
1. uploads all files in a given directory from local disk to the input storage container
121
-
1. calls the [the asset conversion REST API](../how-tos/conversion/conversion-rest-api.md), which will retrieve the data from the input storage container and start a conversion, which will return a conversion ID
122
-
1. poll the conversion status API with the retrieved conversion ID until the conversion process terminates with success or failure
123
-
1. retrieves a link to the converted asset in the output storage
119
+
* uploads all files in a given directory from local disk to the input storage container,
120
+
* calls the [the asset conversion REST API](../how-tos/conversion/conversion-rest-api.md), which will retrieve the data from the input storage container and start a conversion, which will return a conversion ID,
121
+
* polls the conversion status API with the retrieved conversion ID until the conversion process terminates with success or failure,
122
+
* retrieves a link to the converted asset in the output storage.
124
123
125
124
The script reads its configuration from the file *Scripts\arrconfig.json*. Open that JSON file in a text editor.
126
125
@@ -152,7 +151,7 @@ The script reads its configuration from the file *Scripts\arrconfig.json*. Open
152
151
The configuration within the **accountSettings** group (account ID and key) should be filled out analogous to the credentials in the [Render a model with Unity quickstart](render-model.md).
153
152
154
153
Inside the **assetConversionSettings** group, make sure to change **resourceGroup**, **blobInputContainerName**, and **blobOutputContainerName** as seen above.
155
-
Note that the value for **arrtutorialstorage** needs to be replaced with the unique name you picked during storage account creation.
154
+
The value for **arrtutorialstorage** needs to be replaced with the unique name you picked during storage account creation.
156
155
157
156
Change **localAssetDirectoryPath** to point to the directory on your disk, which contains the model you intend to convert. Be careful to properly escape backslashes ("\\") in the path using double backslashes ("\\\\").
158
157
@@ -199,14 +198,14 @@ The conversion script generates a *Shared Access Signature (SAS)* URI for the co
199
198
200
199
## Optional: Re-creating a SAS URI
201
200
202
-
The SAS URI created by the conversion script will only be valid for 24 hours. However, after it expired you do not need to convert your model again. Instead, you can create a new SAS in the portal as described in the next steps:
201
+
The SAS URI created by the conversion script will only be valid for 24 hours. However, after it expired you don't need to convert your model again. Instead, you can create a new SAS in the portal as described in the next steps:
203
202
204
203
1. Go to the [Azure portal](https://www.portal.azure.com)
205
-
2.Click on your **Storage account** resource:
204
+
2.Select your **Storage account** resource:
206
205
207
206

208
207
209
-
3. In the following screen, click on**Storage explorer** in the left panel and find your output model (*.arrAsset* file) in the *arroutput* blob storage container. Right-click on the file and select **Get Shared Access Signature** from the context menu:
208
+
3. In the following screen, Select**Storage explorer** in the left panel and find your output model (*.arrAsset* file) in the *arroutput* blob storage container. Right-click on the file and select **Get Shared Access Signature** from the context menu:
0 commit comments