SoLDMResourceParameterstex2LoadRate Property |
Maximum number of 2D tiles to be loaded in texture memory per frame.
Namespace: OIV.LDM.Nodes
This affects rendering nodes that use 2D textures, for example OIV.VolumeViz.Nodes.SoOrthoSlice and OIV.VolumeViz.Nodes.SoVolumeSkin. Default is OIV.LDM.SoLDMGlobalResourceParameters.GetTex2LoadRate(). This field is only considered for OIV.VolumeViz.Nodes.SoSlice nodes.
Each tile needed to render a slice (OIV.VolumeViz.Nodes.SoOrthoSlice, OIV.VolumeViz.Nodes.SoVolumeSkin, etc) must be loaded into GPU memory as a 2D texture. 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 2D texture for this node will be the exact value set in the field. In this case, the amount of LoadRate is removed from Global value. All other dataset will share (OIV.LDM.SoLDMGlobalResourceParameters.GetTex2LoadRate() - ( Sum of memory of all datasets with OIV.LDM.Nodes.SoLDMResourceParameters.tex2LoadRate != -1 )) / ( number of datasets with OIV.LDM.Nodes.SoLDMResourceParameters.tex2LoadRate == -1 )