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
AgeCommit message (Collapse)Author
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-11-06Cleanup: use string APPEND/PREPENDCampbell Barton
Replace 'set' with 'string(APPEND/PREPEND ...)'. This avoids duplicating the variable name.
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-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-07-30Add compound shape for rigid body simulationDavid Vogel
This patch adds a new compound shape entry to the shape selection dropdown. It also corrects wrong inertia calculation for convex hulls, that resulted in strange behavior for small objects. The compound shape take the collision shapes from its object children and combines them. This makes it possible to create concave shapes from primitive shapes. Using this instead of the mesh collision shape is often many times faster. Reviewed By: Sergey, Sebastian Parborg Differential Revision: http://developer.blender.org/D5797
2020-03-12Cleanup: use term suppress instead of repressCampbell Barton
Also check MSVC instead of WIN32, for setting MSVC flags.
2020-03-11Windows: Clean-up warnings originating from bulletRay Molenkamp
Bullet currently generates the majority of the warnings on windows all of them are silly. This patch disables all warns from bullet for now. We should revisit this if/when we update bullet to a newer version. Reviewed By: sergey brecht Differential Revision: https://developer.blender.org/D7118
2019-08-12Fix Bullet build error with Clang 8 and Xcode 11Brecht Van Lommel
See D5366 and upstream: https://github.com/bulletphysics/bullet3/commit/7f6c479ea6
2019-04-17Cleanup: use 2 space indentation for CMakeCampbell Barton
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2018-05-28Windows: Add support for building with clang.Ray Molenkamp
This commit contains the minimum to make clang build/work with blender, asan and ninja build support is forthcoming Things to note: 1) Builds and runs, and is able to pass all tests (except for the freestyle_stroke_material.blend test which was broken at that time for all platforms by the looks of it) 2) It's slightly faster than msvc when using cycles. (time in seconds, on an i7-3370) victor_cpu msvc:3099.51 clang:2796.43 pavillon_barcelona_cpu msvc:1872.05 clang:1827.72 koro_cpu msvc:1097.58 clang:1006.51 fishy_cat_cpu msvc:815.37 clang:722.2 classroom_cpu msvc:1705.39 clang:1575.43 bmw27_cpu msvc:552.38 clang:561.53 barbershop_interior_cpu msvc:2134.93 clang:1922.33 3) clang on windows uses a drop in replacement for the Microsoft cl.exe (takes some of the Microsoft parameters, but not all, and takes some of the clang parameters but not all) and uses ms headers + libraries + linker, so you still need visual studio installed and will use our existing vc14 svn libs. 4) X64 only currently, X86 builds but crashes on startup. 5) Tested with llvm/clang 6.0.0 6) Requires visual studio integration, available at https://github.com/LazyDodo/llvm-vs2017-integration 7) The Microsoft compiler spawns a few copies of cl in parallel to get faster build times, clang doesn't, so the build time is 3-4x slower than with msvc. 8) No openmp support yet. Have not looked at this much, the binary distribution of clang doesn't seem to include it on windows. 9) No ASAN support yet, some of the sanitizers can be made to work, but it was decided to leave support out of this commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3304
2018-04-07Bullet: Fix velocity calculation of new spring constraintSergej Reich
This is a backport of bullet commit: 86ca7dc
2016-09-01Cleanup: Reduce amount of misleading indentationSergey Sharybin
Was polluting compile output too much.
2016-04-22Silence some annoying warnings when doing full build with strict flagsSergey Sharybin
This mainly touches extern libraries and few debug-only places in intern. Some summary: - External libraries are not strict at all about missing declarations, so we can rather safely remove such warning together with other strict flags. - Bullet has some static functions which are not used. Those were commented out. - Carve now has some unused debug-only functions commented out as well. While we're on the way of getting rid of Carve, it makes sense to make things a bit cleaner for the time being. - In LZMA we have some parts disabled which gives some set but unused variables which is rather correct. - Elbeem had quite some variables set and never used because their usage is inside of debug-only code which is commented out. Note about patching upstream libraries: surely one might say that we have to make local patchset against this, but own experience says it only gives extra work trying to merge such tweaks to a new upstream version and usually it's just faster to re-apply such fixes again after bundling new upstream library.
2016-03-27Fix T47758: rigidbody bug with constraint breaking and disable collisions.Brecht Van Lommel
This is a regression in Bullet, reverted the problematic change for now with a custom patch.
2016-02-02Fix build error on OS X in previous commit, this define should stay.Brecht Van Lommel
2016-02-02Fix T47293: game engine crashes since Bullet upgrade.Brecht Van Lommel
This restores a modification that was there before.
2016-01-26Upgrade Bullet to version 2.83.Brecht Van Lommel
I tried to carefully preserve all patches since the last upgrade. Improves T47195, cloth collision detection bug. Differential Revision: https://developer.blender.org/D1739
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-05-30Fix leak in BMesh convex hull operatorCampbell Barton
2015-05-20doxygen: corrections/updatesCampbell Barton
Also add depsgraph & physics
2015-02-19BGE physics: adding links to bullet documentationInes Almeida
2015-01-08correct permissionsCampbell Barton
2014-08-10Remove an assert in Bullet for the Character physics.Benoit Bolsee
This assert happens all the time for character physics in debug mode. In release mode, the assert is skipped but the code is still incorrect although it does not cause any crash strangely.
2014-07-03cloth: Speed up collision detectionSergej Reich
Noticed this while looking into something else. The change is trivial, but gives a rather nice preformance improvement, so why not. Theres's actually a lot one can do to improve collision performance if one wanted to, the triangle-triangle check alone has a lot of room for improvement.
2014-04-19Bullet: making bullet friction workaround more furureproof by using the ↵Jens Verwiebe
__apple_build_version__ macro, TODO: check if problem persists with newer clang
2014-04-17Bullet: better workaround for failing friction with clang 3.4, remove the ↵Jens Verwiebe
obsolete compileflag magic
2014-04-09Fix T39646: Rigid Body Constraints non functional on release buildsSergej Reich
-ffast-math is evil, not sure why it was enabled... I seems to work better on OSX but it's still not a good idea. The SConscript for bullet is a mess, I don't understand why we use different flags for different platforms in the first place. Seems to be a historical artifact but I don't know enough about scons to try and clean it up.
2014-03-22Cleanup: Restrict the debug -gline-tables-only to cxx_debug in cycles and ↵Jens Verwiebe
spelling
2014-03-19Ups, forgot to remove something i just placed temporary …Jens Verwiebe
2014-03-19OSX/bullet/scons: a better workaround for clang 3.4 issues with actual ↵Jens Verwiebe
bullet, according cmake ( less speed penalty )
2014-03-18OSX/cmake/bullet: fix ambigoius compiler ID and make deoptimize fix a bit ↵Jens Verwiebe
stricter to reduce speed penalty
2014-03-12OSX/bullet: i have to use -O0 again, else weird bullet behaviour comes back.Jens Verwiebe
I overlooked in cmake my fix same time changed the optimization level to 0, so not use optimization is the real fix ( postponed for after 2.70 ). I appears we should investigate scons anyway: compileflags does not apply to c and c++ same time as expected.
2014-03-12Fix T39104: 2 clothes on a collision object cause crashSergey Sharybin
This was caused by static variables used in plNearestPoints(). For now solved by making the solvers allocated in the stack, seems no noticeable affect on the simulation speed so far.
2014-03-11OSX/bullet: add -O2 to bt_cxx_flags, in cmake thats default, in scons ↵Jens Verwiebe
CXXFLAGS start empty also in “Release”
2014-03-11CMake: add fastmath for gcc release flags (OSX had already)Campbell Barton
2014-03-11OSX/bullet: do a last fix for scons. Now in both buildsystems the used flags ↵Jens Verwiebe
are in sync for OSX
2014-03-11OSX/cmake: tentative fix for T38746, conflictting flags somewhereJens Verwiebe
2014-03-11OSX/bullet: Truely fix T38746 now, compile flags where not propagated right,Jens Verwiebe
also remove gcc 4.6 workaround, i don’t think its needed any longer. !!! pls check if this would be right thing todo for othere OS too !!!
2014-03-10OSX/clang3.4: tentative fix for T38746, strange bullet behaviourJens Verwiebe
2013-12-26Bullet: Update to svn r2719Sergej Reich
Fixes part of T37905, fixed constraint didn't work correctly.
2013-11-04bullet: Remove patch applied upstreamSergej Reich
2013-10-25Fix building with sconsSergej Reich
Can't actually test here so hope this is enough.
2013-10-25bullet: Update to version 2.82 (bullet revision 2705)Sergej Reich
Remove patch that has been applied upstream. Fixes several bugs.
2013-05-07bullet: Don't use sse in api for windows.Sergej Reich
Remove stray BT_USE_SSE_IN_API definitions. Was causing problems especially for 32 bit windows. It's not quite clear why they were added in the first place since this should be defined in btScalar.h, needs further investigation. Thanks to Francisco De La Cruz (xercesblue) for looking into this. Should fix [#35071] Bullet Convex Hull Crashes on Win32 with SSE
2013-04-29bullet: Fix avoiding collision response between static/kinematic objectsSergej Reich
Sent patch upstream. Fixes [#35115] Character physics type fails collision with static type with an action on 2.67 rc
2013-03-08OSX/gcc-4.6: workaround a compilerbug, use apple-gcc insteadJens Verwiebe