633 Commits

Author SHA1 Message Date
Tom Finegan
6d70ba7033
Merge pull request #410 from google/issue_407
Add a flag that allows building standard targets in Emscripten.
2018-06-04 10:46:18 -07:00
Tom Finegan
35c74bf71b
Merge pull request #409 from google/bin_cleanup
Add prebuilt maya plugins.
2018-06-04 10:45:57 -07:00
Tom Finegan
e813141cdf Add a flag that allows building standard targets in Emscripten.
Downstream users sometimes need the standard Draco library targets,
even when building in Emscripten. Add the flag ENABLE_JS_GLUE, which
defaults to ON. When turned OFF, the standard Draco library targets
will still be built within an Emscripten build.

Also do some whitespace clean up while working in CMakeLists.txt.

https://github.com/google/draco/issues/407
2018-06-01 15:21:41 -07:00
Tom Finegan
326f0f7196 Update draco_maya_wrapper.dll (windows x64 maya) 2018-06-01 11:20:05 -07:00
Tom Finegan
0abf0cf586 Add libdraco_maya_wrapper.so (linux x64 maya) 2018-06-01 11:20:01 -07:00
Tom Finegan
b19b1ecae1 Add draco_maya_wrapper.bundle (macos x64 maya) 2018-06-01 11:18:33 -07:00
Tom Finegan
67e080d1a1 Remove draco_encoder and draco_decoder windows binaries. 2018-06-01 11:05:23 -07:00
ggetz
ee55b3b654 Add a flag for cmake to generate IE11 compatible js decoder modules 2018-05-25 11:31:07 -04:00
Tom Finegan
affc0ad888
Merge pull request #403 from google/maya_fixes
Maya fixes
2018-05-24 15:06:44 -07:00
Tom Finegan
85d2654fc9 Add linux instructions for the Maya plugin 2018-05-24 10:53:41 -07:00
Tom Finegan
4677d014e4 Add macos make build instructions to maya/README.md. 2018-05-24 10:27:52 -07:00
Tom Finegan
d4675cf0d1 cmake: Fix mac build
Clang @ Apple LLVM version 9.0.0 (clang-900.0.39.2) fails to
link when SOVERSION is set for bundles. Don't set it on Apple
targets.
2018-05-24 10:27:52 -07:00
Tom Finegan
a37163c368
Merge pull request #395 from fdefelici/maya_plugin
Maya Plugin v0.0.1
2018-05-24 10:27:19 -07:00
Federico De Felici
ade1bc6793 Reviewed README, added RELEASE, and refactored project structure 2018-05-19 10:52:04 +02:00
tomfinegan
098232e08d
Merge pull request #394 from google/fix_shared_macos_builds
Don't set SOVERSION property for ios/macos unity bundle.
2018-05-18 11:20:39 -07:00
Duccio
c46c5c9a5d Updated readme (features, installation and usage) 2018-05-18 20:13:44 +02:00
Tom Finegan
11dc17315e Don't set SOVERSION property for ios/macos unity bundle.
It causes a link error like the following:
clang: error: invalid argument '-compatibility_version 1.0.0' only allowed with '-dynamiclib'

