Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
AgeCommit message (Collapse)Author
2021-03-17Bugfix: properly rename Null audio device to NoneJörg Müller
2021-03-17Audaspace: add support for CoreAudio on macOSJörg Müller
This adds CoreAudio as audio backend on macOS. CoreAudio is the standard audio API on macOS. Ref T86590
2021-03-17Audaspace: add support for WASAPI on WindowsJörg Müller
This adds WASAPI as audio backend on Windows. WASAPI is the modern standard audio API on Windows introduced with Windows Vista. Ref T86590
2021-03-17Audaspace: add support for PulseAudio on LinuxJörg Müller
This adds PulseAudio as audio backend on Linux. PulseAudio is the main audio engine used on most, if not all, Linux distributions today. Ref T86590
2021-03-17Audaspace: porting minor improvements from upstreamJörg Müller
- NullDevice is now called None - Automatic choice of best available device. - Minor formatting, documentation and cmake fixes.
2021-03-11Fluid: Updated hidden symbol visibility commentSebastián Barschkis
It turns out that on official arm64 devices (not DevKit) the linker warnings still show up. So just leaving this as is. Ref D9002
2021-02-17MSVC: Suppress C4251 in OpenVDB/MantaflowRay Molenkamp
All headers in the svn libraries should be building with /W0 however MSVC 16.8/16.9 has broken this functionality making OpenVDB emit lots of warnings. The breakage was reported [1] in august to MS but they still have not gotten around to addressing the issue. This change explicitly suppresses C4251 in the module that emitted these warnings. As the warning is useful in other parts of blender a localized approach is taken rather than a global suppression. [1] https://developercommunity.visualstudio.com/content/problem/1167590/bug.html
2021-02-10TBB: fix deprecation warnings with newer TBB versionsBrecht Van Lommel
* USD and OpenVDB headers use deprecated TBB headers, suppress all deprecation warnings there since we have no control over them. * For our own TBB includes, use the individual headers rather than the tbb.h that includes everything to avoid warnings, rather than suppressing all. This is in anticipation of the TBB 2020 upgrade in D10359. Ref D10361.
2021-02-05Merge branch 'blender-v2.92-release'Sebastián Barschkis
2021-02-05Fluid: Updated Mantaflow source filesSebastián Barschkis
This updates fixes the following issues (critical for 2.92): - Issue that prevented dense 'int' grids from being exported (incorrect clip value) - Issue with particles outside out of domain bounds (position between -1 and 0) not being deleted
2021-02-05Cleanup: cmake indentation, white-spaceCampbell Barton
2021-02-02Fluid: Updated Mantaflow source filesSebastián Barschkis
Includes improvements for the file IO. Namely, more meta data will be written from now on. This change is required to prevent IO issues (e.g. T84649) that arised through the use of sparse grids caching (introduced in 2.92).
2021-01-13Fluid: Updated Mantaflow source filesSebastián Barschkis
Includes minor fixes / cleanups from the viscosity plugin.
2021-01-10Fluid: Fix cache saving issue with OpenVDB IOSebastián Barschkis
Fixes issue where files would not be written when 'resumable' option was checked.
2020-12-24Audaspace: port accuracy improvement from upstream.Jörg Müller
2020-12-24Fix T83997: Duplicated audio does not sound the sameJörg Müller
The issue was that sounds were always faded from 0 volume when they started and depending on the currently used buffer size, the fading took longer or shorter. The solution stores whether the sound has ever been played back and consequently does not fade when starting to play back.
2020-12-23Fluid: Added new viscosity solverSebastián Barschkis
Mainly updated the Mantaflow version. It includes the new viscosity solver plugin based on the method from 'Accurate Viscous Free Surfaces for Buckling, Coiling, and Rotating Liquids' (Batty & Bridson). In the UI, this update adds a new 'Viscosity' section to the fluid modifier UI (liquid domains only). For now, there is a single 'strength' value to control the viscosity of liquids.
2020-12-14Fix several issues with handling of numpy in CMake.Bastien Montagne
Issues were: * Abusing of `WITH_PYTHON_INSTALL_NUMPY` by both Audaspace and Mantaflow. - `PYTHON_INSTALL` options only decide whether we copy python (and some extra modules) in our Blender installation. On linux it makes much more sense to use global python installation. - Now we have instead a proper `WITH_PYTHON_NUMPY` * Bad assumptions regarding path of headers relative to path of python module. - In current Debian testing, modules are under `python3.9` directory, while headers are under `python3` directory. - Now we properly `find_path` for headers as well, modifying `find_python_package` to take an optional argument for headers. Note that the required changes done to `extern` libraries are in blender-specific files that do not exist upstream. Differential Revision: https://developer.blender.org/D9773
2020-12-14Revert "Fix several issues with handling of numpy in CMake."Bastien Montagne
This reverts commit 5d570c875eda8fb9aa3635f7f4edac0dc1eaedc8. Buildbots are still borken, need more time to investigate.
2020-12-14Fix several issues with handling of numpy in CMake.Bastien Montagne
Issues were: * Abusing of `WITH_PYTHON_INSTALL_NUMPY` by both Audaspace and Mantaflow. - `PYTHON_INSTALL` options only decide whether we copy python (and some extra modules) in our Blender installation. On linux it makes much more sense to use global python installation. - Now we have instead a proper `WITH_PYTHON_NUMPY` * Bad assumptions regarding path of headers relative to path of python module. - In current Debian testing, modules are under `python3.9` directory, while headers are under `python3` directory. - Now we properly `find_path` for headers as well, modifying `find_python_package` to take an optional argument for headers. Note that the required changes done to `extern` libraries are in blender-specific files that do not exist upstream. Differential Revision: https://developer.blender.org/D9773
2020-12-11Readme file to extern libraries about the attribution documentDalai Felinto
2020-12-11Cleanup: trailing spaceCampbell Barton
2020-12-08Missing README.blender license files + New BSD casesDalai Felinto
I also changed New BSD to BSD 3 Clause. Differential Revision: https://developer.blender.org/D9791
2020-12-07glTF: update Draco library to new versionJim Eckerlein
To support decoding and enhanced encoding of Draco compressed glTF files. Differential Revision: https://developer.blender.org/D9642
2020-12-06Fluid: Updated Mantaflow source filesSebastián Barschkis
Includes outflow optimization - might have been the cause of instabilities.
2020-11-29QuadriFlow: Fix std::allocator deprecation warningsAnkit Meel
https://en.cppreference.com/w/cpp/memory/allocator/construct "(deprecated in C++17) (removed in C++20)" Same for `destroy`. Reviewed By: zeddb Differential Revision: https://developer.blender.org/D9657
2020-11-26Fluid: Updated Mantaflow source filesSebastián Barschkis
This update introduces two improvements from the Mantaflow repository: (1) Improved particle sampling: - Liquid and secondary particles are sampled more predictably. With all parameters being equal, baked particles will be computed at the exact same position during every bake. - Before, this was not guaranteed. (2) Sparse grid caching: - While saving grid data to disk, grids will from now on be saved in a sparse structure whenever possible (e.g. density, flame but not levelsets). - With the sparse optimization grid cells with a value under the 'Empty Space' value (already present in domain settings) will not be cached. - The main benefits of this optimization are: Smaller cache sizes and faster playback of simulation data in the viewport. - This optimization works 'out-of-the-box'. There is no option in the UI to enable it. - For now, only smoke simulation grids will take advantage of this optimization.
2020-11-13Ceres: Update to upstream version 2.0.0Sergey Sharybin
We already were using one of earlier RC of the library, so there is no expected big changes. Just making the update official, using official version and stating it in the readme file.
2020-11-06Cleanup: Use nullptr everywhere in fluid codeSebastián Barschkis
Switched from NULL to nullptr.
2020-11-06Cleanup: use string APPEND/PREPENDCampbell Barton
Replace 'set' with 'string(APPEND/PREPEND ...)'. This avoids duplicating the variable name.
2020-11-03Fluid: Updated APIC pluginSebastián Barschkis
Updated version of APIC plugin in order to resolve ASAN issues.
2020-10-30Fluid: Cleanup for APIC debug build setupSebastián Barschkis
Fixes build issue
2020-10-30Fluid: Added APIC simulation methodSebastián Barschkis
Basic support for velocity updates with the APIC method. This commit adds APIC to the already existing dropdown menu for the simulation method. The APIC plugin within Mantaflow has been updated to the latest version.
2020-10-14Fluid: Update Mantaflow source filesSebastián Barschkis
Updated files includes: - Fix for smoke / fire emission from particles - Custom precision for liquid particles when saving in OpenVDB format
2020-10-12Fluid: Use hidden symbol visibilitySebastián Barschkis
This resolves a long list of linker warnings that is currently only showing up on macOS arm builds. The warnings themselves are of this shape (one example): ``` ld: warning: direct access in function 'Manta::MeshDataImpl<Manta::Vector3D<float> >::_W_39(_object, object, object*)' from file '../../lib/libextern_mantaflow.a(mesh.h.reg.cpp.o)' to global weak symbol 'typeinfo for Manta::MeshDataImpl<Manta::Vector3D<float> >' from file '../../lib/libextern_mantaflow.a(mesh.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ``` Just would like to get your opinion to make sure this is an acceptable way to handle this on all platforms. Reviewed By: LazyDodo Differential Revision: https://developer.blender.org/D9002
2020-10-07PyDoc: Fix typo in extern audaspace documentationAaron Carlisle
A PR has also been sent upstream: https://github.com/neXyon/audaspace/pull/33
2020-10-06Fluid: Updated Mantaflow source filesSebastián Barschkis
Among code cleanups, this update includes a new flood-fill helper function for levelsets.
2020-09-07Audaspace: port changes from upstream.Joerg Mueller
Adds possibility to report progress during audio mixdown.
2020-09-02Quiet all warnings when building BulletSebastian Parborg
2020-09-02Sync Bullet to upstreamSebastian Parborg
This syncs Bullet to the latest upstream git version as of writing this. (commit 47b0259b9700455022b5cf79b651cc1dc71dd59e).
2020-09-02Make rigidbody simulation handle animated objects gracefullySebastian Parborg
The animated objects was not updated for each internal substep for the rigidbody sim. This would lead to unstable simulations or very annoying clipping artifacts. Updated the code to use explicit substeps and tie it to the scene frame rate. Fix T47402: Properly updating the animated objects fixes the reported issue. Reviewed By: Brecht, Jacques Differential Revision: http://developer.blender.org/D8762
2020-09-01Audaspace: port compilation fix from upstream.Joerg Mueller
2020-08-27Fix: Mantaflow always builds openvdb staticallySebastian Parborg
This would lead to problems when we build a dynamic openvdb library.
2020-08-26Cleanup:Remove C++14 flags from extern/quadriflowRay Molenkamp
The main CMakeLists.txt specifies C++17, quadriflow tries to add C++14 flags leading to the following warnings when building with MSVC Command line warning D9025 : overriding '/std:c++17' with '/std:c++14` This change removes the C++14 flags, and fixes a build error caused by the removal of `std::unary_function` in C++17 in the .obj loader (which isn't used by blender) Reviewed By: zeddb Differential Revision: https://developer.blender.org/D8720
2020-08-26Cleanup: Fix MSVC warning regarding flags in bulletRay Molenkamp
For bullet we compile at /W0 for MSVC but we did not remove the standard /W3 flag. Leading to the following warning: Command line warning D9025 : overriding '/W3' with '/W0' This change removes the W3 flag for bullet to get rid of the warning.
2020-08-13Deps_builder: Update openvdb to a dynamic libraryRay Molenkamp
This patch changes openvdb from a static to a dynamic library. this is in preparation for enabling pyopenvdb at some point in the future. Differential Revision: https://developer.blender.org/D8282 Reviewed by: brecht
2020-08-07Merge branch 'blender-v2.90-release'Sebastián Barschkis
2020-08-07Fix T79201: Mantaflow: Fluid guides don't affect simulation.Sebastián Barschkis
This broke during the OpenVDB update for 2.90. Just making sure that guiding velocity files are being read correctly.
2020-08-05Fix T79374: Render audio produces random clippingJoerg Mueller
Port of the bugfix from audaspace upstream.
2020-08-05Audaspace: port documentation bugfix from upstream.Joerg Mueller