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
2013-12-25Implement per-frame track reprojection error visualizationSergey Sharybin
It is now possible to display per-frame track reprojection error in curve view of clip editor. Simply enable corresponding option in filter buttons. Currently displayed using blue color which might confuse with average reprojection error, further color tweaks are possible and easy. Also changed icon track x/y curves. Better icons here are really appreciated.
2013-12-20Fix wrong display of movie clip cache with mask overlay enabledSergey Sharybin
2013-10-15Code cleanup: use bools instead of ints for tracking utility functionsSergey Sharybin
2013-09-09Create/delete keyframe for motion tracks in clip editorSergey Sharybin
Use I to create a new keyframe, Alt-I to remove the ketframe.
2013-08-27Mask primitivesSergey Sharybin
Currently only circle and square, might be easily extended in the future. New primitives are creating at cursor location. This also implied adding 2d cursor to space clip. Also fix set 2D cursor location which didn't work in image editor's mask mode since 2.67. TODO: draw_image_cursor better be moved to some more generic file, but it's not so much important for now and might be solved later. Thanks Campbell for the review!
2013-08-16Merge plane track feature from tomato branchSergey Sharybin
This commit includes all the changes made for plane tracker in tomato branch. Movie clip editor changes: - Artist might create a plane track out of multiple point tracks which belongs to the same track (minimum amount of point tracks is 4, maximum is not actually limited). When new plane track is added, it's getting "tracked" across all point tracks, which makes it stick to the same plane point tracks belong to. - After plane track was added, it need to be manually adjusted in a way it covers feature one might to mask/replace. General transform tools (G, R, S) or sliding corners with a mouse could be sued for this. Plane corner which corresponds to left bottom image corner has got X/Y axis on it (red is for X axis, green for Y). - Re-adjusting plane corners makes plane to be "re-tracked" for the frames sequence between current frame and next and previous keyframes. - Kayframes might be removed from the plane, using Shit-X (Marker Delete) operator. However, currently manual re-adjustment or "re-track" trigger is needed. Compositor changes: - Added new node called Plane Track Deform. - User selects which plane track to use (for this he need to select movie clip datablock, object and track names). - Node gets an image input, which need to be warped into the plane. - Node outputs: * Input image warped into the plane. * Plane, rasterized to a mask. Masking changes: - Mask points might be parented to a plane track, which makes this point deforming in a way as if it belongs to the tracked plane. Some video tutorials are available: - Coder video: http://www.youtube.com/watch?v=vISEwqNHqe4 - Artist video: https://vimeo.com/71727578 This is mine and Keir's holiday code project :)
2013-05-30Patch #35464: Marker placement for motion tracker by clicking on a desired ↵Sergey Sharybin
location Now button in the toolshelf behaves this way: - User clicks on "Add Marker" - Then he clicks where the marker should get placed Patch by Marcos Couto (ocf) with own modifications.
2013-05-22Fix #35461: Marker gets initialized to arbitrary positionSergey Sharybin
Use center of currently visible frame part instead of center of the whole frame for position of marker which is adding from toolbox. Used separate operator for this to keep operators more atomic and not confuse with lots of conflicting properties.
2013-05-12Refine markers position operatorSergey Sharybin
This operator will run a tracker from previous keyframe to current frame for all selected markers. Current markers positions are considering initial position guess which could be updated by a tracker for better match. Useful in cases when feature disappears from the frame and then appears again. Usage in this case is the following: - When feature point re-appeared on frame, manully place marker on it. - Use Refine Markers operation (which is in Track panel) to allow tracker to find a better match. Depending on direction of tracking use either Forwards or Backwards refining. It's easy: if trackign happens forwards, use Refine Frowards, otherwise use Refine Backwards :)
2013-05-10Set scene frames operator for clip editor.Sergey Sharybin
This operator will set scene's start/end frames to match clip's start frame and footage duration. Available in Clip panel in clip editor's toolbox.
2013-05-09Added a button to apply scale on scene solutionSergey Sharybin
This is an alternative to using camera to scale the scene and it's expected to be better solution because scaling camera leads to issues with z-buffer. Found the whole scaling thing a bit confusing, especially for object tracking, but cleaning this up is a bit different topic.
2013-04-04Clip editor prefetch changesSergey Sharybin
Made it an operator instead of automatic prefetching. Filling the whole memory with frames is not always desired behavior. Now prefetching is available via P-key, or from Clip panel in toolbox or from Clip menu. Also enabled prefetching for non-proxied movies.
2013-03-20Prefetching for movie clipsSergey Sharybin
This commit basically implements frames prefetching for movie clip datablock. Number of frames to be prefetched is controlled in User Preferences, System tab, Prefetch Frames option. Currently prefetching is destructive-less for movie cache, meaning mo frames will be removed from the cache when while prefetching. This is because it's half of simplier to implement, but it also makes sense from tracking point of view -- we could want to playback in both directions and removing frames from behind time cursor is not always a good idea. Anyway, smarter prefetching strategy could be developed later. Some implementation notes: - Added MEM_CacheLimiter_get_memory_in_use function to get memory usage of specified memory limiter. - Fixed prototype of MEM_CacheLimiter_get_maximum which was simply wrong (used wrong data type for output). - Added some utility functions to movie clip and movie cache for direct cache interaction and obtaining cache statistics. - Prefetching is implemented using general jobs system. which is invoking from clip draw function. - Prefetcing will stop as soon other job or playback starts. This is done from performance point of view. Jobs will likely require lots of CPU power and better to provide whole CPU to it. Playback is a bit more complicated case. For jpeg sequence playback prefetching while paying back is nice. But trying to prefetch heavy exr images and doing color space conversion slows down both playback and prefetching. TODO: - Think of better policy of dealing with already cached frames (like when cached frames from other clips prevents frames from current clip to be prefetched) - Currently a bit funky redraw notification happens from prefetch job. Perhaps own ND_ is better to have here. - Hiding clip while prefetch is active in theory shall stop prefetching job. - Having multiple clips opened on file load will prefetch frames for only one of them.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-05View All operator for motion tracking dopesheet.Sergey Sharybin
2012-12-19code cleanup: warningsCampbell Barton
2012-12-18Made motion tracking data aware of DPI in clip editor.Sergey Sharybin
Also synchronized tracking dopesheet channels height/spacing with fcurve dopesheet.
2012-08-12NDOF navigation support for clip editorSergey Sharybin
2012-08-01misc mask fixesCampbell Barton
- image space used wrong notifiers. - image notifier now checks for mask mode before listening to mask edits. - mask keyframes now draw in the image space.
2012-07-27change clip utility function arguments to take space data and region rather ↵Campbell Barton
then the context. this allows a fix to be applied that corrects the helper line in the image view when transforming a mask.
2012-07-26Shortcuts to set solver frames: alt-1 for Keyframe A, alt-2 for keyframe B.Sergey Sharybin
2012-06-20Cleanup up space clip API:Sergey Sharybin
- Remove clip/mask specific size/aspect getters, they shall just use the same size/aspect ratio. - Made size getter (and some other public functions) accept context instead of SpaceClip. Currently only SpaceClip is being get from this context, but later it'll be helpful when adding support of editing mask without opening clip in clip editor (in this case using render resolution for mask would be ideal, but this requires knowing scene in size getter). - Rearrange some functions in clip_editor.c for easier navigation in the file.
2012-06-15Code deduplicaiton in motion tracking slide operatorSergey Sharybin
2012-06-15Move selection operators of Clip Editor into their own fileSergey Sharybin
2012-06-12Added Selected Only and Show Hidden flags to clip editor's curve viewSergey Sharybin
2012-06-10style cleanupCampbell Barton
2012-06-10Fixed curves and dopeseet views of motion tracking data not taking clip'sSergey Sharybin
start frame into account.
2012-05-14lasso select for movie clip markers.Campbell Barton
2012-04-30Camera tracking: initial commit of dopesheet view for clip editorSergey Sharybin
- Displays dopesheet information for selected tracks, and currently does not support any kind of editing. - Changed regions to use the whole main region for such views as curves and dopesheet. This allows to have own panels with tools/properties in this area. - Active clip is getting synchronized between different clip editor editors in the same screen, so updating of curve/dopesheet views happens automatically when one changes current clip in one of this editors. - Panels in toolbox and properties panels are now separated to rely on current view mode, but some operators and poll functions still need to be updated. - Added new screen called "Movie Tracking" where layout is configured to display timeline, main clip window, curves and dopesheet.
2012-04-29Camera tracking: backport refactoring made in local branches with masking ↵Sergey Sharybin
and dopesheet view into trunk Mostly related on changes in poll functions for tracking operators and some changes to how interface is initializing for different view types.
2012-03-26Code style cleaup for motion-tracking modules.Sergey Sharybin
Should be no functional changes.
2012-03-08New operators for clip editor's curve view:Sergey Sharybin
- Select All operator for selecting markers - Disable selected markers operator
2012-03-06Camera tracking: wall scene orientation operatorSergey Sharybin
Made Set Floor a bit more general and name it Set Plane which defines orientation from 3 selected tracks and makes them belong to specified plane (wall or floor).
2012-03-04Movie clip editor: implemented border select operator for curves viewSergey Sharybin
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-01-26More curves view improvements for clip editor:Sergey Sharybin
- Renamed graph_jump_to_current_frame to graph_center_current_frame which makes more sense. - Curve view now can be locked to time cursor (Lock to Time Cursor in Display panel or L button in curve view). Not sure if offset from locked position will make much sense here. - Added hotkey for solving -- Shift-S.
2012-01-26Tracks curves fixes and improvements:Sergey Sharybin
- Use proper poll functions for tracks curve operators. - Darken frames outside of scene frame range in curves view. - Implemented view all operator. - Implemented jump to current frame operator.
2012-01-10Camera tracking: tracks copy/paste operatorSergey Sharybin
This commit implements basic clipboard support for movie tracking data int clip editor. Used own implementation of clipboard like it's done for sequencer. Ideally it needed to be switched to more general clipboard system, but currently this system is designed for text data only and it need to be re-designed itself. But this feature is quite useful since object tracking is implemented, so it should be OK to live with such own implementation for a while.
2011-12-19Object tracking: configurable scale for object solutionSergey Sharybin
Added slider to define scale of object solution which is used to define "depth" of object relative to camera position. This slider effects on all "users" of object solution such as bundles display, constrained objects and so. Added new operator called "Set Solution Scale" to set real scale for object solution based on real distance between two bundles reconstructed for this object. New slider and operator can be found on "Object" panel in toolbox when in reconstruction mode and active tracking object isn't a camera.
2011-12-05Object tracking; initial commitSergey Sharybin
This commit implements basis stuff needed for object tracking, use case isn't perfect now, interface also should be cleaned a bit. - Added list of objects to be tracked. Default there's only one object called "Camera" which is used for solving camera motion. Other objects can be added and each of them will have it;s own list of tracks. Only one object can be used for camera solving at this moment. - Added new constraint called "Object Tracking" which makes oriented object be moving in the save way as solved object motion. - Scene orientation tools can be used for orienting object to bundles. - All tools which works with list of tracks or reconstruction data now gets that lists from active editing object. - All objects and their tracking data are available via python api.
2011-10-31Camera tracking integrationSergey Sharybin
=========================== - Changed 3D viewport reconstruction settings to more usable defaults - Some code clean-up - Option to place markers for detected features across the whole frame, inside grease pencil areas or outside of grease pencil areas.
2011-10-29Camera tracking integrationSergey Sharybin
=========================== DeBalie commit (main changes only): - Code cleanup - Selectable tracking graph curves and curve knots - Graph curve and curve knots can be deleted now - Fixed wrong write when linking libraries (error is caused by hardcoded cound of linkable ID blocks) - Fixed for KLT tracker when using keyframe adjustment
2011-10-24Camera tracking integrationSergey Sharybin
=========================== Remove $Id$
2011-10-19Camera tracking integrationSergey Sharybin
=========================== Initial implementation of graph view for movie tracking data. Used the same UI-side approach as preview region for sequencer: create region for graph-related information inside clip editor. It's easier and nicer than trying to hack graph editor which is currently designed to work with AnimData only. Trying to make it more abstract to deal with any kind of data doesn't seem be real benefit for now. Currently supported displaying per-frame average error and selected tracks' movement speed (pixels per frame). Additional changes: - Collect per-frame average error after solving. - Split space clip drawing code into different files. - Added per-frame average solving error.
2011-09-07Camera tracking integrationSergey Sharybin
=========================== - Added python method MovieClip.tracking.tracs.add() to add new track. Marker for this track is getting created on position (0, 0) and it's keyframed to specified frame number. - Implemented rotation 2D stabilization. It's supposed to be used in the following workflow: * Set tracks which defines location stabilization. * Choose one track which defines orientation. * Vector which connects median point of location and track used for rotation would have the same orientation along all frames. 2D stabilization with rotation can be a bit slow. - Some internal refactor and code clean-up.
2011-08-16Camera tracking integrationSergey Sharybin
=========================== - Added mode toggle operator. - Hide Marker panel and show Display panel by default. - Enable manual calibration by default.
2011-08-16Camera tracking integrationSergey Sharybin
=========================== initial re-design commit: - Added Mode to Clip Editor. Currently the following modes are present: * Tracking/Solving mode (default) * Reconstruction mode * Distortion mode - Hide all tools/properties which doesn't make sense in current mode. - Keep a look at new template template_marker. It's needed to control marker's properties, changing of which should produce new keyframe. Currently only "Enabled" property can be control. Probably all properties from "Marker" panel could go there so this template wouldn't be so specific. - No operators are disabled for non-their mode. It means they can be triggered from Space menu or hotkey. Need clear map operators into mode to prevent mess of poll function.
2011-08-08Camera tracking integrationSergey Sharybin
=========================== Added grease pencil to clip editor. Idea is to use it for supervised camera calibraiton. "Disable Marker" hotkey was changed to Shift-D
2011-08-08Camera tracking integrationSergey Sharybin
=========================== Initial integration of proxies into movie clip editor. Known issue: marker preview area uses proxyed image, hopefully fix would be available soon.
2011-08-07Camera tracking integrationSergey Sharybin
=========================== Request from some artists and initial idea: own frame scrubber for clip editor. - Display current frame number in small rectangle near current frame marker in clip editor. - Mouse can be used to change current frame. It is almost the same as for timeline. Changing of frame happens when mouse is slidding in 16px height area in the bottom of clip editor.