Blender Git Loki

Git Commits -> Revision c4849ae

Revision c4849ae by Sergey Sharybin (master)
June 3, 2011, 15:39 (GMT)
Camera tracking integration
===========================

Implemented basic structures and operators for markers manipulaiton.

Markers contains:
- Position of marker at frame in unified 0..1 coordinates
- Relative positions of left-bottom and right-top corners of pattern area
- Relative positions of left-bottom and right-top corners of search area
- Selection flags

New operators:
- Create new maerker. It's a modal operator which creates markers
at mouse position when LMB is clicking.
- Delete selected markers.
- Select marker using RMB. Some parts of marker (point, patter, search)
could be deselected.
- Select markers using rectangular selection.
- Select markers using circle selection.
- Marker translation (G-key).
- Marker scaling (S-key).

UI changes:
- Added mode to space clip. Currently supported modes are:
* View mode
* Tracking mode
This was intended to separate different categories of tools,
so interface shouldn't be overheaded with plenty of tools
which aren't actually using in the same time.
- Created new panel when actiev tool is 'MARKER' and there's
active marker where positions could be adjusted in pixel space.

Internal changes:
- Splitted DNA/RNA movieclip files to make separation of
tracking data and movie data more clear. This could be useful
in the future when we'll want to support multiplie moies
for single camera tracking (to make tracking more accurate).
- Added new file in blenkernel, where all tracking-related function
would be stored. Not very much function here at this moment,
but in the future all stuff related on converting DNA to external
tracking data would be stored here.

Commit Details:

Full Hash: c4849aee1c220094467ebaabee480e1229208fc7
SVN Revision: 37135
Parent Commit: 0af2a4a
Lines Changed: +16559, -14537

7 Added Paths:

/source/blender/blenkernel/BKE_tracking.h (+56, -0) (View)
/source/blender/blenkernel/intern/tracking.c (+110, -0) (View)
/source/blender/editors/include/ED_clip.h (+52, -0) (View)
/source/blender/editors/space_clip/clip_buttons.c (+258, -0) (View)
/source/blender/editors/space_clip/tracking_ops.c (+635, -0) (View)
/source/blender/makesdna/DNA_tracking_types.h (+63, -0) (View)
/source/blender/makesrna/intern/rna_tracking.c (+191, -0) (View)

1 Deleted Path:

/source/blender/editors/include/ED_movieclip.h (+0, -52)

40 Modified Paths:

/release/datafiles/blenderbuttons (+0, -0) (Diff)
/release/scripts/startup/bl_ui/space_clip.py (+115, -9) (Diff)
/source/blender/blenkernel/BKE_movieclip.h (+11, -2) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+83, -16) (Diff)
/source/blender/blenlib/BLI_math_vector.h (+1, -0) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+6, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+5, -4) (Diff)
/source/blender/blenloader/intern/writefile.c (+7, -0) (Diff)
/source/blender/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/datafiles/blenderbuttons.c (+6601, -6592) (Diff)
/source/blender/editors/datafiles/startup.blend.c (+7813, -7794) (Diff)
/source/blender/editors/include/UI_icons.h (+1, -1) (Diff)
/source/blender/editors/include/UI_resources.h (+6, -1) (Diff)
/source/blender/editors/interface/resources.c (+27, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+148, -5) (Diff)
/source/blender/editors/space_clip/clip_editor.c (+11, -1) (Diff)
/source/blender/editors/space_clip/clip_intern.h (+13, -0) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+27, -2) (Diff)
/source/blender/editors/space_clip/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/space_clip/space_clip.c (+32, -3) (Diff)
/source/blender/editors/transform/transform.c (+28, -2) (Diff)
/source/blender/editors/transform/transform.h (+1, -0) (Diff)
/source/blender/editors/transform/transform_conversions.c (+120, -0) (Diff)
/source/blender/editors/transform/transform_generics.c (+29, -0) (Diff)
/source/blender/editors/transform/transform_ops.c (+5, -0) (Diff)
/source/blender/editors/util/CMakeLists.txt (+1, -1) (Diff)
/source/blender/makesdna/DNA_movieclip_types.h (+11, -15) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+21, -2) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -0) (Diff)
/source/blender/makesdna/intern/makesdna.c (+2, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_movieclip.c (+2, -31) (Diff)
/source/blender/makesrna/intern/rna_space.c (+27, -2) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+26, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021