• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

COLLADABaseUtils/H03-May-2022-9,8126,681

COLLADAFramework/H03-May-2022-17,6529,585

COLLADAMax/H03-May-2022-40,12327,018

COLLADAMaya/H03-May-2022-59,98245,420

COLLADASaxFrameworkLoader/H03-May-2022-537,991434,245

COLLADAStreamWriter/H07-May-2022-19,98512,603

COLLADAValidator/H03-May-2022-645498

DAEValidator/H03-May-2022-48,96047,495

Externals/H03-May-2022-664,330524,251

G3DWarehouseBrowser/H03-May-2022-2,8662,364

GeneratedSaxParser/H03-May-2022-9,3017,152

common/H26-Nov-2018-7,9986,823

dae23ds/H03-May-2022-5,8693,715

dae23ds_lib3ds/H03-May-2022-3,1812,589

dae2ma/H03-May-2022-22,56914,277

dae2ogre/H03-May-2022-3,9582,731

htdocs/H03-May-2022-7,2696,569

scripts/H03-May-2022-577403

xsd2cppsax/H03-May-2022-57,66046,710

.gitattributesH A D03-May-2022110 32

.gitignoreH A D03-May-2022263 2523

CODE_OF_CONDUCT.mdH A D03-May-2022280 21

MakefileH A D03-May-202279 54

OpenCOLLADAConfig.cmake.inH A D03-May-20222 KiB5953

READMEH A D03-May-20221.7 KiB3323

README.mdH A D03-May-20225.3 KiB7959

README_OSX.rtfH A D03-May-20228.7 KiB6557

SConstructH A D03-May-20223.4 KiB9267

generate_make.shH A D03-May-202292 74

generate_vs2013.batH A D03-May-2022189 77

generate_vs2013_cmake_2.8.12.2.batH A D03-May-2022184 77

generate_vs2015.batH A D03-May-2022189 77

generate_vs2017.batH A D03-May-2022189 77

generate_xcode.shH A D03-May-2022115 64

README

1COLLADAMax and COLLADAMaya are new implementation of a 3ds Max or Maya  plug-ins to export scene or
2parts of it to a COLLADA file, released under an MIT-license.
3
4In contrast to other existing COLLADA exporters, this new plug-ins do not store the
5COLLADA document in an intermidiate data model but writes it directly to file. This leads to a dramatic
6reduction of memory consumption and to much a better performance.
7
8For more information about the plug-ins and how to build them, please read the README files in
9COLLADAMax and COLLADAMaya directories.
10
11For information about how to build OpenCOLLADA under linux and mac OSX usings SCons, please read the BUILD file.
12
13NOTE: The COLLADA.sln solution, contained in this directory, exists only for development purposes.
14      To build the NextGen plug-ins, please use the solutions in the COLLADAMax anf COLLADAMaya
15      directories.
16
17
18Directories
19-----------
20COLLADABaseUtils            Utils used by many of the other projects
21COLLADAFramework            Datamodel used to load COLLADA files
22COLLADAMax                  COLLADAMax NextGen plug-in sources
23COLLADAMaya                 COLLADAMaya NextGen plug-in sources
24COLLADAStreamWriter         COLLADAStreamWriter sources (Library to write COLLADA files)
25COLLADASaxFrameworkLoader   Library that loads COLLADA files in a sax like manner into the framework data model
26COLLADAValidator            XML validator for COLLADA files, based on the COLLADASaxFrameworkLoader
27dae2ogre                    Demo project that converts COLLADA files to OGRE meshes
28Externals                   Third party projects required to build the NextGen plug-ins
29GeneratedSaxParser          Library used to load xml files in the way used by COLLADASaxFrameworkLoader
30
31
32
33

README.md

