POPMesh
- Last UpdatedFeb 19, 2025
- 3 minute read
The POPMesh node loads an imported and converted external file (zgl).
Unlike the MwxSoup, POPMeshes are designed to work on clients with low-profile GPU, since they are designed to limit the hardware resources to preserve good visual output. To achieve this, the 3D model is partitioned into blocks of adjacent triangles, and the vertices are quantized and clustered into different levels of detail called POPLevels.
The rendering engine automatically loads and unloads the blocks of triangles of the required POPLevel at runtime from the popmesh files to Memory based on the position of the camera at each frame.
The geometric error generated by the quantization of the level of detail of each rendered block can be tuned with the field pixelAccuracy.
The POPMesh node inherits from Mwx and supports the same functionalities in terms of visibility related to context and sectors.
Platform support
This node is fully supported on XR-Windows, XR-Portable Windows, XR-Portable iOS, XR-Portable Android platforms.
It is not supported on XR-Portable Hololens platform.
|
XR-WIN |
XR-P-WIN |
XR-P-IOS |
XR-P-AND |
XR-P-WASM |
|---|---|---|---|---|
|
Ful support |
Full support |
Full support |
Full support |
No support |
|
|
|
|
|
|
POPManager
All the POPMesh nodes in scene are managed by a single system node called POPManager. Check the POPManager node to tune some specific settings of the POPMesh nodes, as well as to get detailed and real time information on the resources used by the POPMesh nodes.
ZGL converted to MwxSoup
See ZGL converted to POPMesh for more details on ZGL conversion.
POPMesh fields
These are the fields for POPMesh node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > Mwx > POPMesh
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
forceOpaque |
sbool |
Optional |
false |
Forces the model to be rendered opaque. |
|
position |
svec3 |
Optional |
0 0 0 |
Model position in world-space coordinates. |
|
Pixelaccuracy |
sdouble |
Optional |
1 |
Maximum allowed geometric errors measured in pixel: the default value 1 means that the error must be smaller than 1 pixel. Bigger values allow blocks to be rendered at a coarser POPLevel, with more visible artifacts, but more lightweight rendering. |
|
renderMaxPOPLevel |
sint |
Optional |
24 |
Maximum POPLevel that can be chosen to render each block. |