RapidCompact Optimize Endpoint Configuration Schema v2.13

Type: object

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

No Additional Properties

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: object
Type: object
No Additional Properties

Type: object

Type: object

Type: object
Type: object

The following properties are required:

  • assetSimplification

Schema Version

Type: const

The schema version to use

Specific value: "2.13"

UV Unwrapping

Type: object

Unwrap UVs of an input model

No Additional Properties

Unwrapping Method

Type: enum (of string)

method to be used for UV unwrapping

Must be one of:

  • "cube"
  • "isometric"
  • "forwardBijective"
  • "fixedBoundary"
  • "fastConformal"

UV Scale

Type: number

Specified UV scale for unwrapping method "cube" in meters

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

Limits

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

Targets

Type: object
No Additional Properties

Type: integer

Value must be greater or equal to 0

Scene Manipulation

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

Remove small features


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

Asset Simplification

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

Asset Simplification Method

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"

Mesh and Topology Simplification

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

UVs and Atlasing

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

Material and Texture Baking

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: number Default: 1

Consider the material opaque if the alpha map mean value is above the given value

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

Compression and Export

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"
  • "ktx-basis-uastc"
  • "ktx-basis-etcs1"
  • "webp"

Type: enum (of string)

Must be one of:

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

Type: enum (of string)

Must be one of:

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

Type: enum (of string)

Must be one of:

  • "auto"
  • "jpg"
  • "png"
  • "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