summaryrefslogtreecommitdiff
path: root/thirdparty
AgeCommit message (Collapse)Author
2019-11-05Updated assimp to 308db73 from https://github.com/assimp/assimp/RevoluPowered
2019-11-05FBX Importer Generation 3RevoluPowered
Basic skin support Various fixes - Fixes bind mount id and mesh index - Fixed duplicate nodes being created - Prevented leak when instances being freed during re-import. - Improved camera and light transform import - skeleton handling and technical debt removal - ASSIMP: bone nodes were unlinked from bones by this code - bone_add working can distinguish between armatutes - Updated transform to be the correct offset - Added safety for state.root node errors - Fixed memory leak with leaf bones - Implemented children re-parenting for mesh template - import_animation fixes to basic skeleton data - Adds some more debug messages - Fixed Godot import segfault - Fix build failing on mono - Clear resources we use which are no longer required after import - Fixed bone duplication issue - Working skeleton_bone_map which can lookup armatures properly now. - Fixed stack being used up when mesh swapped & Fixed bone ID Additional notes: We use a mesh template which is a fake node to instance the initial mesh nodes . This is to ensure the entire tree can be built. We replace mesh node templates with the real mesh after the skeleton is available, since this makes it ensure that the fully built skeleton exists with all bones, all nodes, etc. The bone stack is a stack which pops when it finds bones, this overcomes duplicate bones with the same names. FBX has lots of these because animation armature has bone names like bone001 and another armature will also have bone001 Fixed errors in node path assignment Simple explanation: - Every mesh uses a node from the stack - Node stack was empties before completed - Every time node not found, stack must be rebuilt to maintain correct armature order :) Additional fixes: - Fixes destructor in assimp - Implements aiNode* mArmature in bone data - Implements aiNode* mParent in bone data - Fixes parent ID on bones. Implemented skeleton assignment in generate_mesh_indicies This is the only place we can safely do a lookup for the skeleton for the mesh.h I used a pointer reference so we can pass this back out, since the skeleton assignment happens inside the function. Added mesh re-parenting to the armature node this is a permanent feature and must be enforced, just like GLTF2 specification. Fixed import_animation spawning tracks per skin
2019-11-03Merge pull request #33254 from SneakyFish5/update-zstdRémi Verschelde
Update zstd to 1.4.3
2019-11-03Update zstd to 1.4.3unknown
2019-10-31Add new file in libogg readmeJonathan Mannancheril
2019-10-30Update libogg to upstream c8fca6bJonathan Mannancheril
2019-10-27Update libwebp to 1.0.3volzhs
2019-10-03Remove unused stb_truetype-based DynamicFont implementationHugo Locurcio
The DynamicFont implementation currently in use is based on FreeType, which provides much better visual quality. This old implementation wasn't exposed anywhere, so this shouldn't break compatibility. This decreases binary sizes by a few kilobytes.
2019-09-19Implemented maya stingray supportRevoluPowered
2019-09-19Implemented basic texture mapping for PBR material definitionsRevoluPowered
This reads materials properly from Maya and expands on existing functionality to make this work properly. aiTextureType_SHININESS no longer used as not appropriate for PBR texture as it is legacy. This fix will be also present in assimp soon.
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