Commit Graph

27505 Commits

Author SHA1 Message Date
Sergey Sharybin
8e42433f02 Camera tracking integration
===========================

- 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-31 14:01:40 +00:00
Sergey Sharybin
6de5c38e73 Camera tracking integration
===========================

Fix for collada importer/exporter.
2011-10-30 23:58:21 +00:00
Sergey Sharybin
18471ec3a7 Camera tracking integration
===========================

Small changes to current frame label in motion-tracking graph view.
2011-10-30 23:47:57 +00:00
Sergey Sharybin
6ae17256b7 Camera tracking integration
===========================

- Hopefully last fix for sensor-related compilation error.
- Set SAD correlation and KLT pyramid level for tracks created
  on previous version of Blender.
- Do not flip current frame number when it's getting to close to
  right boundary of clip editor.
2011-10-30 23:35:01 +00:00
Sergey Sharybin
5f183e2f02 Camera tracking integration
===========================

Rest of recent compilation error fix (this stuff better be kept
separated to make it easier to separate patches for trunk integration).

Made behavior of tracks selection more consistent with other areas:
- Make track active when starting sliding it.
- When using extend selection clicking on non-active track make it active
  instead of immediately hiding it.
- Reset offset from locked selection when using non-extending selection.
2011-10-30 22:56:45 +00:00
Sergey Sharybin
17ec8827b0 Camera tracking integration
===========================

Woops. Fix for previous fix.
2011-10-30 22:46:59 +00:00
Sergey Sharybin
fffabae1ee Camera tracking integration
===========================

Fixed compilation error caused by some changes related on sensor height.
2011-10-30 22:44:31 +00:00
Sergey Sharybin
760123e218 Camera tracking integration
===========================

Update rest of places to reflect sensor height and fov mode.
2011-10-30 22:13:52 +00:00
Sergey Sharybin
640b6c0eb8 Camera tracking integration
===========================

Camera sensor size changes:
- Now blender camera has got vertical sensor size property
  and setting to control how FOV is getting calculated
  (depending on aspect ratio, using horizontal sensor size or
  vertical only).
- Made changes in game engine and uv project modifier as well
- Presets should be updated (don't have settings by hand right now
  and the internet in debalie is really fails this year)
2011-10-30 14:11:16 +00:00
Keir Mierle
db86c6bcf8 Improve the KLT tracking behaviour and UI
- Remove the overly-conservative use of libmv's re-track tracker. The re-track
  tracker would take a normal tracker such as TRKLT or KLT or pyramid KLT, and
  track from frame 1 to 2, then back from the position found in 2 back to 1.
  Then, when the reverse-track doesn't match the original track with high
  precision, the track is considered "failed". This is a good approach for
  fully automatic reconstruction, but is too conservative for supervised
  tracking.

  The retrack-tracker will return when fully automatic tracking is added.

- Always solve for (dx, dy) in the TRKLT loop even if the linear system is
  ill-conditioned. The client (Blender in this case) can still use the solved
  position, even though it is less reliable.

- Expose the pyramid level setting to the tracking UI when in KLT tracking
  mode. While it was tempting to hide this detail from the user, in reality it
  does more harm than good, since the way tracking fails depends on the pyramid
  level. For now, exposing the pyramid details is a good compromise.

- Move the settings for the tracking algorithm, including search window,
  tracking algorithm, pyramid levels, etc, into the track object instead of a
  global movie clip object.
2011-10-30 12:42:56 +00:00
Sergey Sharybin
e4cbb8dd94 Camera tracking integration
===========================

- Fixed jump when sliding movie clip with lock to selection enabled and nothing selected.
- Reset offset from locked position when adding new marker.
2011-10-29 11:34:26 +00:00
Sergey Sharybin
393a95b7e3 Camera tracking integration
===========================

