SoLDMResourceParametersresolution Property |
Specifies the resolution level when OIV.LDM.Nodes.SoLDMResourceParameters.fixedResolution is true.
Namespace: OIV.LDM.Nodes
When the value of this field is greater or equal to 0, it specifies the volume resolution used for rendering: 0 for full resolution and higher for sub-resolutions. The resolution value may be incompatible with the hardware configuration (e.g. not enough memory) or with the LDM settings (i.e. see OIV.LDM.Nodes.SoLDMResourceParameters.maxMainMemory, OIV.LDM.Nodes.SoLDMResourceParameters.maxTexMemory and OIV.LDM.SoLDMGlobalResourceParameters for more details). In this case, this field and OIV.LDM.Nodes.SoLDMResourceParameters.fixedResolution are ignored. Note that there is no rendering until the given resolution is reached.
When this field value is set to -1, the fixed resolution is adaptive, and is computed to be the highest one according to:
the memory resources
the position of the camera
the region of interest (see OIV.LDM.Nodes.SoROI for more details)
Default is 1, i.e, 1 voxel out of 2 of the full resolution.