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
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
2014-03-05Added back code which was commented out for debug reasonsSergey Sharybin
Also added a patchset for Carve's memory leak fix.
2014-03-04Fix compilation error windowsSergey Sharybin
2014-03-04Fix T38918: Boolean modifier crashes when using specific topologySergey Sharybin
There were loads of issues in the code still which are mow likely fixed: - Hole resolver hook had memory leak -- it didn't free face with holes when triangulating it. - Original edge mapping didn't work correct. old code related on the fact that loop order is not changing when constructing the MeshSet class, but in fact it does change. Currently used edge map for this because it was easiest way to do it now, but after the release we're to change it. Main reason is that face mapping is not correct as well (and it was never correct actually). So we'll need to construct Mesh structures by our own to be sure we're using correct original index mapping. - Carve might produce faces with ears, which is forbidden in Blender. it wasn't an issue in old integration because triangulation will remove the ears. So for now simply added ears removing back as a hook. But actual reason of the ears is to be investigated really. This hook will only work for NGons, quads are assumed not be able to have ears. So this additional hook shouldn't slow down things much. - Carve's hole resolver produces duplicated faces in some cases. Still not sure what is the reason of this. Code here is not so much straightforward, this is to be investigated later. For now solved the issue as own hole resolver which checks for duplicated faces after the hole resolving. The additional checks here will only run if the mesh actually have hole and wouldn't introduce slowdown for faces which doesn't have holes. - Made it so if edge user triangulation gets a split (for example, in cases when this edge intersects with the second operand) it wouldn't be dissolved. This prevents cases of crappy topology after dissolving in several cases. - Edge dissolver didn't check for whether edge is a non-manifold. We couldn't really dissolve open manifold edges. The bad thing about this is that mesh triangulation might produce non-manifold edges and they wouldn't be dissolved. Not worst case in the world, but would be nice to have it solved somehow. - Exporting mesh form Carve to Blender might have produced duplicated edges in cases when several non-manifold faces shared the edge. This is also fixed now. - Mesh triangulation might have produced duplicated faces, which is really bad. Fixed by keeping a track on which faces we've created and skipping adding new triangle if we already have one. This all might introduce some slowdown, but we're too close to the release now, so would rather have it slower but robust. After the release we might look into ways to speed things up.
2014-02-28Update patch for mesh_simplifierSergey Sharybin
2014-02-27Implement separate BA step for tracks which have constant zero weightSergey Sharybin
This is needed to minimize their reprojection error over the footage. Without this extra step positions of such tracks were calculated by algebraic intersection code only, which doesn't give best precision.
2014-02-27Fix T38844: Crash if weight track = 0Sergey Sharybin
Avoid zero-sized problem when doing euclidean intersection Zero-sized problem might occur when intersecting track with constant zero weight. For such tracks we'll just use result of algebraic intersection. TODO: We probably need to have a separate BA step to adjust positions of tracks with constant zero weight.
2014-02-26Ignore zero weighted markers in keyframe selectionSergey Sharybin
It doesn't make sense to use zero-weighted tracks as a correspondences in keyframe selection. Such tracks are not guaranteed to be tracked accurately because their purpose is to add reference points in 3D space without affecting the solution.
2014-02-25Disable eager-refinement step of region trackingSergey Sharybin
This gives much worse results on mango footage (see 04_2e) so disabling for now for until proper prediction model is landed. The thing is, currently blender sends input coordinates as the guess to region tracker and in case of fast motion such an early out ruins the track.
2014-02-24Fix for MSVC 2008 compiler errors.Tamito Kajiyama
2014-02-24Followup for 90a86fe: libmv/ceres cmake/scons files are automatically generatedSergey Sharybin
So don't forget to update generator scripts as well.
2014-02-24Preserve non-flat faces in boolean modifierSergey Sharybin
This commit implements dissolving of edges which were used to triangulate non-flat faces. This slows things down a bit (around 5% on heave mesh with all faces triangulated). We could improve speed of dissolve a bit here (so not a bell to add an option for triangulation yet). Also fixed wrong edge origindex mapping.
2014-02-18Fix T38684: cmake OS X build problem when changing deployment target.Brecht Van Lommel
Don't cache these variables as they are not cleared on such changes.
2014-02-18Fix T38637: Boolean produces faces with holes which isn't supported by BMeshSergey Sharybin
Simple fix -- use CarveHoleResolver hook for CSG which will split faces containing holes.
2014-02-14Fix T38631: Blender crashes when selection faces after new boolean modifierSergey Sharybin
Own mistake in edges carve->blender export, didn't count them correct.
2014-02-14Fix scons compiling after carve changesJens Verwiebe
2014-02-13fixed an for loop variable type and delete operator in cave-utils.ccSergey Sharybin
Patch by wutzi (Benedikt Bergenthal), thanks! Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D314
2014-02-13Rework carve integration into boolean modifierSergey Sharybin
Goal of this commit is to support NGons for boolean modifier (currently mesh is being tessellated before performing boolean operation) and also solve the limitation of loosing edge custom data layers after boolean operation is performed. Main idea is to make it so boolean modifier uses Carve library directly via it's C-API, avoiding BSP intermediate level which was doubling amount of memory needed for the operation and which also used quite reasonable amount of overhead time. Perhaps memory usage and CPU usage are the same after all the features are implemented but we've got support now: - ORIGINDEX for all the geometry - Interpolation of edge custom data (seams, crease) - NGons support Triangulation rule is changed now as well, so now non-flat polygons are not being merged back after Carve work. This is so because it's not so trivial to support for NGons and having different behavior for quads and NGons is even more creepy. Reviewers: lukastoenne, campbellbarton Differential Revision: https://developer.blender.org/D274
2014-02-06Bye-bye FAST!Sergey Sharybin
FAST detector has been replaced with fancier Harris, so no need to keep FAST library in the sources now.
2014-01-31Fix compilation error with msvc2012 and 2013 as wellSergey Sharybin
2014-01-28Bundle latest Libmv from upstreamSergey Sharybin
Currently no functional changes, but we might want to have scoped_array in the future.
2014-01-28Followup to the previous commitSergey Sharybin
Need to take weight into account when drawing per-frame track reprojection curve and when computing per-track average error.
2014-01-28Improvements to weighted tracks behaviorSergey Sharybin
First thing changed by this commit is making it so Euclidean intersection takes track weight into account when solving minimization problem. This behaves the same exact way as it is for BA step. Second thing is related on how average reprojection error is being calculated. It didn't take track weight into account which could confuse users. Now average reprojection error will give the same result as intersection/BA uses during minimization which gives much more predictable behavior. Differential Revision: https://developer.blender.org/D265
2014-01-28Fixes for keyframe selectionSergey Sharybin
Using tracks with constant zero weight used to crash keyframe selection since it was trying to use missing parameter blocks for Jacobian evaluation, Also fixed possible issues with wrong camera block being marked as variable. This could technically happen when having zero weighted tracks. Made it so all camera blocks are marked as variable for now.
2014-01-28Rework detector API and implement Harris detectorSergey Sharybin
Switch the detector API to a single function which accepts a float image and detector options. This makes usage of feature detection more unified across different algorithms. Options structure is pretty much straightforward and contains detector to be used and all the detector-specific settings. Also implemented Harris feature detection algorithm which is not as fast as FAST one but is expected to detect more robust feature points. It is also likely that less features are detected, but better quality than quantity. Blender will now use Harris detector by default, later we'll remove FAST detector.
2014-01-28Correct typo in the patch file as wellSergey Sharybin
2014-01-27Fix compilation on Windows, syntax error.Thomas Dinges
2014-01-27Attempt to fix compilation error with MSVC-2008Sergey Sharybin
2014-01-27Update Carve to latest updateSergey Sharybin
Fixes some issues with NaN vertices in special cases. Also adds edge interpolation routines which are currently unused but which are requires to implement edge CD interpolation.
2014-01-13Ceres: more warnings cleanupSergey Sharybin
2014-01-13Re-bundle new Ceres librarySergey Sharybin
- Fixes some harmless issues (in cases blender doesn't use Ceres yet) - Fixes some compilation warnings
2014-01-09Compilation error fix for NetBSDSergey Sharybin
Based on the patch from Joerg Sonnenberger.
2014-01-09Fix compilation error on NetBSDSergey Sharybin
Original patch is by Jeorg Sonnenberger, thanks!
2014-01-02Code cleanup: remove patch series from libmvSergey Sharybin
Since we're using own libmv branch from git.blender.org we don't need to have local patches for libmv in blender source tree.
2014-01-02Code and style cleanupSergey Sharybin
Mainly fixed some style warnings reported by cpplint. Also changed how camera (un)distortion happens internally by replacing number of channels as a template argument with number as channels passing as function argument. Makes code easier to follow by eliminating loads checks how much channels are used and which argument to pass to the template.
2014-01-01Re-bundle libmv from new upstream repositorySergey Sharybin
No functional changes, just to make sure all the patches are ported nicely and that update scripts works fine.
2014-01-01Update Ceres to the latest upstreamSergey Sharybin
Summary: This brings up much easier termination type usage, which for us means we might use: ceres::Summary::IsSolutionUsable() instead of doing manual funky enum values check. Reviewers: keir Differential Revision: https://developer.blender.org/D153
2013-12-26Bullet: Update to svn r2719Sergej Reich
Fixes part of T37905, fixed constraint didn't work correctly.
2013-12-10CMake: report messages as status (else ccmake treats like an error)Campbell Barton
2013-11-30Woo Hoo. First git commit.Alexandr Kuznetsov
Changes for VC2013 Now, I can build Blender with VC2013 with Cycles, Collada, OpenExr,OpenImageIO disabled. Also, you need VC2008 sp1 installed to make old libs compatible.
2013-11-28Code cleanup: spelling fixes and verbosity printsSergey Sharybin
2013-11-28Made collections port compatible with MSVC2008Sergey Sharybin
The issue was caused by the fact that in this version of MSVC unordered_map class is defined in <unordered_map> header file, but this file declares the class int std::tr1 namespace. This confused existing assumption that if there's an existing <unordered_map> file then class is declared in std namespace. Added an extra check to CMake which detects whether it's std or std::tr1 which actually contains class of unordered_map. This might be changed/cleaned in the future, for now committing to our repository to solve compilation error on windows. Details of the patch in upstream can be found there: https://ceres-solver-review.googlesource.com/#/c/4371/
2013-11-28Update Ceres to latest upstream versionSergey Sharybin
- A richer Problem API. - DynamicNumericDiffCostFunction. - Faster ITERATIVE_SCHUR solver. - Faster SCHUR_JACOBI preconditioner. - Faster Jacobian evaluation. - Faster visibility based preconditioning using single linkage clustering. Also re-wrote rules for unordered collections detection, should work on all platforms and compilers now :)