RapidCompact Optimize Endpoint Configuration Schema v1.1

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

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

Basic approach for decimation, regarding atlas baking vs. simplification, as well as regarding treatment of scene nodes

No Additional Properties

Type: enum (of string)

Must be one of:

  • "rebake"
  • "preserveTiling"
  • "rebakePreserveNodes"
  • "preserveUVsAndNodes"

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 shapre 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"

Type: enum (of string)

Must be one of:

  • "auto"
  • "jpg"
  • "png"
  • "ktx2"

Type: enum (of string)

Must be one of:

  • "auto"
  • "jpg"
  • "png"
  • "ktx2"

Type: enum (of string)

Must be one of:

  • "auto"
  • "jpg"
  • "png"
  • "ktx2"

Type: number

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