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-04-23Fix compilation on OSX after previous commitSergey Sharybin
EXPECT_EQ wasn't defined in the scope.
2014-04-23Libmv cleanup: move aligned malloc implementation into own fileSergey Sharybin
It was rather stupid having it in brute region tracker, now it is in own file in base library.
2014-04-21Libmv: optimization of PearsonProductMomentCorrelationSergey Sharybin
Pass the arrays by reference rather than by value, should give some percent of speedup. Also don't pass the dimensions to the function but get them from the images themselves. Hopefully this will give some %% of tracker speedup.
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-17Re-bundle Libmv to be sure it's all fineSergey Sharybin
2014-04-17Fix for 771a9dd: libmv build files are automatically generatedSergey Sharybin
This means if one makes change to either SConscript or CMakeLists.txt there he MUST update bundle.sh. Also made it so *.cc files from intern/libmv are matching which would make it easier to add more .cc files there if needed. And one more thing is removing 'simple_pipeline/distortion_models.cc' which doesn't match any of the files.
2014-04-17Lbmv: fix scons compile after ed2ddc9Jens Verwiebe
2014-04-17Fix compilation issue.Antony Riakiotakis
2014-04-17Fix crash when enabling undistorted display in MCESergey Sharybin
2014-04-17Support multiple distortion models, including a new division modelSergey Sharybin
This commit makes it so CameraIntrinsics is no longer hardcoded to use the traditional polynomial radial distortion model. Currently the distortion code has generic logic which is shared between different distortion models, but had no other models until now. This moves everything specific to the polynomial radial distortion to a subclass PolynomialDistortionCameraIntrinsics(), and adds a new division distortion model suitable for cameras such as the GoPro which have much stronger distortion due to their fisheye lens. This also cleans up the internal API of CameraIntrinsics to make it easier to understand and reduces old C-style code. New distortion model is available in the Lens panel of MCE. - Polynomial is the old well-known model - Division is the new one which s intended to deal better with huge distortion. Coefficients of this model works independent from each other and for division model one probably want to have positive values to have a barrel distortion.
2014-04-17Bullet: better workaround for failing friction with clang 3.4, remove the ↵Jens Verwiebe
obsolete compileflag magic
2014-04-16Math Lib: optimize axis_dominant_v3_to_m3, approx 6x speedupCampbell Barton
build the matrix directly rather then calculating with axis/angle also remove unused function calc_poly_plane
2014-04-10...and linking, sorry for that!Antony Riakiotakis
2014-04-10Fix compilationAntony Riakiotakis
2014-04-10Speedup track preview widget for byte imagesSergey Sharybin
This gives a huge speedup gain for cases when you've got rather huge markers on a byte images. Done by skipping IMB_float_from_rect()/IMB_rect_from_float() for such cases. We can sample the buffers without color space conversion.
2014-04-09Fix T39608: Blender 2.70 crashes when performing unionSergey Sharybin
This was a nasty bug which was caused by specific of how face-edge attributes are stored in Carve. Face pointer is used in the map key which works just fine in all cases except for the cases when some face is getting freed after it was stored in the map. This might give real issues when new face is allocating because it's possible new face would have the same address as the freed one. Such cases used to happen when union of separate manifolds is needed for the operands AND jemalloc is enabled. Solved by dropping attributes for the freed faces from the map. Maybe not the fastest ever approach, but not sure how to make it faster actually. Should work just fine. It only happens for complex setups with intersecting manifolds in the operands.
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-04-03Fix T39245: Crash when dynamic topology is enabledCampbell Barton
Redundant decrement was crashing for systems which didnt optimize it out.
2014-03-28Unbreak carve build for clangSergey Sharybin
Based on D420
2014-03-26Fix T39419: Crash when solving camera motionSergey Sharybin
Stupid vector initialization error. Should be in 'a'.
2014-03-25Followup to Ceres changes -- need to update bundling scriptSergey Sharybin
2014-03-25Fix for own commit: mixed up ceres build defines when replacing cmakeLukas Tönne
check with a generalized macro. rBbbfcb0b1e44636b73b8c46f1cb800fa53dda5277
2014-03-25Build file macro for testing unordered_map C++ container support.Lukas Tönne
Using unordered_map and unordered_set C++ container types currently requires careful testing or usage of boost, due to the various confusing C++ version differences in include paths and namespaces. Libmv defines tests for these cases in cmake and scons, such that ceres can use any available implementation, or fall back too std::map/std::set if none can be found. This patch generalizes this buildfile code by providing a Blender macro. * cmake: defines both the variables used by libmv at them moment as well as 2 variables UNORDERED_MAP_INCLUDE_PREFIX and UNORDERED_MAP_NAMESPACE, which can later be used in other C++ parts for convenience. * scons: adds a tool script returning the include prefix and namespace. Libmv checks these to define the appropriate definitions for ceres. Differential Revision: https://developer.blender.org/D425
2014-03-22Cleanup: Restrict the debug -gline-tables-only to cxx_debug in cycles and ↵Jens Verwiebe
spelling
2014-03-21Attempt to fix compilation error with msvc2013Sergey Sharybin
2014-03-21Update Eigen to version 3.2.1Sergey Sharybin
Main purpose of this is to have SparseLU solver which we can use now as a replacement to opennl library.
2014-03-20Follow up to the previous commitSergey Sharybin
Just update to the changelog
2014-03-20Update Libmv to latest upstreamSergey Sharybin
This is mainly a maintaince commit which syncs changes between Blender and Libmv upstream also bringing new GLog version. This GLog version is presumably have better support of MinGW from "the box". This commit is also aimed to make further 3d part libs update easier.
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-13Fix T39151: Boolean modifier freezeSergey Sharybin
This re-applied patch from 25cbd13 which was lost at some point since missing patchset in series. This revision is to be back-ported to the final release.
2014-03-12Fix T39111: Boolean assert failure on widowsSergey Sharybin
In fact we had this change a while ago, not sue what happened.
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