SPC
- Last UpdatedOct 22, 2025
- 4 minute read
The SPC node enables you to load and manipulate a set of laser scans generated by AVEVA Point Cloud Manager.
The scans, whose format is .lsc or .vox are natively supported by XR engine and not converted into MWX.
The scans are made up of a set of points and not geometries; for this reason, they support only a few interactions and manipulation.

Platform support
This node is supported on XR-Windows platform only.
It's important to note that SPC nodes are supported only in FGI-based rendering pipelines.
|
XR-WIN |
XR-P-WIN |
XR-P-IOS |
XR-P-AND |
XR-P-WASM |
|---|---|---|---|---|
|
Full support |
No support |
No support |
No support |
No support |
|
|
|
|
|
|
Collections of scans
Differently from other model formats, such as MWX, RVM and RFC, the SPC format is not connected to a single source file, but to a collection of source files.
The file field represents the directory where the scan files are located, while the scans field contains the list of the files in that directory that are managed by the SPC container. That list can be a subset of all the scan files available in the folder. This means that scan files in the same folder can be managed by different SPC containers. Scan files can be loaded and unloaded at runtime.
Container and scan visibility
The SPC node can be shown or hidden using the visible field. A single scan can be hidden by removing it from the scans list.
Managing LODs
Guidelines to remember when managing LODs:
-
Each scan in an SPC node can use a different scan point size.
-
Each scan is rendered using different LODs based on the distance from the camera.
-
Each LOD has less points than previous.
-
Different LOD settings are defined for different scan point sizes.
-
Default platform settings are generally good; however, user can override them when needed.
-
The lodRanges field defines the LOD settings to be used for the scans in the node.
-
Each key represents a scan point size limit. Each value is a list of distances relative to corresponding LOD levels.
-
The dictionary defines a set of size ranges with their corresponding LOD settings. The default entry contains the settings for points that do not fall into other ranges.
-
When rendering a scan, firstly the point size is used to define which LOD range to apply, and then the distance of the scan from the camera is used to determine which LOD to use.
SPC fields
These are the fields for SPC node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > Mwx > Spc
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
castShadows |
sbool |
Optional |
false |
Enables scans to cast shadows. |
|
lodRanges |
dstring |
Optional |
{0.01=5,10,50,250,500} {0.04=10,20,250,500,1000} {default=50,70,250,500,2220} |
Defines the LOD ranges to be used to render the scans in the node. |
|
occlusionEnabled |
sbool |
Optional |
true |
Includes scans in screen space culling. |
|
opacity |
sfloat |
Optional |
1 |
Allows you to manipulate opacity of the scans. |
|
overrideColor |
svec3 |
Optional |
0.5 0.5 0.5 |
When overrideColorEnabled is set to true, overrides the points color with the provided color. |
|
overrideColorEnabled |
sbool |
Optional |
false |
Allow you to override scan points color. |
|
scale |
sfloat |
Optional |
1 |
Allow you to manipulate the scale of the scans. |
|
scans |
mstring |
Optional |
|
List of the scans in the file folder to be shown. Scans can be added/removed at runtime to manage visibility. |
|
showDemolished |
sbool |
Optional |
false |
When set to true, the points marked as demolished are shown. |