Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6219 / 8462

September 20, 2012, 10:07 (GMT)
Fix #32603: Multi-Layer EXR files can't be color managed

Issue was caused by completely different way how multi-layer EXRs are loading,
they're bypassing general image buffer loading functions.

Solved by running color space transformation on render result construction
from multi-layer EXR image.

Also fixed issue with wrong display buffer computing for buffers with less
than 4 channels. Issues were:

- Display buffer is always expected to be RGBA
- OpenColorIO can not apply color space transformations on non-{RGB, RGBA}
pixels.
September 20, 2012, 09:19 (GMT)
add back -Wundef for g++, also correct clang warnings and add -Wunused-macros warning.
September 20, 2012, 09:04 (GMT)
code cleanup: cycles now uses system includes for boost/oiio.. etc, so we dont get warnings from system headers.
September 20, 2012, 07:43 (GMT)
ffmpeg was adding an include `just incase`, without a cmake find module here - just check if the dir exists.
September 20, 2012, 05:09 (GMT)
code cleanup: some redundant assignments in view3d_draw_bgpic()
September 20, 2012, 04:56 (GMT)
code cleanup:
- make view3d project names more consistent.
- remove apply_project_float() its not needed.
- update comments referencing an old function name.
- move doxygen docs into the C file, prefer they are kept here to avoid getting out of sync with code.
September 20, 2012, 03:45 (GMT)
fix [#32604] Loop select broken with Clipped view and wireframe
Revision 5e43392 by Keir Mierle (master)
September 20, 2012, 02:27 (GMT)
Fix variable naming in the planar tracker.
Revision 0af0da9 by Keir Mierle (master)
September 20, 2012, 02:10 (GMT)
Add smarter tolerance checking in the planar tracker.

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.
September 20, 2012, 01:32 (GMT)
style cleanup
September 20, 2012, 01:02 (GMT)
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
September 20, 2012, 00:55 (GMT)
code cleanup: c++ - use empty() rather than size(), use prefix operators for non-primitive types - recommended for non primitive types.
September 20, 2012, 00:53 (GMT)
Fix #32596: bones in armature created from skin modifier have wrong envelope
values.
September 20, 2012, 00:39 (GMT)
Fix #32598: clamp blender internal alpha channel to 0..1, and RGB to 0..inf,
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.
September 20, 2012, 00:10 (GMT)
Fix #32601: armature select similar missing from select menu.
September 19, 2012, 23:55 (GMT)
Fix #31888: cycles crashes using movie for image texture. This is not supported
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.
Revision a6f4474 by Keir Mierle (master)
September 19, 2012, 22:25 (GMT)
Detect too-small planar tracking patches.

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.
Revision 8a46b84 by Keir Mierle (master)
September 19, 2012, 22:01 (GMT)
Cleanup for when trackers fall out of the search window.

Sergey originally left a TODO() here, but his fix is the correct
one. I removed the TODO and fixed some comment issues.
September 19, 2012, 19:53 (GMT)
Color Management: new generated images had empty color space by default

Now use default byte/float colorspace when creating new image.
September 19, 2012, 19:42 (GMT)
Fixed "cleaning" of some menu labels (those with all the ugly %t/|), wasn't working in all cases.

Also cleaned some old, no more used piece of code.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021