1Updated OpenCOLLADA tools [here](https://github.com/KhronosGroup/OpenCOLLADA/wiki/OpenCOLLADA-Tools).
2
3OpenCOLLADA
4===========
5
6COLLADAMax 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.
7
8In 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.
9
10For more information about the plug-ins and how to build them, please read the README files in COLLADAMax and COLLADAMaya directories.
11
12For information about how to build OpenCOLLADA under linux and mac OSX usings SCons, please read the BUILD file.
13
14NOTE: 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.
15
16Building with CMake
17-------------------
18
19### Mac OS X *(tested with Lion and Mountain Lion)*
20
211. Install [cmake](http://www.cmake.org/cmake/resources/software.html) with command line links.
222. some packages are required, they can be easily installed using a terminal with [brew](http://mxcl.github.com/homebrew/) type:
23 * ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
24 * brew install pkgconfig
25 * brew install pcre
264. 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)
275. Open Terminal
286. Within the OpenCOLLADA folder (if you want to override projects in place)
29Type in a terminal:
30 * cmake -G Xcode -DWITH_IN_SOURCE_BUILD=ON
31 * If you don't want to override the projects, just type cmake -G Xcode OpenCOLLADA  (Assuming your current directory is OpenCOLLADA's parent directory).
32
33You should end up with a ready to be used OPENCOLLADA.xcodeproj.
34
35### Windows
36
371. Install [CMake](http://cmake.org/cmake/resources/software.html).
382. Create a new folder alongside this repository (not inside it), called `OpenCOLLADA-cmake`
393. `cd OpenCOLLADA-cmake`
404. `cmake ../OpenCOLLADA`
415. Open `OPENCOLLADA.sln` from the new folder, and build the default startup project, `ALL_BUILD`.
42
43### Linux *todo*
44
45Recent changes requires having C++11 enabled, thus GCC 4.7 must be installed.
46As an example, for Ubuntu please check [this](http://askubuntu.com/questions/113291/how-do-i-install-gcc-4-7) and [this]( http://charette.no-ip.com:81/programming/2011-12-24_GCCv47/)
47
48### Available build options and their default values
49
50* `USE_STATIC` (ON) - Build static libraries, mutually exlusive with USE_SHARED.
51* `USE_SHARED` (OFF) - Build shared libraries, available currently only on Unix-like environments.
52* `USE_LIBXML` (ON) - Use LibXml2 parser.
53* `USE_EXPAT` (OFF) - Use expat parser. **Unsupported currently. Do not use.**
54* `USE_STATIC_MSVC_RUNTIME` (OFF) - Use static version of the MSVC run-time library, Windows/MSVC-only.
55Increases the size of the binaries, but is useful e.g. when wanting to build a standalone application that
56uses OpenCOLLADA with no runtime dependencies. Requires that all dependencies in the project use the
57same run-time library option.
58
59Directories
60-----------
61* [COLLADABaseUtils](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/COLLADABaseUtils) -- Utils used by many of the other projects
62* [COLLADAFramework](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/COLLADAFramework) -- Datamodel used to load COLLADA files
63* [COLLADAMax](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/COLLADAMax) -- COLLADAMax NextGen plug-in sources
64* [COLLADAMaya](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/COLLADAMaya) -- COLLADAMaya NextGen plug-in sources
65* [COLLADASaxFrameworkLoader](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/COLLADASaxFrameworkLoader) -- Library that loads COLLADA files in a sax like manner into the framework data model
66* [COLLADAStreamWriter](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/COLLADAStreamWriter) -- COLLADAStreamWriter sources (Library to write COLLADA files)
67* [COLLADAValidator](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/COLLADAValidator) -- XML validator for COLLADA files, based on the COLLADASaxFrameworkLoader. Limited/partial COLLADA validation. Should be replaced by DAEValidator.
68* [DAEValidator](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/DAEValidator) -- XML validator + coherency tests for COLLADA files based on LibXml2. Aims for replacing COLLADAValidator.
69* [dae2ogre](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/dae2ogre) -- Demo project that converts COLLADA files to OGRE meshes
70* [Externals](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/Externals) -- Third party projects required to build the NextGen plug-ins
71* [GeneratedSaxParser](https://github.com/KhronosGroup/OpenCOLLADA/tree/master/GeneratedSaxParser) -- Library used to load xml files in the way used by COLLADASaxFrameworkLoader
72
73OpenCOLLADA Tools
74You may download binaires of OpenCOLLADA tools [here](https://github.com/KhronosGroup/OpenCOLLADA/wiki/OpenCOLLADA-Tools).
75
76Version/Revision
77----------------
78Plugin version number and Plugin Revision information have been added in <authoring_tool> element
79

README_OSX.rtf

1{\rtf1\ansi\deff0\adeflang1025
2{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq0\fcharset1 Helvetica{\*\falt Arial};}{\f4\froman\fprq0\fcharset1 Times New Roman;}{\f5\fswiss\fprq0\fcharset1 Arial;}{\f6\fnil\fprq2\fcharset0 Microsoft YaHei;}{\f7\fnil\fprq2\fcharset0 Arial;}{\f8\fnil\fprq0\fcharset1 Mangal;}}
3{\colortbl;\red0\green0\blue0;\red128\green128\blue128;}
4{\stylesheet{\s0\snext0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031 Default Style;}
5{\s15\sbasedon0\snext16\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf0\kerning1\dbch\af6\langfe2052\dbch\af8\afs28\alang1081\loch\f5\fs28\lang1031 Heading;}
6{\s16\sbasedon0\snext16\ql\nowidctlpar\sb0\sa120\ltrpar\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031 Text Body;}
7{\s17\sbasedon16\snext17\ql\nowidctlpar\sb0\sa120\ltrpar\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031 List;}
8{\s18\sbasedon0\snext18\ql\nowidctlpar\sb120\sa120\noline\ltrpar\cf0\i\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\ai\loch\f4\fs24\lang1031 Caption;}
9{\s19\sbasedon0\snext19\ql\nowidctlpar\noline\ltrpar\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031 Index;}
10}{\info{\creatim\yr0\mo0\dy0\hr0\min0}{\revtim\yr0\mo0\dy0\hr0\min0}{\printim\yr0\mo0\dy0\hr0\min0}{\comment LibreOffice}{\vern4000}}\deftab720
11\viewscale100
12{\*\pgdsctbl
13{\pgdsc0\pgdscuse455\pgwsxn11906\pghsxn16838\marglsxn1440\margrsxn1440\margtsxn1440\margbsxn1440\pgdscnxt0 Default Style;}}
14\formshade{\*\pgdscno0}\paperh16838\paperw11906\margl1440\margr1440\margt1440\margb1440\sectd\sbknone\sectunlocked1\pgndec\pgwsxn11906\pghsxn16838\marglsxn1440\margrsxn1440\margtsxn1440\margbsxn1440\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
15\pgndec\pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
16Building on Mac OSX darwin9 }{\rtlch \ltrch\loch\lang1033\loch\f3
17(OSX}{\rtlch \ltrch\loch\loch\f3
18 10.5 }{\rtlch \ltrch\loch\lang1033\loch\f3
19and newer)}{\rtlch \ltrch\loch\loch\f3
20 }
21\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\rtlch \ltrch\loch
22
23\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
24I compiled this time using xcode/clang}
25\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\rtlch \ltrch\loch\loch\f3
26
27\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
28It is easier this way to set bw-compatibility flags + clang gives}
29\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
30better codequality/speed.}
31\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\rtlch \ltrch\loch\loch\f3
32
33\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
34Usage:}
35\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\rtlch \ltrch\loch\loch\f3
36
37\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
38Set configuration in cmake-gui to xcode/crosscompile.}
39\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
40Set desired target sdk }
41\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
42Configure}
43\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
44Generate}
45\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\rtlch \ltrch\loch\loch\f3
46
47\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
48In Xcode set your target architecture(s)}
49\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
50Compile.}
51\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\rtlch \ltrch\loch\loch\f3
52
53\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
54Some notes:}
55\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\rtlch \ltrch\loch\loch\f3
56
57\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
58The cmake missed the option to use PCRENATIVE=0/1}
59\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\rtlch \ltrch\loch\loch\f3
60
61\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
62unodered_maps are not working from std, so i patched this}
63\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f4\fs24\lang1031\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803{\rtlch \ltrch\loch\loch\f3
64to use tr1 again.}
65\par }