RapidCompact Optimize Endpoint Configuration Schema v2.10

Type: object

Optimization parameters for a single assets (and possibly multiple outputs)

No Additional Properties

Type: const

The schema version to use

Specific value: "2.10"

Type: object


Type: object
No Additional Properties

Type: integer

Value must be greater or equal to 0

Type: object
No Additional Properties

Type: integer

Value must be greater or equal to 0 and lesser or equal to 100

Type: object
No Additional Properties

Type: integer Default: 2048

Value must be greater or equal to 1 and lesser or equal to 16384

Type: integer Default: 2048

Value must be greater or equal to 1 and lesser or equal to 16384

Type: integer Default: 2048

Value must be greater or equal to 1 and lesser or equal to 16384

Type: integer Default: 2048

Value must be greater or equal to 1 and lesser or equal to 16384

Type: number

Value must be greater or equal to 0

Type: object
No Additional Properties

Type: integer

Value must be greater or equal to 0

Type: object
No Additional Properties

Type: boolean Default: false

Flag to specify if animations should be discarded before optimization. If your model contains animations and this is set to false, the model will not be optimized.

Type: boolean Default: false

Flag to specify if rotation to z-axis pointing upwards

Type: boolean Default: false

Centers the model around the coordinate origin before export

Type: boolean Default: false

Flag to specify if interior invisible geometry should be removed


Removes small meshes below a certain threshold in % or absolute value of the bbox size

No Additional Properties

Type: object

The following properties are required:

  • removalCount
Type: object

The following properties are required:

  • removalPercentage

Type: number

An absolute value for bounding box relative to total bounding box below which meshes are removed

Value must be greater or equal to 0

Type: number

A percentage for bounding box relative to total bounding box below which meshes are removed

Value must be greater or equal to 0 and lesser or equal to 100

Type: object

Specifies how the asset should be simplified, including aspects such as node merging, tiling and atlasing, baking settings and more

No Additional Properties

Type: object

Methods for atlas baking, UV preservation and treatment of scene nodes

No Additional Properties

Type: enum (of string)

Must be one of:

  • "rebake"
  • "remeshing-keep-alpha"
  • "remeshing-bake-alpha"
  • "preserveTiling"
  • "rebakePreserveNodes"
  • "preserveUVsAndNodes"
  • "dropTextures"

Type: object

Specifies detailed settings for mesh simplification

No Additional Properties

Type: number

Threshold for merging closeby vertices, relative size to a normalized bounding box size

Value must be greater or equal to 0 and lesser or equal to 0.1

Type: number

Amount of equalization for the triangle distribution (lower values lead to better shape preservation)

Value must be greater or equal to 0 and lesser or equal to 1

Type: number

Amount of enforced preservation of mesh boundaries (balancing boundary shape vs. preservation of details elsewhere)

Value must be greater or equal to 0 and lesser or equal to 1

Type: boolean

Flag to specify if topological features like holes should be preserved during decimation

Type: object

Additional detail settings for UVs and atlasing

No Additional Properties

Type: number Default: 0

Stretch tolerance for UVs (balancing stretch vs. number of charts)

Value must be greater or equal to 0 and lesser or equal to 1

Type: number Default: 1

Atlas factor for determining how many atlases to bake per material

Value must be greater or equal to 1 and lesser or equal to 20

Type: object

Additional settings for texture baking

No Additional Properties

Type: enum (of string)

Must be one of:

  • "low"
  • "medium"
  • "high"

Type: boolean

Flag to specify if a normal map should be baked or not

Type: boolean

Flag to specify if an AO map should be baked or not

Type: number

strength (intensity) for generated AO maps

Value must be greater or equal to 0 and lesser or equal to 1

Type: number Default: 60

Hard angle (degrees) used for normal generation (0 = everything flat, 180 = everything smooth)

Value must be greater or equal to 0 and lesser or equal to 180

Type: boolean Default: false

Use alpha masking instead of blending when the alpha map has 40% or more black or white pixels.

Type: object

Settings for data compression and file export

No Additional Properties

Type: array of object

List of desired file exports

No Additional Items

Each item of this array must be:

Type: object

Settings for a single file export

No Additional Properties

Type: enum (of string)

Must be one of:

  • "glb"
  • "gltf"
  • "usd"
  • "usdz"
  • "obj"
  • "stl"
  • "ply"
  • "ctm"
  • "fbx"
  • "vrm"

Type: enum (of string)

Must be one of:

  • "none"
  • "draco"
  • "dracoLossy"

Type: number

Alias for scaleFactor

Value must be greater or equal to 0

Type: object

Texture map format for export

No Additional Properties

Type: enum (of string)

Must be one of:

  • "auto"
  • "jpg"
  • "png"
  • "ktx2"
  • "ktx"
  • "ktx-basis-uastc"
  • "ktx-basis-etcs1"
  • "webp"

Type: enum (of string)

Must be one of:

  • "auto"
  • "jpg"
  • "png"
  • "ktx2"
  • "ktx"
  • "ktx-basis-uastc"
  • "ktx-basis-etcs1"
  • "webp"

Type: enum (of string)

Must be one of:

  • "auto"
  • "jpg"
  • "png"
  • "ktx2"
  • "ktx"
  • "ktx-basis-uastc"
  • "ktx-basis-etcs1"
  • "webp"

Type: enum (of string)

Must be one of:

  • "auto"
  • "jpg"
  • "png"
  • "ktx2"
  • "ktx"
  • "ktx-basis-uastc"
  • "ktx-basis-etcs1"
  • "webp"

Type: number Default: 1

Custom scaling factor, if any (1 = no custom scaling)

Value must be greater or equal to 0

Type: object

Finetune ktx compression settings

No Additional Properties

Type: number

compression speed for KTX (0 = fast, 5 = slow but higher quality)

Value must be greater or equal to 0 and lesser or equal to 5

Type: number

compression quality for KTX (0 = lowest quality but max compression, 255 = max quality)

Value must be greater or equal to 0 and lesser or equal to 255