Revision 298feff by Mitchell Stokes June 10, 2012, 19:32 (GMT) |
Committing patch [#31704] "Patch to fix keyboard sensor from blocking quit game key binding" by Jay Parker. This patch fixes [#31671] "Keyboard Sensor blocks Quit Game Key Binding" |
Revision 5f7c5d8 by Sergey Sharybin June 10, 2012, 18:47 (GMT) |
Revision b57403e by Sergey Sharybin June 10, 2012, 18:15 (GMT) |
Make keying clamping operation complex so it might directly access input buffer Seems to give quite noticeable speedup, but there's sometimes strange artifacts showing as darker lines placed in along some kind of tiles. Not sure what causes them yet. |
Revision ecbd284 by Sergey Sharybin June 10, 2012, 17:41 (GMT) |
Add screen balance into interface Could be helpful to be played around. Default value is 0.5, Most probably this default value should be set manually for older files. |
Revision 8874890 by Sergey Sharybin June 10, 2012, 17:24 (GMT) |
Also fix cache line in clip editor which didn't take start frame into account. |
Revision 4e3a566 by Sergey Sharybin June 10, 2012, 17:09 (GMT) |
Fixed curves and dopeseet views of motion tracking data not taking clip's start frame into account. |
Revision b38e450 by Nicholas Bishop June 10, 2012, 17:06 (GMT) |
Force multires update when changing subdivision type. Fixes bug [#31050] Changing multires subdivision algorithm can ruin mesh |
Revision fa1d458 by Nicholas Bishop June 10, 2012, 16:37 (GMT) |
Code cleanups for the PBVH, no functional changes. * Use the PBVHType consistently in pbvh_update_draw_buffers(). * Split the raycast function up, mesh and grid raycast get their own functions now. * Replace duplicated code in BLI_pbvh_node_add_proxy() with call to BLI_pbvh_node_num_verts(). |
Revision 37f702a by Sergey Sharybin June 10, 2012, 16:26 (GMT) |
Revision dc3645d by Nicholas Bishop June 10, 2012, 16:22 (GMT) |
Bugfix for autosmooth in sculpt mode. This option was broken for non-multires meshes (not sure for how long), as the pmap was not getting calculated. Added a more general check for whether the pmap is needed, also added an assert to warn about this in future. |
Revision bd81afd by Sergey Sharybin June 10, 2012, 16:16 (GMT) |
Fix compilation without libmv |
Revision 00bb315 by Sergey Sharybin June 10, 2012, 16:09 (GMT) |
Revision ff5875f by Sergey Sharybin June 10, 2012, 15:28 (GMT) |
Bump subversion so iteration through all markers would happen only for old files which actually needs to be ported to 4 corners representation. |
Revision 84b734a by Sergey Sharybin June 10, 2012, 15:28 (GMT) |
Commit patch from Stephan Kassemeyer sent to ML This patch aims to solve unaligned operation assert happens in Eigen library. This is short-term solution which in fact shall be reverted as soon as real solution would be added to Ceres. Meanwhile this should be acceptable to have for a while. |
Revision 25bb441 by Sergey Sharybin June 10, 2012, 15:28 (GMT) |
Planar tracking support for motion tracking =========================================== Major list of changes done in tomato branch: - Add a planar tracking implementation to libmv This adds a new planar tracking implementation to libmv. The tracker is based on Ceres[1], the new nonlinear minimizer that myself and Sameer released from Google as open source. Since the motion model is more involved, the interface is different than the RegionTracker interface used previously in Blender. The start of a C API in libmv-capi.{cpp,h} is also included. - Migrate from pat_{min,max} for markers to 4 corners representation Convert markers in the movie clip editor / 2D tracker from using pat_min and pat_max notation to using the a more general, 4-corner representation. There is still considerable porting work to do; in particular sliding from preview widget does not work correct for rotated markers. All other areas should be ported to new representation: * Added support of sliding individual corners. LMB slide + Ctrl would scale the whole pattern * S would scale the whole marker, S-S would scale pattern only * Added support of marker's rotation which is currently rotates only patterns around their centers or all markers around median, Rotation or other non-translation/scaling transformation of search area doesn't make sense. * Track Preview widget would display transformed pattern which libmv actually operates with. - "Efficient Second-order Minimization" for the planar tracker This implements the "Efficient Second-order Minimization" scheme, as supported by the existing translation tracker. This increases the amount of per-iteration work, but decreases the number of iterations required to converge and also increases the size of the basin of attraction for the optimization. - Remove the use of the legacy RegionTracker API from Blender, and replaces it with the new TrackRegion API. This also adds several features to the planar tracker in libmv: * Do a brute-force initialization of tracking similar to "Hybrid" mode in the stable release, but using all floats. This is slower but more accurate. It is still necessary to evaluate if the performance loss is worth it. In particular, this change is necessary to support high bit depth imagery. * Add support for masks over the search window. This is a step towards supporting user-defined tracker masks. The tracker masks will make it easy for users to make a mask for e.g. a ball. Not exposed into interface yet/ * Add Pearson product moment correlation coefficient checking (aka "Correlation" in the UI. This causes tracking failure if the tracked patch is not linearly related to the template. * Add support for warping a few points in addition to the supplied points. This is useful because the tracking code deliberately does not expose the underlying warp representation. Instead, warps are specified in an aparametric way via the correspondences. - Replace the old style tracker configuration panel with the new planar tracking panel. From a users perspective, this means: * The old "tracking algorithm" picker is gone. There is only 1 algorithm now. We may revisit this later, but I would much prefer to have only 1 algorithm. So far no optimization work has been done so the speed is not there yet. * There is now a dropdown to select the motion model. Choices: * Translation * Translation, rotation * Translation, scale * Translation, rotation, scale * Affine * Perspective * The old "Hybrid" mode is gone; instead there is a toggle to enable or disable translation-only tracker initialization. This is the equivalent of the hyrbid mode before, but rewritten to work with the new planar tracking modes. * The pyramid levels setting is gone. At a future date, the planar tracker will decide to use pyramids or not automatically. The pyramid setting was ultimately a mistake; with the brute force initialization it is unnecessary. - Add light-normalized tracking Added the ability to normalize patterns by their average value while tracking, to make them invariant to global illumination changes. Additional details could be found at wiki page [2] [1] http://code.google.com/p/ceres-solver [2] http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Motion_Tracker |
Revision 59ef51a by Sergey Sharybin June 10, 2012, 15:27 (GMT) |
Initial Ceres integration into Blender Currently only put sources of Ceres library into extern/libmv/third_party and setup CMake and SCons building systems. Integration details: - Even CMake build files are not re-used from Ceres's trunk: they're using some automatic stuff detection like glog, pthreads, protobuf and so and it's not so clear how to re-use that files without modifications. And IMO it's easier if build files are getting re-generated automatically to match Blender-specific setup rather than keeping changes made locally in Blender in sync when re-bundling Ceres library. Especially in case when it's already needed to support SCons build system. - Integrated only actual sources, all tests were stripped. Probably it'll be nice to have them, but they'll need clear integration with current module test stuff in Blender. - Suitesparse was disabled. It'll help a lot having it, but there are some difficulties making cholmod working fine on windows. Would be added in future - collections_port.cc was also stripped. It's not used by Ceres's upstream and it gives compilation error (undefined uint32 -- looks like namespace issue). - Currently all schur eliminators are included. Not sure if it makes sense, also not sure if it makes sense having them switchable on and off -- IMO better to have single configuration which works and does not require special tweaks after everything was set up. To bundle updated version of Ceres: - Go to extern/libmv/third_party/ceres folder - Run ./bundle.sh This will checkout fresh Ceres snapshot of Windows branch (which is currently most interesting from integration into Blender POV), apply all patches listed in patches/series and copy needed files into Blender's working copy. This will also re-generate CMake/SCons build rules. If you'll need extra files from Ceres repository which are not present in Blender, you'll need to copy them manually and then run ./mkfiles.sh from extern/libmv/third_party/ceres folder which will update list of files used by Blender. Thanks to Leir Mierle and Sameer Agarwal (and all others who helped developing Ceres) this library and thanks to Keir Mierle with help integrating it into Blender! |
Revision 39e591d by Sergey Sharybin June 10, 2012, 15:26 (GMT) |
Support for per-track Grease Pencil datablocks for motion tracking Originally was needed to reach easy way of defining masks used for tracking (do eliminate textures which doesn't belong to feature when tracking. Implemented as alternative to GP datablock for clip and added switch between per-clip and per-track GP datablocks -- internal limitations of GP doesn't allow to display all GP datablocks easily. So either you see.edit GP associated with clip or with track. GP strokes associated with track are relative to track's position, following tracks during tracking and could be shared between several tracks. Masking code presents in libmv and there's rasterizer of GP datablocks for masks in blender's tracking module, but they still need to be glued together. Some documentation cound be found at this page: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Motion_Tracker#Grease_Pencil |
Revision 5534701 by Campbell Barton June 10, 2012, 15:20 (GMT) |
style cleanup: use capital camel case names for typedef's |
Revision 10932e2 by Lukas Toenne June 10, 2012, 15:07 (GMT) |
Fix #31778. BKE_image_user_frame_calc can be called with iuser==NULL in some circumstances now, so needs to check that. |
Revision f6e2188 by Campbell Barton June 10, 2012, 13:34 (GMT) |
change RNA_struct_find_function to accept a type rather then a PointerRNA, add a check duplicate functions are not defined. |
|