December 3, 2011, 23:05 (GMT) |
Invert Color Cycles Node as with the HSV node the OSL code is relying on the (yet to be implemented) autorename. Also the svm code could use mix (svm_lerp) instead: 32 . float3 color_inv = make_float3(1.0f, 1.0f, 1.0f) - color; 35 . . stack_store_float3(stack, out_color, svm_lerp(color_inv, color, factor)); I have a feeling that each node 'program' should have the least program as possible. I'll see with Brecht later. But overall I don't know if that's any fast. And apart from that I think we will need this kind of function to move to a library if multiple functions linked in are not a problem. |
December 3, 2011, 22:27 (GMT) |
Add a new hybrid region tracker for motion tracking to libmv, and add it as an option (under "Hybrid") in the tracking settings. The region tracker is a combination of brute force tracking for coarse alignment, then refinement with the ESM/KLT algorithm already in libmv that gives excellent subpixel precision (typically 1/50'th of a pixel) This also adds a new "brute force" region tracker which does a brute force search through every pixel position in the destination for the pattern in the first frame. It leverages SSE if available, similar to the SAD tracker, to do this quickly. Currently it does some unnecessary conversions to/from floating point that will get fixed later. The hybrid tracker glues the two trackers (brute & ESM) together to get an overall better tracker. The algorithm is simple: 1. Track from frame 1 to frame 2 with the brute force tracker. This tries every possible pixel position for the pattern from frame 1 in frame 2. The position with the smallest sum-of-absolute-differences is chosen. By definition, this position is only accurate up to 1 pixel or so. 2. Using the result from 1, initialize a track with ESM. This does a least-squares fit with subpixel precision. 3. If the ESM shift was more than 2 pixels, report failure. 4. If the ESM track shifted less than 2 pixels, then the track is good and we're done. The rationale here is that if the refinement stage shifts more than 1 pixel, then the brute force result likely found some random position that's not a good fit. |
December 3, 2011, 22:15 (GMT) |
flush selected vertices when switching from vertex weight paint mode to editmode (as is done with faces). note - a limitation with mode changing means this isnt used yet with toggling. |
December 3, 2011, 21:27 (GMT) |
Fix cycles compile issue after last commit. |
December 3, 2011, 21:01 (GMT) |
svn merge ^/trunk/blender -r42361:42372 |
December 3, 2011, 20:49 (GMT) |
shorten very long lines in drawobject.c, (no functional changes) |
December 3, 2011, 20:26 (GMT) |
fix for weight paint mode drawing selected verts even when it wasnt the active object. |
December 3, 2011, 20:22 (GMT) |
Fix #29444: cycles problem building BVH with NaN vertices. |
December 3, 2011, 13:16 (GMT) |
Fix #29483: edge slide gives nan when zoomed in close. Cause was integer overflow leading to negative value for sqrt(). |
December 3, 2011, 06:10 (GMT) |
add library support for rna collection __contains__, eg ("Cube", "//lib.blend") in bpy.data.objects |
December 3, 2011, 02:11 (GMT) |
fix for derived mesh buffer overrun caused by using an incorrect loop length. editmode extruding would crash instantly when dupli-faces were enabled. |
December 3, 2011, 01:12 (GMT) |
Enables vc 2010 boost libraries for cmake |
December 2, 2011, 23:02 (GMT) |
svn merge ^/trunk/blender -r42333:42361 |
December 2, 2011, 22:35 (GMT) |
some formatting edits & #if 0 files which are not used. |
December 2, 2011, 22:14 (GMT) |
de-duplicate dominant axis calculation, exact same checks were in 6 different places. added function: axis_dominant_v3(...) |
December 2, 2011, 21:10 (GMT) |
Fix #27620: improve mesh deform error message when it fails to bind. |
December 2, 2011, 20:49 (GMT) |
Fix #29477: make proxy gave proxy object the wrong name with OB prefix. Broke in revision 41125 with BLI_snprintf refactoring, checked other changes in that commit and they seem to be fine, was just this one. |
December 2, 2011, 20:45 (GMT) |
fix for own error - r42200, broke knife tool edge/triangle intersection. |
December 2, 2011, 20:36 (GMT) |
CameraData Input Cycles Node ---------------------------- reviewed and approved by Brecht Important note: the camera Z is reverted compared to Blender render. Now it goes from zero (camera) to positive (in front of the camera) |
December 2, 2011, 19:49 (GMT) |
Fix #29073: keyframing integer properties now uses linear interpolation by default, and enums use constant interpolation. Bezier doesn't make much sense for these. |
|
|
|


Master Commits
MiikaHweb | 2003-2021