Fixed crash when trying to track from frame where there's no
keyframed markers to use for keyframed tracking
(i.e. when you've tracked forwards, then backwards and the forwards again).
2011-10-29 10:36:43 +00:00
Sergey Sharybin
a19b0d358a Camera tracing integration
==========================

Fix for SAD tracking sliding marker.
2011-10-29 09:46:53 +00:00
Sergey Sharybin
9d2caba92e Camera tracking integration
===========================

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-29 07:14:31 +00:00
Sergey Sharybin
f385e54a48 Camera tracking integration
===========================

Fix for totally unworkable KLT tracker caused by recent codereview commit.
Float buffer for libmv should be calculated in exactly such way.
2011-10-27 13:41:28 +00:00
Sergey Sharybin
2da64eab15 Camera tracking integration
===========================

Other fixes for issues pointed by Brecht.
2011-10-26 09:54:10 +00:00
Sergey Sharybin
4735554087 Camera tracking integration
===========================

More fixes for reports from codereview.
2011-10-25 19:06:53 +00:00
Sergey Sharybin
53efb42a4d Camera tracking integration
===========================

Fixed issues pointed by Campbell in codereview.
2011-10-24 16:41:28 +00:00
Sergey Sharybin
093ccdf7a9 Camera tracking integration
===========================

- Fix compilation error when blenderplayer is enabled
- Fix for scene buttons error caused by property rename
2011-10-24 15:25:02 +00:00
Sergey Sharybin
d4be67f501 Camera tracking integration
===========================

Remove $Id$
2011-10-24 15:24:53 +00:00
Sergey Sharybin
7320f6a90a Merging trunk up to revision 41245. 2011-10-24 14:52:04 +00:00
Campbell Barton
a29c3b2bbb fix [#28961] FCurves.range() returns wrong values for one-point curves (sic!)
also fix for case where verts were treated as found but were infact not because none were selected.
2011-10-24 12:26:14 +00:00
Sergey Sharybin
5a6605610d Fix #28949: can't render video to Flash
Several issues were discovered when was looking into this bug:

- MPEG file format didn't set needed codec settings such as frame
  rate and so, Was caused by not very correct fix fix #21351.
- "Expert" codec settings stored in idprops was affected on
  formats which don't actually need them causing some conflicts
  in codec settings.
- Flash codec doesn't support b-frames.

Now C presets shouldn't affect on each other and flash coded wouldn't
use b-frames even when using h264 format. Should work fine for files
created from scratch. If existing files fails to render, try to
switch file format to something else and then back to needed value.
2011-10-24 10:26:37 +00:00
Campbell Barton
a1af5ae6a6 fix for error utf8 printing input. 2011-10-24 10:11:47 +00:00
Campbell Barton
5571485bad fix for crash when entering in non unicode ascii chars.
now allow these but only for filepaths.
2011-10-24 06:57:53 +00:00
Campbell Barton
809131bc80 added function BKE_library_filepath_set which sync's the libraries absolute path when setting to a relative value, before this you could never be sure if a libraries absolute path was valid or not because the user might have changed the relative library path in the outliner, now setting from the outliner and py/rna syncs the absolute path. 2011-10-24 04:52:43 +00:00
Bastien Montagne
8a6a3dbb54 Fix for commit 41227 (Some opening comment tags (/*) were lost!). 2011-10-23 19:39:20 +00:00
Guillermo S. Romero
82c84f4b58 Remove some more $Id$ that still were left after r41227 and r41228. 2011-10-23 19:01:59 +00:00
Guillermo S. Romero
6105199668 Remove the svn:keywords property. 2011-10-23 18:38:16 +00:00
Campbell Barton
4a04f72069 remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
Thomas Dinges
f1cea89d99 Typo fixes for the typo fixes. :D 2011-10-23 15:43:12 +00:00
Campbell Barton
67e744ccf0 fix some typo's 2011-10-23 15:27:36 +00:00
Campbell Barton
e89107927b - fix for error with utf8 textinput for buttons
- ensure input is valid utf8 from ghost and NULL then complain if its not.
- added function to get utf8 size BLI_str_utf8_size()
2011-10-23 13:52:51 +00:00
Brecht Van Lommel
66ef02aaa3 Code refactoring: split main 3d view drawing function into object drawing and
info overlay drawing functions.
2011-10-23 13:00:41 +00:00
Brecht Van Lommel
d1e04d376d RNA: fix collection iterator issue in c++ api with msvc. 2011-10-23 12:58:19 +00:00
Campbell Barton
398fd3621c committing 'a' to merge into the tag 2011-10-23 12:21:41 +00:00
Campbell Barton
f5b37d40ca set pythons 'sys.stdout' encoding to utf-8 and use surrogateescape error handler.
without this printing a unicode string may raise an error which is a real pain especially since script authors often forget this and print the path of a file for example on export which can make a script fail outright when writing to paths with certain encodings.
2011-10-23 07:51:21 +00:00
Campbell Barton
fcb88306b4 rna access to event.unicode so scripts can get unicode text input. 2011-10-23 07:03:57 +00:00
Campbell Barton
a0529a8ae8 py/rna api crash fix: getting event.ascii would crash blender (strange nobody noticed this, seems its been there for over a year???). 2011-10-23 06:56:39 +00:00
Campbell Barton
0664868aec BLI_make_file_string wasn't guaranteed to initialize the resulting path, some parts of the code accounted for this but most not, always initialize the string to "". 2011-10-23 05:56:55 +00:00
Campbell Barton
e58eb5db6f use defines for keying set names to avoid confusing them with text and having some incorrect names (as fixed in last commit) 2011-10-23 05:08:02 +00:00
Campbell Barton
6c9362a2ea fix for incorrect keying set names 'Scale' vs 'Scaling', where 'Scale' was hard coded in auto keyframe when 'Only Insert Needed' option was enabled and would always fail to return a keying set.
- to be included in 2.60a.
2011-10-23 04:48:13 +00:00
Campbell Barton
8e2bc6cdbc Context menu 'Edit Source' operator no longer needs to be enabled as a build option, improved this so the python file:line lookups are only done when the operator runs (previously this was done for every button, every draw when the build option was enabled).
Perhaps this should be hidden when not running with --debug, easy to change.
2011-10-23 04:13:56 +00:00
Campbell Barton
29417887d7 fix for own mistake r41192 2011-10-23 01:06:38 +00:00
Brecht Van Lommel
29f279e43d Render API: add update_progress() function to update progress bar progress from
external render engines.

Also refactoring to move some render engine registration stuff out of RNA and
into render module.
2011-10-22 17:01:54 +00:00
Brecht Van Lommel
1bdf652b89 Code refactoring: move external engine functions into own file. 2011-10-22 16:24:28 +00:00
Thomas Dinges
952560dc02 * Re-commit splash screen with Alpha header. 2011-10-22 16:01:19 +00:00
Brecht Van Lommel
e417e011d5 Code cleanup: file operations merged into single header, some function names
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22 15:35:49 +00:00
Sergey Sharybin
541ba764ea Camera tracking integration
===========================

Bunch of fixes for issues pointed on codereview page by Brecht and Campbell.
2011-10-22 15:20:56 +00:00
Sergey Sharybin
55500118f3 Camera tracking integration
===========================

Fix compilation error.
2011-10-22 15:19:16 +00:00