Skip to content

Commit f5aad8f

Browse files
Merge pull request #267541 from FlorianBorn71/FIxOutputSectionForPointCloudConversion
Fix the input section for point cloud conversions, because it's diff…
2 parents 0262d79 + 75f906d commit f5aad8f

File tree

1 file changed

+30
-8
lines changed

1 file changed

+30
-8
lines changed

articles/remote-rendering/how-tos/conversion/get-information.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Get information about conversions
3-
description: Get information about conversions
3+
description: Get information about conversions.
44
author: malcolmtyrrell
55
ms.author: matyrr
66
ms.date: 03/05/2020
@@ -11,12 +11,12 @@ ms.topic: how-to
1111

1212
## Information about a conversion: The result file
1313

14-
When the conversion service converts an asset, it writes a summary of any issues into a "result file".
15-
For example, if a file `buggy.gltf` is converted, the output container will contain a file called `buggy.result.json`.
14+
When the conversion service converts an asset, it writes a summary of any issues into a result file.
15+
For example, if a file `buggy.gltf` is converted, the output container contains a file called `buggy.result.json`.
1616

1717
The result file lists any errors and warnings that occurred during the conversion and gives a result summary, which is one of `succeeded`, `failed` or `succeeded with warnings`.
1818
The result file is structured as a JSON array of objects, each of which has a string property that is one of `warning`, `error`, `internal warning`, `internal error`, and `result`.
19-
There will be at most one error (either `error` or `internal error`) and there will always be one `result`.
19+
There is at most one error (either `error` or `internal error`) and there's always one `result`.
2020

2121
## Example *result* file
2222

@@ -36,7 +36,7 @@ However, since there was a missing texture, the resulting arrAsset may not be as
3636
3737
## Information about a converted model: The info file
3838

39-
The arrAsset file produced by the conversion service is solely intended for consumption by the rendering service. There may be times, however, when you want to access information about a model without starting a rendering session. To support this workflow, the conversion service places a JSON file beside the arrAsset file in the output container. For example, if a file `buggy.gltf` is converted, the output container will contain a file called `buggy.info.json` beside the converted asset `buggy.arrAsset`. It contains information about the source model, the converted model, and about the conversion itself.
39+
The arrAsset file produced by the conversion service is solely intended for consumption by the rendering service. There may be times, however, when you want to access information about a model without starting a rendering session. To support this workflow, the conversion service places a JSON file beside the arrAsset file in the output container. For example, if a file `buggy.gltf` is converted, the output container contains a file called `buggy.info.json` beside the converted asset `buggy.arrAsset`. It contains information about the source model, the converted model, and about the conversion itself.
4040

4141
## Example *info* file
4242

@@ -106,7 +106,7 @@ Here's an example *info* file produced by converting a file called `buggy.gltf`:
106106
This section contains the provided filenames.
107107

108108
* `input`: The name of the source file.
109-
* `output`: The name of the output file, when the user has specified a non-default name.
109+
* `output`: The name of the output file, when the user has specified a nondefault name.
110110

111111
### The *conversionSettings* section
112112

@@ -128,12 +128,18 @@ It contains the following information:
128128
* `numOverrides`: The number of override entries read from the material override file.
129129
* `numOverriddenMaterials`: The number of materials that were overridden.
130130

131+
This section isn't present for point cloud conversions.
132+
131133
### The *inputStatistics* section
132134

133135
This section provides information about the source scene. There will often be discrepancies between the values in this section and the equivalent values in the tool that created the source model. Such differences are expected, because the model gets modified during the export and conversion steps.
134136

137+
The content of this section is different for triangular meshes and point clouds.
138+
139+
# [Triangular meshes](#tab/TriangularMeshes)
140+
135141
* `numMeshes`: The number of mesh parts, where each part can reference a single material.
136-
* `numFaces`: The total number of triangles/points in the whole model. This number contributes to the primitive limit in the [standard rendering server size](../../reference/vm-sizes.md#how-the-renderer-evaluates-the-number-of-primitives).
142+
* `numFaces`: The total number of triangles in the whole model. This number contributes to the primitive limit in the [standard rendering server size](../../reference/vm-sizes.md#how-the-renderer-evaluates-the-number-of-primitives).
137143
* `numVertices`: The total number of vertices in the whole model.
138144
* `numMaterial`: The total number of materials in the whole model.
139145
* `numFacesSmallestMesh`: The number of triangles/points in the smallest mesh of the model.
@@ -142,6 +148,13 @@ This section provides information about the source scene. There will often be di
142148
* `numMeshUsagesInScene`: The number of times nodes reference meshes. More than one node may reference the same mesh.
143149
* `maxNodeDepth`: The maximum depth of the nodes within the scene graph.
144150

151+
# [Point clouds](#tab/PointClouds)
152+
153+
For point cloud conversions, this section contains only a single entry:
154+
155+
* `numPoints`: The total number of points in the input model.
156+
---
157+
145158
### The *outputInfo* section
146159

147160
This section records general information about the generated output.
@@ -151,13 +164,22 @@ This section records general information about the generated output.
151164

152165
### The *outputStatistics* section
153166

154-
This section records information calculated from the converted asset.
167+
This section records information calculated from the converted asset. Again, the section holds different information for triangular meshes and point clouds.
168+
169+
# [Triangular meshes](#tab/TriangularMeshes)
155170

156171
* `numMeshPartsCreated`: The number of meshes in the arrAsset. It can differ from `numMeshes` in the `inputStatistics` section, because instancing is affected by the conversion process.
157172
* `numMeshPartsInstanced`: The number of meshes that are reused in the arrAsset.
158173
* `recenteringOffset`: When the `recenterToOrigin` option in the [ConversionSettings](configure-model-conversion.md) is enabled, this value is the translation that would move the converted model back to its original position.
159174
* `boundingBox`: The bounds of the model.
160175

176+
# [Point clouds](#tab/PointClouds)
177+
178+
* `numPoints`: The overall number of points in the converted model. This number contributes to the primitive limit in the [standard rendering server size](../../reference/vm-sizes.md#how-the-renderer-evaluates-the-number-of-primitives).
179+
* `recenteringOffset`: When the `recenterToOrigin` option in the [ConversionSettings](configure-model-conversion.md) is enabled, this value is the translation that would move the converted model back to its original position.
180+
* `boundingBox`: The bounds of the model.
181+
---
182+
161183
## Deprecated features
162184

163185
The conversion service writes the files `stdout.txt` and `stderr.txt` to the output container, and these files had been the only source of warnings and errors.

0 commit comments

Comments
 (0)