RapidCompact Optimize Endpoint Configuration Schema v1.4

Type: object

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

No Additional Properties


Type: object

Specifies a target mesh resolution via a number of polygons

No Additional Properties


Maximum polygonal resolution for mesh

Type: object

Type: integer

Target face count, as absolute number

Value must be greater or equal to 1

Type: object

Type: number

Target face count, as percentage of original number of faces

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

Type: object

Target texture resolution for different maps

Type: integer

Desired resolution for base color map

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

Type: integer

Desired resolution for emissive map

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

Type: integer

Desired resolution for normal map

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

Type: integer

Desired resolution for ORM map

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

Type: object

Target asset file size, in MB

No Additional Properties

Type: number

Value must be greater or equal to 0.001

Type: object

Alias for Target MB Size

No Additional Properties

Type: number

Value must be greater or equal to 0.001

Type: object
No Additional Properties

Type: boolean

Flag to specify if rotation to z-axis pointing upwards

Type: boolean

Centers the model around the coordinate origin before export

Type: boolean

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

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

Each additional property must conform to the following schema

Type: object

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"
  • "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: object

Additional detail settings for UVs and atlasing

No Additional Properties

Type: number

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: 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: object

Settings for data compression and file export

No Additional Properties

Type: array of object

List of desired file exports

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"
  • "usdz"
  • "obj"
  • "stl"
  • "ply"
  • "ctm"

Type: enum (of string)

Must be one of:

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

Type: number

Alias for scaleFactor

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"

Type: enum (of string)

Must be one of:

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

Type: enum (of string)

Must be one of:

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

Type: enum (of string)

Must be one of:

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

Type: number

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