Commit Graph

31048 Commits

Author SHA1 Message Date
Sergey Sharybin
f2f6ee4af9 Camera tracking integration
===========================

Fixing usage on incorrect pointer to get clip idblock when doing
rna update functions.
2011-08-09 19:26:56 +00:00
Sergey Sharybin
c613a004ab Camera tracking integration
===========================

Fixing some problems caused by modifying imbuf from cache
when building proxy and preventing attempt to load image
duting saving it from cache builder.
2011-08-09 18:26:21 +00:00
Sergey Sharybin
ba8c5977b0 Camera tracking integration
===========================

Use initial pixel aspect ratio of 1.0 for new clips.
2011-08-09 17:51:32 +00:00
Sergey Sharybin
dda38732d1 Camera tracking integration
===========================

Changes into sensor size use case.

There was problem with vertical sensor size which can't actually
affect on things due to we've got fixed image resolution. So
as soon horizontal size gets defined, both of sensor height
and vertical FOV is known and exposing it into UI makes things
difficult to understand.

That's why vertical sensor size was dropped.

Also added pixel aspect to camera settings fo clip editor.
Solver will sue this value rather than value from display
aspect ratio.

This pixel aspect would be copied to render settings after solving
so things should match now between footage, solving anf footage.
2011-08-09 15:12:20 +00:00
Sergey Sharybin
6058543169 Camera tracking integration
===========================

Fixed tracking speed regression caused by proxies commit.
Use frames from cache when tracking if available and also
but frames read during tracking into cache (if proxying
allows this).
2011-08-09 13:05:18 +00:00
Sergey Sharybin
30a7feffdc Camera tracking integration
===========================

More accurate sliding of undistortion coefficients.
2011-08-09 12:08:46 +00:00
Sergey Sharybin
2a5a5bcd5a Camera tracking integration
===========================

Bundling new version of libmv. It's repo is ready for
bundling again, some patches which were applied on our
side are in libmv repo now.

This new version of libmv also contains patch from John Carpenter
which makes reconstruciton a bit more "stable" -- some kind
of fallback algorithm.
2011-08-09 10:42:39 +00:00
Sergey Sharybin
6752fe77ec Camera tracking integration
===========================

- Code cleanup.
- Fixed small bug with cleanup operator.
2011-08-08 20:25:00 +00:00
Sergey Sharybin
e19e29481c Camera tracking integration
===========================

Next attempt to fix MSVC compilation.

I wish i've got my laptop by hand..
2011-08-08 19:02:18 +00:00
Sergey Sharybin
2cdf7e3868 Camera tracking integration
===========================

Just another attempt to fix compilation with msvc:
- Use BLI_snprintf instead of snprintf
- Do not use C99 rint function
2011-08-08 18:44:19 +00:00
Sergey Sharybin
3ae193fc77 Camera tracking integration
===========================

Another attempt to fix compilation on windows.
2011-08-08 18:23:56 +00:00
Sergey Sharybin
02fd3d17e1 Merging r39179 through r39190 from trunk into soc-2011-tomato 2011-08-08 17:35:22 +00:00
Sergey Sharybin
1044a1a1d5 Camera tracking integration
===========================

