MCPcopy Create free account
hub / github.com/KhronosGroup/COLLADA2GLTF

github.com/KhronosGroup/COLLADA2GLTF @v2.1.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.5 ↗ · + Follow
247 symbols 392 edges 63 files 6 documented · 2% updated 2y agov2.1.5 · 2019-05-22★ 57078 open issues

Browse by type

Functions 189 Types & classes 58
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

COLLADA2GLTF

Build Status Build Status

COLLADA to glTF converter

A command-line tool to convert COLLADA (.dae) files to glTF.

Releases

Compiled binaries for Windows, MacOS, and Linux can be found under releases. It is recommended to use the last versioned release

Compile from source

  1. Clone repository

bash git clone --recursive https://github.com/KhronosGroup/COLLADA2GLTF.git 2. Compile

bash cd COLLADA2GLTF mkdir build cd build cmake .. #-Dtest=ON # Linux make # Windows ## Open the generated COLLADA2GLTF.sln in Visual Studio and build

  1. Run

bash COLLADA2GLTF-bin[.exe]

  1. Run tests

bash COLLADA2GLTF-test[.exe] GLTF-test[.exe]

Usage

COLLADA2GLTF[.exe] [input] [output] [options]

Options

Flag Default Required Description
-i, --input Yes :white_check_mark: Path to the input COLLADA file
-o, --output output/${input}.gltf No Path to the output glTF file
--basepath Parent of input path No Resolve external uris using this as the reference path
-s, --separate false No Output separate binary buffer, shaders, and textures
-t, --separateTextures false No Output textures separately
-b, --binary false No Output Binary glTF
-m, --materialsCommon false No Output materials using the KHR_materials_common extension
-v, --version No glTF version to output (e.g. '1.0', '2.0')
-d, --dracoCompression false No Output meshes using Draco compression extension
--qp No Quantization bits used for position attributes in Draco compression extension
--qn No Quantization bits used for normal attributes in Draco compression extension
--qt No Quantization bits used for texcoord attributes in Draco compression extension
--qc No Quantization bits used for color attributes in Draco compression extension
--qj No Quantization bits used for joint indice and weight attributes in Draco compression extension
--metallicRoughnessTextures No Paths to images to use as the PBR metallicRoughness textures
--specularGlossiness false No output PBR materials with the KHR_materials_pbrSpecularGlossiness extension
--lockOcclusionMetallicRoughness false No Set metallicRoughnessTexture to be the same as the occlusionTexture in materials where an ambient texture is defined
--doubleSided false No Force all materials to be double sided. When this value is true, back-face culling is disabled and double sided lighting is enabled
--preserveUnusedSemantics false No Don't optimize out primitive semantics and their data, even if they aren't used.

Core symbols most depended-on inside this repo

Shape

Method 161
Class 49
Function 28
Enum 9

Languages

C++99%
TypeScript1%

Modules by API surface

src/COLLADA2GLTFWriter.cpp39 symbols
GLTF/src/GLTFAsset.cpp33 symbols
GLTF/src/GLTFNode.cpp14 symbols
GLTF/src/GLTFMaterial.cpp14 symbols
GLTF/include/GLTFMaterial.h14 symbols
GLTF/src/GLTFAccessor.cpp11 symbols
GLTF/src/GLTFImage.cpp8 symbols
GLTF/include/GLTFCamera.h6 symbols
GLTF/src/GLTFObject.cpp5 symbols
GLTF/src/GLTFAnimation.cpp5 symbols
GLTF/include/GLTFNode.h5 symbols
GLTF/include/GLTFAnimation.h5 symbols

For agents

$ claude mcp add COLLADA2GLTF \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page