hwIH3DExportOptions SetMaxCompressionError

Sets the maximum margin of error allowed during compression.

Syntax

hwIH3DExportOptions_handle SetMaxCompressionError value

Application

Tcl Modify

Description

Lossy compression trades data resolution for savings in space. This command allows you to set the maximum degree of lost resolution, as a fraction of the total data range (max - min). The default value is .001 (or .1%).

Inputs

value
The maximum acceptable error fraction.

Example

To double the default error ratio:
hwi GetSessionHandle mySessionName
mySessionName GetH3DExportOptionsHandle option_handle
option_handle SetMaxCompressionError .002

Errors

None.