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

github.com/KhronosGroup/OpenCOLLADA @v1.6.68

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.6.68 ↗ · + Follow
50,087 symbols 106,276 edges 2,114 files 8,594 documented · 17% updated 2y agov1.6.68 · 2018-11-27★ 679104 open issues

Browse by type

Functions 44,673 Types & classes 5,414
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Updated OpenCOLLADA tools here.

OpenCOLLADA

COLLADAMax and COLLADAMaya are new implementation of a 3ds Max or Maya plug-ins to export scene or parts of it to a COLLADA file, released under an MIT-license.

In contrast to other existing COLLADA exporters, these new plug-ins do not store the COLLADA document in an intermidiate data model but writes it directly to file. This leads to a dramatic reduction of memory consumption and to much better performance.

For more information about the plug-ins and how to build them, please read the README files in COLLADAMax and COLLADAMaya directories.

For information about how to build OpenCOLLADA under linux and mac OSX usings SCons, please read the BUILD file.

NOTE: The COLLADA.sln solution, contained in this directory, exists only for development purposes. To build the NextGen plug-ins, please use the solutions in the COLLADAMax and COLLADAMaya directories.

Building with CMake

Mac OS X (tested with Lion and Mountain Lion)

  1. Install cmake with command line links.
  2. some packages are required, they can be easily installed using a terminal with brew type:
  3. ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
  4. brew install pkgconfig
  5. brew install pcre
  6. When using recent Xcode, install the command line tools in Prereferences -> Download -> Command Line Tools. (otherwise cmake will not be able to find out what is the compiler)
  7. Open Terminal
  8. Within the OpenCOLLADA folder (if you want to override projects in place) Type in a terminal:
  9. cmake -G Xcode -DWITH_IN_SOURCE_BUILD=ON
  10. If you don't want to override the projects, just type cmake -G Xcode OpenCOLLADA (Assuming your current directory is OpenCOLLADA's parent directory).

You should end up with a ready to be used OPENCOLLADA.xcodeproj.

Windows

  1. Install CMake.
  2. Create a new folder alongside this repository (not inside it), called OpenCOLLADA-cmake
  3. cd OpenCOLLADA-cmake
  4. cmake ../OpenCOLLADA
  5. Open OPENCOLLADA.sln from the new folder, and build the default startup project, ALL_BUILD.

Linux todo

Recent changes requires having C++11 enabled, thus GCC 4.7 must be installed. As an example, for Ubuntu please check this and this

Available build options and their default values

  • USE_STATIC (ON) - Build static libraries, mutually exlusive with USE_SHARED.
  • USE_SHARED (OFF) - Build shared libraries, available currently only on Unix-like environments.
  • USE_LIBXML (ON) - Use LibXml2 parser.
  • USE_EXPAT (OFF) - Use expat parser. Unsupported currently. Do not use.
  • USE_STATIC_MSVC_RUNTIME (OFF) - Use static version of the MSVC run-time library, Windows/MSVC-only. Increases the size of the binaries, but is useful e.g. when wanting to build a standalone application that uses OpenCOLLADA with no runtime dependencies. Requires that all dependencies in the project use the same run-time library option.

Directories

  • COLLADABaseUtils -- Utils used by many of the other projects
  • COLLADAFramework -- Datamodel used to load COLLADA files
  • COLLADAMax -- COLLADAMax NextGen plug-in sources
  • COLLADAMaya -- COLLADAMaya NextGen plug-in sources
  • COLLADASaxFrameworkLoader -- Library that loads COLLADA files in a sax like manner into the framework data model
  • COLLADAStreamWriter -- COLLADAStreamWriter sources (Library to write COLLADA files)
  • COLLADAValidator -- XML validator for COLLADA files, based on the COLLADASaxFrameworkLoader. Limited/partial COLLADA validation. Should be replaced by DAEValidator.
  • DAEValidator -- XML validator + coherency tests for COLLADA files based on LibXml2. Aims for replacing COLLADAValidator.
  • dae2ogre -- Demo project that converts COLLADA files to OGRE meshes
  • Externals -- Third party projects required to build the NextGen plug-ins
  • GeneratedSaxParser -- Library used to load xml files in the way used by COLLADASaxFrameworkLoader

OpenCOLLADA Tools You may download binaires of OpenCOLLADA tools here.

Version/Revision

Plugin version number and Plugin Revision information have been added in element

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 37,866
Function 6,807
Class 5,084
Enum 327
Interface 3

Languages

C++84%
C13%
Java2%
Python1%
PHP1%
TypeScript1%

Modules by API surface

COLLADASaxFrameworkLoader/include/generated15/COLLADASaxFWLColladaParserAutoGen15.h2,175 symbols
COLLADASaxFrameworkLoader/include/generated15/COLLADASaxFWLColladaParserAutoGen15Private.h1,950 symbols
COLLADASaxFrameworkLoader/include/generated14/COLLADASaxFWLColladaParserAutoGen14.h1,739 symbols
Externals/LibXML/testapi.c1,680 symbols
COLLADASaxFrameworkLoader/include/generated14/COLLADASaxFWLColladaParserAutoGen14Private.h1,456 symbols
Externals/MayaDataModel/include/MayaDMBrush.h784 symbols
Externals/MayaDataModel/include/MayaDMFurFeedback.h718 symbols
Externals/MayaDataModel/include/MayaDMFluidShape.h654 symbols
COLLADASaxFrameworkLoader/include/generated15/COLLADASaxFWLColladaParserAutoGen15Attributes.h652 symbols
COLLADAMaya/src/COLLADAMayaPhysXExporter.cpp625 symbols
Externals/LibXML/xmlschemas.c432 symbols
Externals/MayaDataModel/include/MayaDMFurDescription.h410 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page