summaryrefslogtreecommitdiff
path: root/thirdparty
AgeCommit message (Collapse)Author
2019-09-01Assimp FBX Import supportGordon MacPherson
Issues fixed: - Updated assimp to latest and backported fixes into godot. - Fixed file scale being ignored from FBX file. - Fixed bone removal - Implemented proper armature binding - Fixed recursion not always going through the entire path - Implemented assimp global scaling system - Fixed assimp global scale process to support unit conversion - Implemented proper fbx scaling - Fixed asserts caused by missing faces in some models which could crash - Fixed valid bone removal - Fixed root node being overwriten by assimp which caused data loss - Fixed armature construction so that it works with multiple roots - Implemented basic support for FBX standard materials - Refactoring to improve code quality and improve function reuse. - Simplified node creation from assimp scene into subsections: create_light, create_mesh, create_bone. - Creating meshes is now done after hierarchy is created so that the skeleton is always available. - Added support to assimp to support file scale in all formats which call SetFileScale. - Many other fixes provided into assimp. Known issues: - FBX pivots from Maya do not currently work. (workaround: for now use blender import and export to remove pivot tracks) - Hierarchy creates an extra node for each mesh - this was done intentionally but we intended to do a pass to remove these as they're a required node. - When an animated mesh has not executed any animation the rest pose is wrong. Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2019-08-28Tweak xatlas and import new version b4b5426K. S. Ernest Lee
* Avoid xatlas crash * Enable alignment and disable bruteforce for speedups * Update xatlas to b4b5426 * Delete old patches
2019-08-02Fix error when building assimp on older Mac OS X version.follower
Prevents this error when building with Mac OS X 10.9 SDK: error: no member named 'atoi' in namespace 'std'; did you mean simply 'atoi'?
2019-07-30Merge pull request #30945 from RevoluPowered/feature/assimp_updateRémi Verschelde
Updated assimp to commit 1d565b0 with iFire
2019-07-30Updated assimp to commit 1d565b0 with iFireRevoluPowered
Signed-off-by: RevoluPowered <gordon@gordonite.tech> Signed-off-by: K. S. Ernest (iFIre) Lee <ernest.lee@chibifire.com>
2019-07-30jpgd.h: Backport security vulnerabilities fixes from Google AndroidRémi Verschelde
Squashed version of https://github.com/richgel999/jpeg-compressor/pull/10 with the line endings fixed (DOS to Unix). See https://github.com/richgel999/jpeg-compressor/pull/10 and #30952 for details. Relates to CVE-2017-0700. Fixes #30952.
2019-07-20zstd: Update to upstream version 1.4.1Rémi Verschelde
2019-07-16Update xatlas to f65a664.K. S. Ernest (iFIre) Lee
xatlas is now multicore.
2019-07-11Merge pull request #30129 from fire/xatlas_updateRémi Verschelde
[WIP] Update xatlas to latest upstream commit (1efe581).
2019-07-11Merge pull request #30515 from akien-mga/tinyexr-a685e33Rémi Verschelde
tinyexr: Sync with upstream a685e33
2019-07-11Merge pull request #30514 from akien-mga/pcre2-10.33Rémi Verschelde
pcre2: Update to upstream version 10.33
2019-07-11Merge pull request #30513 from akien-mga/stb_vorbis-1.16Rémi Verschelde
stb_vorbis: Update to upstream version 1.16
2019-07-11Merge pull request #30512 from akien-mga/glad-0.1.31Rémi Verschelde
glad: Sync with upstream 0.1.31
2019-07-11Merge pull request #30511 from akien-mga/freetype-2.10.1Rémi Verschelde
freetype: Update to upstream version 2.10.1
2019-07-11stb_vorbis: Update to upstream version 1.16Rémi Verschelde
2019-07-11freetype: Update to upstream version 2.10.1Rémi Verschelde
2019-07-11glad: Sync with upstream 0.1.31Rémi Verschelde
2019-07-11pcre2: Update to upstream version 10.33Rémi Verschelde
2019-07-11tinyexr: Sync with upstream a685e33Rémi Verschelde
2019-07-11mbedtls: Update to upstream version 2.16.2Rémi Verschelde
2019-07-09Update xatlas to b7d7bb.K. S. Ernest (iFire) Lee
2019-07-04Godot addition to wslay, fixes MSVC buildFabio Alessandrelli
2019-07-04Remove libwebsocket. No longer used, yay!Fabio Alessandrelli
2019-07-04WebSocket module now uses wslay library.Fabio Alessandrelli
Both client and server are supported on native builds (as usual). SSL server is still not supported, but will soon be possible with this new library. The API stays the same, we just need to work out potential issues due to this big library switch.
2019-07-02Merge pull request #30239 from Faless/crypto/crypto_coreRémi Verschelde
CryptoCore class to access to base crypto utils.
2019-07-02Fix few GCC9 warnings:Martin Liska
thirdparty/assimp/include/assimp/material.inl: In member function 'aiReturn aiMaterial::Get(const char*, unsigned int, unsigned int, aiColor3D&) const': thirdparty/assimp/include/assimp/material.inl:176:33: error: implicitly-declared 'aiColor3D& aiColor3D::operator=(const aiColor3D&)' is deprecated [-Werror=deprecated-copy] 176 | pOut = aiColor3D(c.r,c.g,c.b); modules/dds/texture_loader_dds.cpp:167:50: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 167 | if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("DXT1")) { | ^ [ 28%] modules/dds/texture_loader_dds.cpp:170:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 170 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("DXT3")) { | ^ modules/dds/texture_loader_dds.cpp:174:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 174 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("DXT5")) { | ^ modules/dds/texture_loader_dds.cpp:177:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 177 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("ATI1")) { | ^ modules/dds/texture_loader_dds.cpp:180:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 180 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("ATI2")) { | ^ modules/dds/texture_loader_dds.cpp:183:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 183 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("A2XY")) { | ^ thirdparty/assimp/include/assimp/material.inl: In member function 'aiReturn aiMaterial::Get(const char*, unsigned int, unsigned int, aiColor3D&) const': thirdparty/assimp/include/assimp/material.inl:176:33: error: implicitly-declared 'aiColor3D& aiColor3D::operator=(const aiColor3D&)' is deprecated [-Werror=deprecated-copy] 176 | pOut = aiColor3D(c.r,c.g,c.b);
2019-07-02CryptoCore class to access to base crypto utils.Fabio Alessandrelli
Godot core needs MD5/SHA256/AES/Base64 which used to be provided by separate libraries. Since we bundle mbedtls in most cases, and we can easily only include the needed sources if we so desire, let's use it. To simplify library changes in the future, and better isolate header dependencies all functions have been wrapped around inside a class in `core/math/crypto_base.h`. If the mbedtls module is disabled, we only bundle the needed source files independently of the `builtin_mbedtls` option. If the module is enabled, the `builtin_mbedtls` option works as usual. Also remove some unused headers from StreamPeerMbedTLS which were causing build issues.
2019-06-30Update miniupnpc library to latest masterFabio Alessandrelli
2019-06-11bullet: Sync with current upstream master branchRémi Verschelde
This updates our local copy to commit 5ec8339b6fc491e3f09a34a4516e82787f053fcc. We need a recent master commit for some new features that we use in Godot (see #25543 and #28909). To avoid warnings generated by Bullet headers included in our own module, we include those headers with -isystem on GCC and Clang. Fixes #29503.
2019-05-25Git: Explicitly list binary files as such to avoid EOL changeRémi Verschelde
text=auto works well in Git 2.10+ but it's broken in previous versions, which are still used in production on e.g. Ubuntu 16.04 LTS. Also fix a couple missed text files with CRLF terminators. .bat files likely require it to be processed properly on Windows, but core.autocrlf should take care of converting them on the fly when checking out on Windows.
2019-05-22Build Clipper with `tools=no` and patch it to auto-disable exceptionsAndrii Doroshenko (Xrayez)
Reverts "Build polygon clipper only in tools builds" (see #17319) which allows to build Clipper with tools disabled (release) and because of that, Clipper has to be patched to optionally disable exceptions in order to be built on some platforms. Patched Clipper 6.4.2 to be compiled with exceptions enabled/disabled. and ensure that Clipper-specific exception macros are defined: don't use exceptions by default unless exception handling is detected. Compilation with exceptions will be determined by various C++ exceptions defines: * ` __cpp_exceptions` is part of C++ feature testing macros (since C++98); * `__EXCEPTIONS` is used by some GNU compilers; * `_CPPUNWIND` is used by MSVC. The user can override specific exceptions behavior via corresponding `*_USER` macros (i.e. compiling for embedded systems).
2019-05-22Fix non UTF8-encoded thirdparty filesRémi Verschelde
2019-05-16Revert "Revert "Implemented terrain raycast acceleration""Rémi Verschelde
2019-05-13Merge pull request #28518 from clayjohn/GLES2-MSAARémi Verschelde
Added MSAA to GLES2 backend
2019-05-07Merge pull request #28453 from Tarik02/enet_socket_set_optionFabio Alessandrelli
Partially implement enet_socket_set_option
2019-05-02added MSAA to GLES backendclayjohn
2019-05-01Revert "Update libwebsockets to 3.1 (plus UWP patch)"Fabio Alessandrelli
This reverts commit 90210c48627692d281554d6185b5db17a86c852a.
2019-04-30Merge pull request #26051 from 20kdc/videofixRémi Verschelde
webm/theora/yuv2rgb/libsimplewebm: Fix colour issues I could find.
2019-04-26Removed a call to `set_blocking_enabled` from function `enet_socket_create` ↵Tarik02
since it is already called from https://github.com/godotengine/godot/blob/master/thirdparty/enet/host.c#L63
2019-04-26Implement function enet_socket_set_option using ENetSocket class's methods.Tarik02
Implemented options: - ENET_SOCKOPT_NONBLOCK - ENET_SOCKOPT_BROADCAST - ENET_SOCKOPT_REUSEADDR - ENET_SOCKOPT_NODELAY Not implemented options: - ENET_SOCKOPT_RCVBUF - ENET_SOCKOPT_SNDBUF - ENET_SOCKOPT_RCVTIMEO - ENET_SOCKOPT_SNDTIMEO
2019-04-26libpng: Update to upstream 1.6.37Rémi Verschelde
Fixes CVE-2019-7317.
2019-04-23Revert "Implemented terrain raycast acceleration"Rémi Verschelde
2019-04-23Merge pull request #25543 from Zylann/optimize_bullet_heightfield_raycast2Hein-Pieter van Braam
Implemented terrain raycast acceleration
2019-04-22Merge pull request #27817 from fire/assimp_d3d98aRémi Verschelde
Update Assimp to master at d3d98a7ec0c8d38e1952b46dfe53f7e9233dc92d
2019-04-20Merge pull request #27554 from volzhs/freetype-2.10.0Rémi Verschelde
Update freetype to 2.10.0
2019-04-19Merge pull request #28196 from akien-mga/xatlas-cleanupRémi Verschelde
xatlas: Document provenance, copyright and custom changes
2019-04-19xatlas: Redo our custom changes, but properly documentedRémi Verschelde
2019-04-19xatlas: Revert to unmodified upstream code, add to COPYRIGHTRémi Verschelde
Imported by @reduz from https://github.com/jpcy/xatlas/commit/b8ec29b6b62fb808823e042df5f0f800c07f2e8b Custom changes will be remade properly in the next commit.
2019-04-19Drop unused thekla_atlas dependencyRémi Verschelde
Since f12cb82 @reduz dropped the use of the thirdparty thekla_atlas library, which is replaced by xatlas. Fixes #28180. Fixes #28182.
2019-04-18zstd: Update to upstream 1.4.0Rémi Verschelde
One step towards fixing #17374 as most experimental APIs we use are now part of the stable 1.4.0.