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
2012-09-20Add smarter tolerance checking in the planar tracker.Keir Mierle
The planar tracker uses Ceres for the refinement stage. During refinement, Ceres iteratively updates the parameters with the latest best guess. If the change in the parameters falls below a threshold, Ceres will abort successfully ("converged"). For the case of pure translation tracking, the parameters are exactly the two pixel shifts (dx, dy), and measuring the change in these parameters gives a meaningful termination criterion. However, for all the other parameterizations like affine, where the parameterization involves affine parameters that have no physical interpretation, Ceres is left with no way to terminate the solver early. With the existing code, often many iterations are run long after Ceres has found a solution sufficiently accurate for all tracking needs. No one needs tracking with a quadrillionth of a pixel accuracy; that time is wasted. This patch extends the existing iteration callback that is passed in to Ceres to check if the pattern has fallen out of the search window, to also check if the optimizer has made a tiny step. In particular, if the maximum shift of any patch corner between two successful optimizer steps is less than a threshold (currently 0.005 pixels), the track is declared successful and tracking is terminated. This leads to dramatic speed increases in some cases, with little to no loss in track quality. This is especially apparent when tracking patches with affine or perspective motion models. For example, on some tracking cases I tried, the iterations Ceres took went from 50 to 3.
2012-09-20style cleanupCampbell Barton
2012-09-20code cleanup: remove unused macros, commet some which may be useful later - ↵Campbell Barton
or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-20code cleanup: c++ - use empty() rather than size(), use prefix operators for ↵Campbell Barton
non-primitive types - recommended for non primitive types.
2012-09-20Fix #32596: bones in armature created from skin modifier have wrong envelopeBrecht Van Lommel
values.
2012-09-20Fix #32598: clamp blender internal alpha channel to 0..1, and RGB to 0..inf,Brecht Van Lommel
to avoid compositing issues. The values can go out of bounds due to sharp pixel filters. In Cycles the alpha channel is already clamped, and there are no pixel filters that could cause negative RGB values.
2012-09-20Fix #32601: armature select similar missing from select menu.Brecht Van Lommel
2012-09-20Fix #31888: cycles crashes using movie for image texture. This is not supportedBrecht Van Lommel
but should not crash either. This fix is more of a workaround, the crash seems to be in openimageio or one of the libraries it uses.
2012-09-20Detect too-small planar tracking patches.Keir Mierle
The planar tracker did not detect very skinny patches which have effectively zero area and are untrackable. This adds detection and rejection of patterns with zero area. This fixes a crash found by during Mango production.
2012-09-20Cleanup for when trackers fall out of the search window.Keir Mierle
Sergey originally left a TODO() here, but his fix is the correct one. I removed the TODO and fixed some comment issues.
2012-09-19Color Management: new generated images had empty color space by defaultSergey Sharybin
Now use default byte/float colorspace when creating new image.
2012-09-19Fixed "cleaning" of some menu labels (those with all the ugly %t/|), wasn't ↵Bastien Montagne
working in all cases. Also cleaned some old, no more used piece of code.
2012-09-19Collada(exporter): Added error message when export file can not be created ↵Gaia Clary
for whichever reason
2012-09-19Add a "Header" sub-menu to the right-click one of all buttons in a header ↵Bastien Montagne
area. Also header tools entries are now translatable!
2012-09-19Makes no sense to have render engine property animatable!Bastien Montagne
2012-09-19using the utf8 flipped form of Hebrew for the uiDalai Felinto
2012-09-19Small fix for Follow Track constraintSergey Sharybin
Use object_get_derived_final() function instead of accessing to object's derived final directly. The same happens for shrinkwrap constraint and it should deal better in cases when depth object is in edit mode. In other cases should be no functional changes.
2012-09-19Mark movie clip user current frame as editableSergey Sharybin
It should be pretty safe change which would allow doing stuff like python-defined tracking routines without need to update the whole scene when it's needed to perform some operation on different clip frame. It'll be possible to write operators similar to tracking, which updates space clip's frame number, but not scene frame when tracking and only synchronizes scene frame number on operator finish.
2012-09-19Fix missing dependency graph update when switching to another scene, now doesBrecht Van Lommel
same update as loading .blend or switching layer visibility.
2012-09-19Fix #32576: missing image editor update when entering edit mode with UV ↵Brecht Van Lommel
textures.
2012-09-19Fix #32018: non-progressive integrator crash.Brecht Van Lommel
2012-09-19Color Management: don't apply display transform on Non-Color imagesSergey Sharybin
Also don't color manage data buffers in texture painting. Makes it possible to view heights and normal maps in proper space and also paint on them without applying extra transformation.
2012-09-19Fix crash when tracking in planar motion model (and maybe some other)Sergey Sharybin
It was an Abort() caused by check for solver result not equal to USER_ABORT. In some cases solver returns USER_ABORT due to BoundaryCheckingCallback detects coordinates does not belong to image. Somehow this callback wasn't called in previous version of Ceres and in the same case marker was jumping. Now when the callback is called it seems we could simply return failure of tracking without aborting Blender. Probably this is in fact some issue somewhere else, would double check with Keir about this.
2012-09-19Tracking: fixed crash when reference frame fails to be loadedSergey Sharybin
2012-09-19joining mesh objects now keeps relative key setting of each keyblock. also ↵Campbell Barton
joining absolute shapekeys now sorts by time.
2012-09-19code cleanup: make shape key api names consistent with our new convention.Campbell Barton
2012-09-19fix for missing NULL check in init_render_texture() (possibly own fault), ↵Campbell Barton
also remove some redundant code.
2012-09-19fix txt_redo_read_unicode() missing break - reading 4 byte unicode would ↵Campbell Barton
fail, same fix was made for txt_undo_read_unicode() recently.
2012-09-19fix MESH_OT_tris_convert_to_quads() limit options (uv and vertex color) were ↵Campbell Barton
not working at all.
2012-09-19fix buffer overrun when 5+ sided faces were used for text drawing.Campbell Barton
2012-09-19code cleanup: marker transform was doing some redundant/misleading ↵Campbell Barton
assignments & checks, remove unused cruft. also remove some other redundant checks.
2012-09-19fix buffer overrun in make_histogram_view_from_ibuf_byte(), use define for ↵Campbell Barton
buffer size so this wont happen again.
2012-09-19fix [#32575] Seperate more than one object from a mesh generates additional ↵Campbell Barton
edges
2012-09-18Color management: fix crashes and memory leaks when using custom OCIO ↵Brecht Van Lommel
configuration Also fix some missing color spaces when loading some OCIO configurations, by falling back to scene linear if role is not found. There can still be some errors in the console, need to check this further. http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Color_Management#OpenColorIO_Configuration
2012-09-18Color management: default to Save as Render when saving an image datablock withBrecht Van Lommel
View as Render enabled.
2012-09-18Fix crash editing mask with no image in the image editor.Brecht Van Lommel
2012-09-18Fix #31539, painting in image editor while in object mode does not update ↵Antony Riakiotakis
mipmaps. While we could disable/enable mipmaps on stroke begin/end, it is a bit hacky (but worthy of consideration for later) for my taste just to paint in the image editor. Instead we generate mipmaps on the fly. Since we can update texture levels below the first only with GPU mipmapping, partial update when painting in the image editor will actually work only with GPU mipmapping from now on (which is fast enough I hope not to get any lags!).
2012-09-18Fix for own r50715 (static func is much better here!)...Bastien Montagne
2012-09-18do_version fix files with bad keyblock uid caused by byg [#31569]Campbell Barton
2012-09-18fix [#31569] Shapekey w/ Driver - Shapekey Influences Disappears After Going ↵Campbell Barton
to Edit Mode joining meshes would allow shape key UID's not to be unique. This was caused by join adding new key blocks inline, now use add_keyblock() like everywhere else does.
2012-09-18-Wnonnull flag is not for C++. I think we all know it by now, time toAntony Riakiotakis
get rid of it.
2012-09-18don't divide by zero in get_ss_weights() which would set values - only to be ↵Campbell Barton
overwritten. useful when using --debug-fpe since this isnt and exceptional case.
2012-09-18Revert part of rev50719, it's not actually needed and it alwaysSergey Sharybin
invalidates render result display buffers.
2012-09-18Ceres: resolve no previous declarations warningsSergey Sharybin
Currently done as patch applied on bundling, would forward it to Ceres developers.
2012-09-18fix [#32572] Windows: False error on console when a new folder is created ↵Campbell Barton
during a save or export operation
2012-09-18Libmv: resolved some compilation warnings (missed prototypes)Sergey Sharybin
In some cases it was missed include of header file, in some other cases symbol could be static.
2012-09-18Color Management: fixed crash when changing display device in screenshot ↵Sergey Sharybin
save operator In fact, color management settings shouldn't be editing from this operator since screenshot is using OpenGL which is in sRGB space, but fixed issues with Image Format initialization and added NULL pointer checks.
2012-09-18Fixed missing display buffer invalidation when rendering sequencer animationSergey Sharybin
2012-09-18fix own error BLI_rctf_cent_x/y were incorrectly returning int's, also quiet ↵Campbell Barton
some warnings.
2012-09-18"Colospace" -> "Color Space" (in UI messages).Bastien Montagne