|
cesium-native 0.67.0
|
Options for decoding SPZ data. More...
#include <CesiumGltfReader/GltfReader.h>
Public Attributes | |
| bool | forceFloatAccessors = false |
| If true, all accessors will be forced to use the FLOAT component type, regardless of the original data type. | |
| bool | applySigmoidToOpacity = true |
If true, the KHR_gaussian_splatting:OPACITY accessor will have the sigmoid function applied to its values. | |
| bool | preserveLogScaleValues = false |
If true, KHR_gaussian_splatting:SCALE values will be preserved in their logarithmic form, without applying any conversion. | |
Options for decoding SPZ data.
Definition at line 30 of file GltfReader.h.
| bool CesiumGltfReader::SpzDecoderOptions::applySigmoidToOpacity = true |
If true, the KHR_gaussian_splatting:OPACITY accessor will have the sigmoid function applied to its values.
Disabling this will pass the opacity values from spz directly to the glTF accessor. This setting does not affect the alpha component of COLOR_0, which will always have the transformation applied.
Definition at line 48 of file GltfReader.h.
| bool CesiumGltfReader::SpzDecoderOptions::forceFloatAccessors = false |
If true, all accessors will be forced to use the FLOAT component type, regardless of the original data type.
As the spz library outputs float data directly, this option can avoid unnecessary conversions to other component types.
Definition at line 38 of file GltfReader.h.
| bool CesiumGltfReader::SpzDecoderOptions::preserveLogScaleValues = false |
If true, KHR_gaussian_splatting:SCALE values will be preserved in their logarithmic form, without applying any conversion.
Definition at line 54 of file GltfReader.h.