Compilation fix (snprintf vs. BLI_snprintf)
2011-08-08 17:23:26 +00:00
Sergey Sharybin
9c36d6c0c3 Camera tracking integration
===========================

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-08 16:30:09 +00:00
Campbell Barton
85b77c931d fix [#28183] Wavefront OBJ import has no preset saving 2011-08-08 14:50:10 +00:00
Sergey Sharybin
cda2e61784 Camera tracking integration
===========================

- Fixing typo in scons rules
- CMake should use correct pathes for windows/osx now.
2011-08-08 12:39:02 +00:00
Sergey Sharybin
08c4aaa01b Camera tracking integration
===========================

Initial integration of proxies into movie clip editor.

Known issue: marker preview area uses proxyed image,
             hopefully fix would be available soon.
2011-08-08 12:18:32 +00:00
Sergey Sharybin
33e829819e Camera tracking integration
===========================

Commiting VSE-proxies patch from Peter Schlaile.

Description is here: http://lists.blender.org/pipermail/bf-committers/2011-May/032152.html
Git commit hash: baaecf244b83c70cb57e1bf6fdd51dd8591bde5b
2011-08-08 12:18:20 +00:00
Sergey Sharybin
14e7aa25de Merging r39173 through r39178 from trunk into soc-2011-tomato 2011-08-08 12:11:40 +00:00
Campbell Barton
64a298645f report error on installign keymaps rather then raising an exception. 2011-08-08 09:09:44 +00:00
Campbell Barton
24acf58fc4 quiet harmless py resource warning - file opened but not closed. 2011-08-08 09:01:09 +00:00
Campbell Barton
cc0ec3aa33 fix [#28178] make single user copy of object data doesn't work 2011-08-08 08:22:01 +00:00
Sergey Sharybin
08d4cde0f9 Camera tracking integration
===========================

Fixed incorrect check for selected bundles count in scene orientation operators.
2011-08-08 07:17:18 +00:00
Sergey Sharybin
b49d6a6f60 Merging r39135 through r39172 from trunk into soc-2011-tomato 2011-08-08 07:14:59 +00:00
Campbell Barton
8eec116d0e add missing keys for ghost/sdl 2011-08-08 06:54:07 +00:00
Campbell Barton
349c838996 add missing header to cmake files (else some IDE's wont index it) 2011-08-08 05:43:04 +00:00
Campbell Barton
22d2764d50 use static sets rather then tuples, python optimizes this case.
minor change to lightmap unpack collecting unique meshes.
2011-08-08 05:21:37 +00:00
Campbell Barton
0160901c90 - update X3D and FBX testing checksums
- building with GHOST/SDL now adds the PREFIX
- image.external_edit operator errors out if the filepath isnt set (was annoying and loaded gimp while running tests)
2011-08-08 03:31:25 +00:00
Thomas Dinges
fad243a4bf Mac Compile fix for ndof, by jensverwiebe. Thanks! 2011-08-07 22:48:04 +00:00
Mike Erwin
28ae6d85fe fixed typo 2011-08-07 18:57:39 +00:00
Campbell Barton
5681380db0 simplify x11 path code, had unneeded NULL checks and std namespace 2011-08-07 17:38:36 +00:00
Mike Erwin
f12df1e386 ndof data change: operators can access values as vectors or components, as both are handy 2011-08-07 17:22:47 +00:00
Mike Erwin
3a55da7616 removed old ndof transform code, to be replaced with modern stuff in 2.6 2011-08-07 17:01:44 +00:00
Campbell Barton
577293569a scons patch from jensverwiebe
fix a silly bug in version detection, - added an OSX sdk-check

jensverwiebe, needs to get commit access!, but will apply his patches for now.
2011-08-07 16:54:40 +00:00
Mike Erwin
479c203dad stricter WITH_INPUT_NDOF guards, general cleanup 2011-08-07 16:44:10 +00:00
Mike Erwin
6a0bbfd0e4 fixed ndof library detect for Mac SCons, ndof enabled by default (disabled if lib not found), minor cleanup 2011-08-07 16:29:05 +00:00
Sergey Sharybin
cc2df8bfee Camera tracking integration
===========================

Corrected focal length initialization. Now it'll be 24mm, not 24px.
2011-08-07 16:10:14 +00:00
Campbell Barton
bf23acf3bb fix for building ndof with cmake on osx 2011-08-07 15:06:35 +00:00
Sergey Sharybin
0dea4df764 Changed do_version condition for noodle_curving.
It should be re-set to 5 for files saved in 2.58.1 release.
2011-08-07 14:57:25 +00:00
Sergey Sharybin
f1b80669bd Camera tracking integration
===========================

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.
2011-08-07 12:09:56 +00:00
Sergey Sharybin
a2db93d842 Merging r39121 through r39134 from trunk into soc-2011-tomato 2011-08-07 12:08:58 +00:00
Sergey Sharybin
470317587b Camera tracking integration
===========================

Switch from UI_DrawString to BLF_draw. No functional changes.
2011-08-07 11:11:07 +00:00
Brecht Van Lommel
a02d7c1ba7 Fix #28169: keymap bug when using a preset configuration, e.g. object mode keymap
was also being used in edit mode.
2011-08-07 11:01:55 +00:00
Sergey Sharybin
8c0fb2ad64 Camera tracking integration
===========================

Expose parameters for feature detection into redo panel.
2011-08-07 08:58:03 +00:00
Sergey Sharybin
0bb5f21655 Merging r39102 through r39120 from trunk into soc-2011-tomato 2011-08-07 08:56:13 +00:00
Campbell Barton
38280ba38e fix [#28172] Cannot restore Add-ons tab in user preferences after a failed attempt to install an add-on.
non utf8 addons would make the addon UI vanish, now give a message in the console and UI.
2011-08-07 04:55:58 +00:00
Campbell Barton
117ec4a91a comment unused vars 2011-08-07 04:22:33 +00:00
Mike Erwin
6c821f4078 stricter NDOF guards for Windows (forgot in earlier commit) 2011-08-06 23:13:36 +00:00
Mike Erwin
5dd2b3e06f fixed crash when NDOF operators were called without an NDOF_MOTION event 2011-08-06 22:31:16 +00:00
Campbell Barton
79e359f92a rna/ui: avoid duplicate property gHash lookups by passing the property when its already been found.
added _prop suffix to ui functions which take a prop rather then a propname, may change this later since its not that nice but for gsoc branches this keeps existing UI functions working the same.
2011-08-06 16:00:00 +00:00