Campbell Barton
54156e2b82
option to disable feather, since its so slow - for interactively editing masks its useful to be able to disable.
...
also rename RNA to 'use_antialiasing'
2012-06-21 12:27:57 +00:00
Campbell Barton
78b2f5df47
svn merge ^/trunk/blender -r48147:48153
2012-06-21 08:07:49 +00:00
Campbell Barton
fae0b2068b
falloff options for dilate/erode feather compo node.
2012-06-21 07:45:41 +00:00
Campbell Barton
063222e8c9
svn merge ^/trunk/blender -r48133:48140
2012-06-20 21:11:57 +00:00
Monique Dewanchand
82bad4bd6c
Refactoring of tiles opencl implementation:
...
- Moved methods from NodeOperation to OpenCLDevice
- Added check on Nvidia for local size
2012-06-20 20:05:21 +00:00
Campbell Barton
850d734147
make mask handles draw with an outline - when outline option is enabled.
2012-06-20 18:46:18 +00:00
Campbell Barton
3966f7451d
svn merge ^/trunk/blender -r48129:48133
2012-06-20 17:37:37 +00:00
Campbell Barton
dc7770d1a1
fix for use of 2 uninitialized vars in the tiles compositor.
2012-06-20 17:35:51 +00:00
Campbell Barton
e631cf7062
svn merge ^/trunk/blender -r48119:48129
2012-06-20 17:12:20 +00:00
Jeroen Bakker
bbe3c2946a
* reset OpenCL innerloop size to 32.
2012-06-20 17:04:40 +00:00
Campbell Barton
a744fed46c
style cleanup
2012-06-20 16:43:48 +00:00
Brecht Van Lommel
14e4630afc
Fix crash in compositing nodes with a node group with missing datablock, can
...
happen with library linking and missing files.
2012-06-20 14:57:39 +00:00
Sergey Sharybin
caa337fb44
Workaround for non-updating image editor when viewer node is opened there with view-transform
2012-06-20 12:47:08 +00:00
Campbell Barton
2e913da8e4
svn merge ^/trunk/blender -r48105:48109
2012-06-20 10:03:02 +00:00
Campbell Barton
586f202eac
minor speedup for the glare compositor node
...
- pre calculate the UV dot product
- use image width and height converted to floats in the inner loop.
2012-06-20 08:11:59 +00:00
Campbell Barton
858ad8d725
svn merge ^/trunk/blender -r48078:48105
2012-06-20 07:43:49 +00:00
Sergey Sharybin
1462c2f73e
Added option to witch track position output node value to relative value
...
against initial's track position.
2012-06-19 18:04:40 +00:00
Sergey Sharybin
a8f23a96a4
KeyingScreen would now deal properly with clips with Start Frame != 1
2012-06-19 17:57:51 +00:00
Sergey Sharybin
72e170d67a
Implementation of node for track position input
2012-06-19 17:29:58 +00:00
Jeroen Bakker
7f2d1c01cd
Implemented Preview of defocus to set the quality of the node to Low
...
increased the inner loop of opencl
2012-06-19 13:52:41 +00:00
Campbell Barton
cf2ae76347
fix for uninitialized memory use in the new compositor.
2012-06-19 13:20:06 +00:00
Jeroen Bakker
bb7b8bed8a
* fixed defocus background blurin...
2012-06-19 09:52:52 +00:00
Jeroen Bakker
340489d29f
* Fixed brightness (was introduced by optimalization)
...
* added threshold functionality
still have to fix the background bleeding. not sure why it happens.
needs some revisites.
2012-06-19 08:48:45 +00:00
Jeroen Bakker
77dde3db08
* Enabled OpenCL for the compositor
...
Tested on:
- Windows32 ATI V5800
- Linux64 GTX360M
- Linux64 Quadro FX360M
The ATI is much more stable as the Nvidia platforms. We have tested
a different scheduling that will speed up for AMD (not checked in yet)
It compiles on all platforms, but fails on our MAC book Pro.
Black lines are produced on the top of a opencl workgroup.
By using localworksize we were able to remove these lines, but
are not satisfied at this solution (so will not check this in yet).
Please everyone check if it works on your configuration and add
Bugs when needed.
To test you need to add a BokehBlur to your scene and enable the
OpenCL flag in the property panel.
2012-06-18 21:20:11 +00:00
Lukas Toenne
0d89607899
Fix #31740 , compositor overwrites images on frame scrubbing. Restored old compositor behavior which only saves images when doing an actual rendering (this was not implemented in Tile yet).
2012-06-18 16:23:16 +00:00
Campbell Barton
f5f25b81e8
style cleanup:
...
also fix for building ghost test and fix double free in one of the tests
2012-06-17 09:58:26 +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
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
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
570cc70772
style cleanup: compositor operations
2012-06-15 18:42:03 +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
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
Campbell Barton
f04546018f
style cleanup
2012-06-15 14:45:49 +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
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
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
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
Campbell Barton
46ea5670db
scale node - framing offset: compatible with camera shiftX/Y and the viewport option.
2012-06-15 07:50:27 +00:00