-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remap submodules, add README and LICENSE
- Loading branch information
1 parent
4363c89
commit 6bc66f2
Showing
4 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
*.dir | ||
*.sln | ||
*.suo | ||
*.vcxproj* | ||
*.nupkg | ||
CMakeFiles | ||
cmake_install.cmake | ||
CMakeCache.txt | ||
collada2gltf.opensdf | ||
collada2gltf.sdf | ||
Win32/ | ||
bin/ | ||
ipch/ | ||
lib/ | ||
GitSHA1.cpp | ||
.DS_Store | ||
x64/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "dependencies/OpenCOLLADA"] | ||
path = dependencies/OpenCOLLADA | ||
url = https://github.com/KhronosGroup/OpenCOLLADA.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
Original work Copyright (c) 2012, Motorola Mobility, Inc. | ||
All Rights Reserved. | ||
BSD License. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
- Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
- Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
- Neither the name of Motorola Mobility nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
|
||
Additional contributions copyright their respective contributors (also BSD License): | ||
* Fabrice Robinet | ||
* Analytical Graphics, Inc. | ||
|
||
Third-Party Libraries | ||
===================== | ||
|
||
|
||
OpenCOLLADA | ||
----------- | ||
|
||
Copyright (c) 2008-2009 NetAllied Systems GmbH | ||
|
||
This file is part of COLLADAMax. | ||
|
||
Portions of the code are: | ||
Copyright (c) 2005-2007 Feeling Software Inc. | ||
Copyright (c) 2005-2007 Sony Computer Entertainment America | ||
|
||
Based on the 3dsMax COLLADASW Tools: | ||
Copyright (c) 2005-2006 Autodesk Media Entertainment | ||
|
||
Licensed under the MIT Open Source License, | ||
for details please see LICENSE file or the website | ||
http://www.opensource.org/licenses/mit-license.php | ||
|
||
RapidJSON | ||
--------- | ||
|
||
Copyright (C) 2011 Milo Yip | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
get_opt | ||
------- | ||
|
||
/* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */ | ||
/* $FreeBSD: src/include/getopt.h,v 1.1 2002/09/29 04:14:30 eric Exp $ */ | ||
|
||
/*- | ||
* Copyright (c) 2000 The NetBSD Foundation, Inc. | ||
* All rights reserved. | ||
* | ||
* This code is derived from software contributed to The NetBSD Foundation | ||
* by Dieter Baron and Thomas Klausner. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions | ||
* are met: | ||
* 1. Redistributions of source code must retain the above copyright | ||
* notice, this list of conditions and the following disclaimer. | ||
* 2. Redistributions in binary form must reproduce the above copyright | ||
* notice, this list of conditions and the following disclaimer in the | ||
* documentation and/or other materials provided with the distribution. | ||
* 3. All advertising materials mentioning features or use of this software | ||
* must display the following acknowledgement: | ||
* This product includes software developed by the NetBSD | ||
* Foundation, Inc. and its contributors. | ||
* 4. Neither the name of The NetBSD Foundation nor the names of its | ||
* contributors may be used to endorse or promote products derived | ||
* from this software without specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | ||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | ||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | ||
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
* POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# COLLADA to glTF converter | ||
|
||
A command-line tool to convert COLLADA (`.dae`) files to [glTF](https://github.com/KhronosGroup/glTF). | ||
|
||
## Usage | ||
|
||
``` | ||
collada2gltlf -f [file] [options] | ||
options: | ||
-z -> path of configuration file [string] | ||
-f -> path of input file, argument [string] | ||
-o -> path of output file argument [string] | ||
-b -> path of output bundle argument [string] | ||
-g -> [experimental] GLSL version to output in generated shaders | ||
-i -> invert-transparency | ||
-d -> export pass details to be able to regenerate shaders and states | ||
-p -> output progress | ||
-l -> enable default lighting (if no lights in scene) [bool], default:true | ||
-c -> compression type: available: Open3DGC [string] | ||
-m -> compression mode: for Open3DGC can be "ascii"(default) or "binary" [string] | ||
-v -> print version | ||
-s -> experimental mode | ||
-h -> help | ||
-r -> verbose logging | ||
-e -> embed resources (bin, shaders, available textures) in glTF file | ||
-n -> don't combine animations with the same target | ||
-k -> export materials and lights using KHR_materials_common extension | ||
``` |