Fixes: https://github.com/google/draco/issues/393
2018-05-18 11:04:26 -07:00
Duccio
56599d1306 Added export functionalities for uvs and normals for maya plugin 2018-05-18 19:50:47 +02:00
Duccio
8522e990b9 Fixed uv in maya importer, code refactoring 2018-05-18 19:15:47 +02:00
Duccio
3597709dc8 Removed unnecessary indices array duplication from maya importer 2018-05-18 18:15:40 +02:00
Duccio
7843dedfc3 added working exporter for maya, only vertices and indices for now 2018-05-18 17:54:34 +02:00
Richman Stewart
da0df33a89 retain alpha vertex colour attribute when decompressing unity mesh (#392)
* make sure alpha vertex colour attribute is retained

* make sure unity plugin loads alpha vertex colour as well
2018-05-17 10:43:18 -07:00
FrankGalligan
5a090b9f71
Merge pull request #391 from google/update_unity_plugins
Update Unity plug-ins
2018-05-17 10:25:14 -07:00
MattiaPezzanoAiv
f16ab8b767 refactored variables initialization 2018-05-17 11:30:39 +02:00
Frank Galligan
f75f480d73 Update Unity plug-ins
Updated Unity README.md
2018-05-15 10:54:42 -07:00
MattiaPezzanoAiv
8c88b5b2c8 fixed new api 2018-05-15 17:08:28 +02:00
MattiaPezzanoAiv
fae76dd191 added draco mesh 2018-05-15 14:51:13 +02:00
MattiaPezzanoAiv
9c48f45d28 Merge branch 'maya_plugin' of github.com:fdefelici/draco into maya_plugin 2018-05-15 14:10:10 +02:00
Duccio
b22b405dc3 refactoring and some code optimization 2018-05-15 15:57:46 +02:00
MattiaPezzanoAiv
b958fac85c added preliminar implementation of write method 2018-05-15 14:09:59 +02:00
Federico De Felici
42e1a46f04 Merge branch 'maya_plugin' of https://github.com/fdefelici/draco into maya_plugin 2018-05-15 13:30:24 +02:00
Federico De Felici
d20efa41df Removed types from arguments to be compliant with python 2.7 2018-05-15 13:29:32 +02:00
Duccio
94dfec818d added cube mesh 2018-05-14 23:10:30 +02:00
Duccio
5e849456a5 renamed file, added plugin reader implementation 2018-05-14 23:09:42 +02:00
FrankGalligan
d83342256e
Merge pull request #390 from google/fix_cmake_var_handling
Require Android NDK path in environment.
2018-05-14 12:46:52 -07:00
Tom Finegan
fde45e52f2 Require Android NDK path in environment.
Updates require_var() and set_variable_if_unset() to use the
environment values for named variables.

CMake processes toolchain files multiple times, and on some
processing runs cache variables are not available. Environment
variables are always available.
2018-05-14 11:42:25 -07:00
Federico De Felici
96a1a3c276 Added a encode feature on the c++ wrapper. Added more tests and some refactoring 2018-05-13 09:52:45 +02:00
FrankGalligan
bd79625ac8
Merge pull request #385 from donmccurdy/feat-dracoloader-typed-attributes
THREE.DRACOLoader: Support attribute type map.
2018-05-11 16:55:11 -07:00
Federico De Felici
676b05bd22 Fixed normal and uvs cc adapter. Now stoormtrup test are fine 2018-05-11 21:59:02 +02:00
Duccio
382c462876 added various meshes for tests 2018-05-11 19:58:16 +02:00
Duccio
0efb8fe21f added a test for a mesh containing uvs and normal 2018-05-11 19:55:10 +02:00
Federico De Felici
9641f81930 Added draco exe for test purpose 2018-05-11 16:37:13 +02:00
Federico De Felici
49bf56a030 Updated example with uvs 2018-05-11 16:18:39 +02:00
Federico De Felici
64dbf0f3ef Added uvs mapping 2018-05-11 16:16:38 +02:00
Federico De Felici
9d02e1cd75 Updated example script 2018-05-11 15:39:58 +02:00
Federico De Felici
7a68d823f9 Added memory free management; decoupled mesh result from ctypes; added tests 2018-05-11 15:37:39 +02:00
Federico De Felici
48a662f733 added readme file 2018-05-11 11:46:34 +02:00
Federico De Felici
07fbd55e44 File renaming and added maya plugin 2018-05-11 11:45:02 +02:00
Federico De Felici
0f69ddffb1 Partial cleaning on cc files 2018-05-11 11:27:27 +02:00
Federico De Felici
9afc0d3177 First version of draco wrapper for python 2018-05-11 11:25:56 +02:00