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
2012-12-19Merged changes in the trunk up to revision 53146.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend source/blender/blenkernel/CMakeLists.txt source/blender/blenlib/intern/bpath.c source/blender/blenloader/intern/readfile.c
2012-12-15Hi there, it has been a while, just curious if my SVN account still works :)Erwin Coumans
This commit is an attempt to improve collisions between moving Bullet rigid bodies using (concave) triangle mesh bounds. Instead of using Gimpact, this we create a btCompoundShape with child shape tetrahedra derived from the surface triangles. For each triangle, we add a fourth vertex using the centroid, shifting inwards using the triangle normal. If the centroid hits an internal triangle, we stop. The default depth could be exposed as 'advanced' setting in the user interface. This solution will be a slower than the original/gimpact solution, but a bit more reliable. In the future, it is better to add HACD, convex decomposition to Blender, for moving concave meshes. See http://kmamou.blogspot.com and the Bullet SDK's Demos/ConvexDecompositionDemo.
2012-12-11Merged changes in the trunk up to revision 52858.Tamito Kajiyama
Congratulations to all trunk devs on the Blender 2.65 release!
2012-12-09Fix for camera solver not working properly when built with sconsSergey Sharybin
2012-12-08Merged changes in the trunk up to revision 52815.Tamito Kajiyama
2012-12-07Camera tracking: fixed type in camera intrinsics update functionSergey Sharybin
Seems to be from the very beginning here, not sure why nobody noticed this is wrong.
2012-12-04cmake was missing some header files.Campbell Barton
2012-12-01Merged changes in the trunk up to revision 52690.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend source/blender/blenlib/intern/bpath.c
2012-11-27remove unmaintained eltopo, keeping scons/cmake entries, but commenting out ↵Campbell Barton
user visible config to make branch merging less of a hassle.
2012-11-26Merged changes in the trunk up to revision 52546.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend release/scripts/startup/bl_ui/space_view3d.py source/blender/blenkernel/intern/idcode.c
2012-11-20Motion tracking: dump mask image when dump images is enabledSergey Sharybin
This is pure development option which is enabled by defining DUMP_FAILURE or DUMP_ALWAYS libmv-capi.
2012-11-19Merged changes in the trunk up to revision 52340.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c
2012-11-16Fix #33192: Opening Blender breaks drag-and-drop support on the KDE desktopSergey Sharybin
Do not set root window as DND aware.
2012-11-08Merged changes in the trunk up to revision 51985.Tamito Kajiyama
2012-11-06OSX: substitute all MAC_OS_X_VERSION defines with ↵Jens Verwiebe
MAC_OS_X_VERSION_MIN_REQUIRED macros, to get more reliable version (api) covering
2012-11-05Fix/workaround for carve aborts on windowsSergey Sharybin
The issue was caused by passing start iterator larger than end iterator to std::copy in triangulation module. It'll do nothing on linux but will throw an exception on windows. Now behavior will be identical on both platforms. Proper solution would be to figure out why exactly this happened, but it's easier to be forwarded to Tobias and we'll need to get rid of triangulation anyway. This should solve issues: #30100: boolean intersect crashes blender #33001: Crash on applying Boolean difference modifier #33045: Boolean modifier crash with mirrored objects
2012-11-05Camera Tracking: allow fallback to reprojection resection by user demandSergey Sharybin
This fixes some "regressions" introduced in rev50781 which lead to much worse solution in some cases. Now it's possible to bring old behavior back. Perhaps it's more like temporal solution for time being smarter solution is found. But finding such a solution isn't so fast, so let's bring manual control over reprojection usage. But anyway, imo it's now nice to have a structure which could be used to pass different settings to the solver.
2012-10-29Merged changes in the trunk up to revision 51718.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/makesrna/intern/rna_scene.c release/datafiles/startup.blend
2012-10-24Patch Bullet to make it's convex hull implementation usable in BMeshNicholas Bishop
* Add access to the original indices for vertices * Add a very simple C API for convex hull * Add this patch to the patches folder and update readme.txt
2012-10-20style cleanupCampbell Barton
2012-10-20Merged changes in the trunk up to revision 51448.Tamito Kajiyama
Conflicts resolved: source/blender/blenkernel/CMakeLists.txt source/blender/blenloader/intern/readfile.c source/blender/editors/mesh/editmesh_tools.c source/blender/makesrna/intern/rna_main_api.c
2012-10-17code cleanup:Campbell Barton
- move object_iterators.c --> view3d_iterators. (ED_object.h had to include ED_view3d.h which isn't so nice) - move projection functions from view3d_view.c --> view3d_project.c (view3d_view was becoming a mishmash of utility functions and operators). - some some cmake includes as system-includes.
2012-10-15Update to stable Eigen 3.1.1Daniel Genrich
- Fixes several bugs within the Eigen library: http://eigen.tuxfamily.org/index.php?title=ChangeLog#Eigen_3.1.1
2012-10-14code cleanup: remove redundant castsCampbell Barton
2012-10-07Merged changes in the trunk up to revision 51126.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/windowmanager/WM_types.h
2012-10-02correct some include dirs not being included as SYSTEM paths in cmake.Campbell Barton
2012-09-23Merged changes in the trunk up to revision 50829.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/render/intern/source/convertblender.c source/blender/render/intern/source/pipeline.c Also addressed code inconsistency due to changes in the trunk revision 50628 (color management with OCIO) and 50806 (UV project material). OCIO-related changes are marked OCIO_TODO as in some other files modified in revision 50628.
2012-09-20Make Euclidean resection "always" succeed.Keir Mierle
The Euclidean resection code had a magical constant, 1e-3, used to compare the results of solving an equation. This failure detection was well-intended, trying to prevent poor solutions from getting made without notifying the caller. Unfortunately in practice, this threshold is too conservative. Furthermore, it is not clear the threshold should exist at all; the purpose of the Euclidean resection is to come up with the best solution it can; other methods (e.g. reprojection error) should be used to compare whether the method succeeded. This commit changes the Euclidean EPnP code to always succeed, causing the previous fallback to projective resection to never run. In most cases, this will result in better reconstructions. This should, in most cases, fix the dreaded "flipping" problem.
2012-09-20Fix variable naming in the planar tracker.Keir Mierle
2012-09-20Add smarter tolerance checking in the planar tracker.Keir Mierle
The planar tracker uses Ceres for the refinement stage. During refinement, Ceres iteratively updates the parameters with the latest best guess. If the change in the parameters falls below a threshold, Ceres will abort successfully ("converged"). For the case of pure translation tracking, the parameters are exactly the two pixel shifts (dx, dy), and measuring the change in these parameters gives a meaningful termination criterion. However, for all the other parameterizations like affine, where the parameterization involves affine parameters that have no physical interpretation, Ceres is left with no way to terminate the solver early. With the existing code, often many iterations are run long after Ceres has found a solution sufficiently accurate for all tracking needs. No one needs tracking with a quadrillionth of a pixel accuracy; that time is wasted. This patch extends the existing iteration callback that is passed in to Ceres to check if the pattern has fallen out of the search window, to also check if the optimizer has made a tiny step. In particular, if the maximum shift of any patch corner between two successful optimizer steps is less than a threshold (currently 0.005 pixels), the track is declared successful and tracking is terminated. This leads to dramatic speed increases in some cases, with little to no loss in track quality. This is especially apparent when tracking patches with affine or perspective motion models. For example, on some tracking cases I tried, the iterations Ceres took went from 50 to 3.
2012-09-20Detect too-small planar tracking patches.Keir Mierle
The planar tracker did not detect very skinny patches which have effectively zero area and are untrackable. This adds detection and rejection of patterns with zero area. This fixes a crash found by during Mango production.
2012-09-20Cleanup for when trackers fall out of the search window.Keir Mierle
Sergey originally left a TODO() here, but his fix is the correct one. I removed the TODO and fixed some comment issues.
2012-09-19Fix crash when tracking in planar motion model (and maybe some other)Sergey Sharybin
It was an Abort() caused by check for solver result not equal to USER_ABORT. In some cases solver returns USER_ABORT due to BoundaryCheckingCallback detects coordinates does not belong to image. Somehow this callback wasn't called in previous version of Ceres and in the same case marker was jumping. Now when the callback is called it seems we could simply return failure of tracking without aborting Blender. Probably this is in fact some issue somewhere else, would double check with Keir about this.
2012-09-18Ceres: resolve no previous declarations warningsSergey Sharybin
Currently done as patch applied on bundling, would forward it to Ceres developers.
2012-09-18Libmv: resolved some compilation warnings (missed prototypes)Sergey Sharybin
In some cases it was missed include of header file, in some other cases symbol could be static.
2012-09-18Libmv: fixed wrong function prototypesSergey Sharybin
Also mark non-public functions as static.
2012-09-17code cleanup: correct include paths and commentCampbell Barton
2012-09-16Real fix for OSX CMake -- was a typo in build file generation fileSergey Sharybin
Now Ceres re-bundling should go smooth :)
2012-09-16Fix OSX compileJens Verwiebe
2012-09-16Fix typo in one of previous commitsSergey Sharybin
2012-09-16Ceres: tweak namespace for hash classes for MSVC2010Sergey Sharybin
Not sure if it'll solve all issues, but at least it should reduce amount of errors. Also added missed patch from previous commit.
2012-09-16Ceres: reshuffle include order to solve compilation error with MSVCSergey Sharybin
Not sure why exactly this happens, would need extra investigation and should probably be also fixed in upstream.
2012-09-16Libmv: remove unwind hack from CMake rules.Sergey Sharybin
Such stuff better be solved in glog itself. Should be pretty safe change since it was defined for CMake only and AFAIR Jens wanted to get rid of this too.
2012-09-16Ceres: upgrade to version 1.3.0Sergey Sharybin
This should contain real fixes for Windows, making it more robost and hopefully faster (due to proper collection port) on that platform. Also hack to fix Eigen alignment shouldn't be needed anymore. Also on platforms which have got broken TR1 collections it's better to define CERES_NO_TR1 instead of using Boost hacks. Made changes to Scons and CMake, but can not check if this indeed works since i don't have OSX here.
2012-09-16Ceres: remove debug-only code from bundling script, also move osx workaround ↵Sergey Sharybin
to template
2012-09-15Merged changes in the trunk up to revision 50607.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c
2012-09-11Fix libmv build on OS X with 10.5 SDK. The tr1::unordered_map implementationBrecht Van Lommel
is broken in this SDK, now it uses the boost implementation instead.
2012-09-05add missing files from cmakes listsCampbell Barton
2012-08-29Merged changes in the trunk up to revision 50257.Tamito Kajiyama
Conflicts resolved: source/blender/blenkernel/CMakeLists.txt
2012-08-25style cleanup: also spellingCampbell Barton