Commit Graph

49420 Commits

Author SHA1 Message Date
Tamito Kajiyama
fa375f0def Fixed a typo. 2012-06-16 21:23:54 +00:00
Tamito Kajiyama
742e180a76 Fix for NaN's in the Z component of projected points by SilhouetteGeomEngine::ProjectSilhouette().
This issue arises when the Z depth of the bounding box of the scene being rendered is zero.
2012-06-16 21:15:50 +00:00
Campbell Barton
b5b8306685 code cleanup: includes, also correct some py example typos 2012-06-16 20:20:07 +00:00
Campbell Barton
e6a43441b9 disable GaussianAlpha from attempting to get a non existing socket - and add an assert if this is attempted. 2012-06-16 19:34:38 +00:00
Campbell Barton
42d0e34fac style cleanup 2012-06-16 16:57:16 +00:00
Campbell Barton
cf6aefcce6 shrink the object struct 8 bytes - remove unused ctime variable. 2012-06-16 16:50:23 +00:00
Campbell Barton
103f665c59 code cleanup: make names more logical 2012-06-16 15:51:52 +00:00
Campbell Barton
4dacad06a9 code cleanup: spelling 'multiplyer' --> 'multiplier' 2012-06-16 15:32:18 +00:00
Campbell Barton
392b3a78e2 use ease interpolation for dilate/erode feather option, looks smoother 2012-06-16 15:15:05 +00:00
Campbell Barton
6fc277c410 support for negative feather dilate/erode 2012-06-16 14:40:16 +00:00
Campbell Barton
e946fa443b fix for errors in last commit (dilate/erode has no input) 2012-06-16 14:11:30 +00:00
Joshua Leung
f6ab6514a3 Bugfix [#31843] Inserting of visual keys for Damped Track constraint broken 2012-06-16 13:51:18 +00:00
Campbell Barton
265262a5d5 feather option for dilate/erode node - needed for alpha masks so we can (blur in/out), currently only positive values supported. 2012-06-16 13:46:20 +00:00
Campbell Barton
2f29f8d186 speedup for fast gauss blue (approx 10% - 15%)
- get the image width and height once rather then calculating on every access (was doing min/max subtract).
- use unsigned int's - faster for looping.
2012-06-16 09:52:38 +00:00
Campbell Barton
250e919b7c style cleanup 2012-06-16 09:18:00 +00:00
Campbell Barton
664c95d1eb code cleanup: collada
- when bubble sorting names - dont convert to str::string just to compare strings
- use BLI_linklist_index() to check if an item is in the list
- quiet some warnings
2012-06-16 09:16:24 +00:00
Tamito Kajiyama
004e38a44e Merged changes in the trunk up to revision 47977. 2012-06-15 22:18:25 +00:00
Gaia Clary
9f6a66d5f9 Collada: (Exporter) Add new option 'deform bones only' 2012-06-15 22:00:25 +00:00
Campbell Barton
a2d4fddfd3 fix for running blender as a python module - dont parse args from python. 2012-06-15 21:19:05 +00:00
Campbell Barton
570cc70772 style cleanup: compositor operations 2012-06-15 18:42:03 +00:00
Sergey Sharybin
8fd2267e56 Changed behavior of how pattern is controlling by mouse:
- Removed scaling option which used to be Ctrl+Slide of individual
  pattern corner.
- Added extra rectangle area which is being drawing around pattern
  and which supports the following things:

  * Slide by it's left upper corner would define offset of marker
  * Slide by it's right bottom corner would scale overall pattern

- Added extra handle which is drawing from pattern center and which
  is being used to define scale and rotation of pattern area.
2012-06-15 18:31:46 +00:00
Campbell Barton
cde4d72848 style cleanup: more nodes 2012-06-15 17:57:39 +00:00
Campbell Barton
687b6e5447 style cleanup: remaining nodes in intern/ 2012-06-15 17:41:12 +00:00
Sergey Sharybin
5a9285a5c9 Reshuffle code in tracking marker's slide operator, should be
easier to follow the code now.
y
2012-06-15 16:07:33 +00:00
Sergey Sharybin
4b8c51d493 Remove unused code and correct comment for track mask AA
Tip: XXX should be used for such kind of crap which is bad for release
     disabled AA for mask is not such a case.
2012-06-15 16:07:23 +00:00
Campbell Barton
927fc897cf minor optimizations for dilate 2012-06-15 15:55:37 +00:00
Campbell Barton
2ca89f7add style cleanup 2012-06-15 15:04:56 +00:00
Brecht Van Lommel
77ec3ae9d1 Fix more of #31789: cycles border render going out of view giving wrong result. 2012-06-15 15:01:32 +00:00
Sergey Sharybin
471627ba96 Commit current patch needed for color pipeline investigation in Mango Project
This commit simply adds view transform option for image editor. This transform
is being applied on original linear color when float buffer is being converted
into sRGB byte buffer.

Currently supports such transformations:
- ACES ODT ToneCurve transform which shall preserve color ranges on such
  a conversion.
- OCIO Raw, Log and RRT view transforms

This commit also contains integration of OCIO backends to Blender, so
now there's c-api and configuration file. Most of things were got from
branch where Xavier Thomas and Lukas Toene were working.

NOTE:
This is just for testing our pipeline, please do not bother me with messages
it's done wrong. It is done correct to support our own pipeline for now, and
real design would be created later when current stoppers for the project are
gone.
2012-06-15 15:00:51 +00:00
Campbell Barton
05153fb08d svn merge ^/trunk/blender -r47958:47961 2012-06-15 14:47:34 +00:00
Campbell Barton
f04546018f style cleanup 2012-06-15 14:45:49 +00:00
Campbell Barton
4f80c3464f fix for building without libmv 2012-06-15 14:40:01 +00:00
Sergey Sharybin
64884f557d Merging r47949 through r47958 from trunk into soc-2011-tomato 2012-06-15 14:28:44 +00:00
Sergey Sharybin
40a726e048 Code deduplicaiton in motion tracking slide operator 2012-06-15 14:26:27 +00:00
Sergey Sharybin
b52c2f2bed Style cleanup 2012-06-15 14:11:23 +00:00
Sergey Sharybin
fb278a501e Ensure enums in DNA files has got explicit values
See http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Macros.2C_Enums.2C_Inline_functions
2012-06-15 14:11:05 +00:00
Campbell Barton
e11692bc73 fix for other uninitialized values for the split viewer node as well as incorrect frees for gaussian blue nodes. 2012-06-15 13:56:54 +00:00
Campbell Barton
d0ebb1df57 fix for using un-initialized memory in the new compositor for the split view node. 2012-06-15 13:35:24 +00:00
Sergey Sharybin
6f529c9e43 Merging r47895 through r47948 from trunk into soc-2011-tomato 2012-06-15 12:29:20 +00:00
Sergey Sharybin
82473f67b3 Core matte input for keying node
This matte could be used to force alpha be at high values in areas where
algorithm detects it as edge or background color.
2012-06-15 11:53:51 +00:00
Sergey Sharybin
fa3dd67b42 Fix potential memory leak in marker sliding operator 2012-06-15 11:42:09 +00:00
Sergey Sharybin
be3c12b75b Move selection operators of Clip Editor into their own file 2012-06-15 11:40:04 +00:00
Sergey Sharybin
8da0a03774 2D stabilization didn't work since clip start frame commit 2012-06-15 11:15:48 +00:00
Sergey Sharybin
f0c724219d Internal refactoring of tracking module, should be no functional changes
- Re-arrange functions in headers and implementation file to make them
  more grouped by entity they're operating with. Also order of functions
  in implementation file should match order of functions in header for
  easier navigation.

- Rename some functions to match conventions of naming public functions.
- Some code de-duplication, still some room for improvements tho.
- Split main 2D tracking functions into smaller steps to make it more clear.

Accidentally OpenMP was disabled in some of previous commits, re-enable it.
2012-06-15 11:03:23 +00:00
Campbell Barton
ec755bdfa7 style cleanup: composite/blur 2012-06-15 09:58:52 +00:00
Gaia Clary
3264db3797 Collada (Exporter) improved export panel layout minor code cleanup 2012-06-15 09:56:06 +00:00
Gaia Clary
e95e2419f8 Collada (Exporter) improved export panel layout 2012-06-15 09:51:27 +00:00
Campbell Barton
35d1a1cbd8 fix for own mistake - sampling was adjusting alpha when it shouldn't, also make spacebar reset the accumulated color while eyedropping. 2012-06-15 08:33:33 +00:00
Sergey Sharybin
c9f1477fb0 Garbage mate input for keying node
This adds garbage matte input to new keying node which is used to
force occluding things which can not be eliminated by color operations.

White areas defines areas which should be removed from final result.
2012-06-15 08:26:49 +00:00
Campbell Barton
9c55e7b995 add node scale offset for old compositor too - also fix for error in last commit. 2012-06-15 08:01:41 +00:00