Click or drag to resize
SoLDMResourceParameterstex3LoadRate Property

Maximum number of 3D tiles to be loaded into texture memory per frame for this data set.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoSFInt32 tex3LoadRate { get; }

Property Value

Type: SoSFInt32
Remarks

You can set this number for all data sets by calling OIV.LDM.SoLDMGlobalResourceParameters.SetTex3LoadRate(System.Int32). This field is only considered for OIV.VolumeViz.Nodes.SoVolumeRender nodes.

Each tile needed for volume rendering (OIV.VolumeViz.Nodes.SoVolumeRender) and volume geometry must be transfered to GPU memory as a 3D texture. So, for example, transfering 1000 tiles at the loadRate 10 requires 100 frames. (How many seconds this takes depends on the frames per second possible, which in turn depends on many factors including the complexity of the scene graph.) Increasing the loadRate value reduces the number of frames required to reach maximum resolution. But the render traversal has to wait for the data transfer to finish, so each frame may take longer to render, increasing the total time to reach maximum resolution.

Default value is -1, meaning LDM is in charge of the automatic sharing of a given resource. Automatic sharing means LDM will compute, by itself, the amount of associated resource it allocates to each dataset. The automatic allocation takes into account all nodes in scenegraph.

If value is not -1 (default) LDM will not consider this node in automatic allocation, and allocated 3D texture LoadRate for this node will be the exact value set in the field. In this case, the amount of memory is removed from Global value. All other dataset will share (OIV.LDM.SoLDMGlobalResourceParameters.GetTex3LoadRate() - ( Sum of memory of all datasets with OIV.LDM.Nodes.SoLDMResourceParameters.tex3LoadRate != -1 )) / ( number of datasets with OIV.LDM.Nodes.SoLDMResourceParameters.tex3LoadRate == -1 )

See Also