Sergey Sharybin
2ada3512a2
Compositor: Code cleanup, prepare for strict C++ flags
2015-03-27 18:23:31 +05:00
Campbell Barton
d1b1d194dc
Fix for half pixel offset rasterizing masks
2014-04-16 23:25:10 +10:00
Campbell Barton
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
Campbell Barton
c1c26c36f6
Style Cleanup: remove preprocessor indentation (updated wiki style guide too)
2013-12-22 14:12:19 +11:00
Lukas Tönne
c566e408e4
Cleanup: Renamed compositor executePixel functions and their 'read' wrappers in SocketReader.
...
Distinguish the 3 different methods for acquiring pixel color values (executePixel, executePixelSampled, executePixelFiltered).
This makes it easier to keep track of the different sampling methods (and works nicer with IDEs that do code parsing).
Differential Revision: http://developer.blender.org/D7
2013-11-19 11:06:16 +01:00
Campbell Barton
3b91a77c7d
code cleanup: typo in function name
2013-11-04 11:27:11 +00:00
Sergey Sharybin
8f747c4923
Code cleanup: use bool instead of int in mask module
2013-10-29 18:46:45 +00:00
Campbell Barton
27e54f4d37
code cleanup: remove redundant casts. quiet some qualifier warnings.
2012-10-14 07:40:16 +00:00
Campbell Barton
883117077b
fix for 2 crashes freeing masks
...
- freeing a mask from RNA BKE_libblock_free() twice on the mask.
- loading a new blend file would only free the mask and not unlink it from nodes - it would access freed memory.
2012-09-14 01:15:08 +00:00
Campbell Barton
94a3945cf9
code cleanup: compositor - define size for executePixel function output float array
2012-08-10 14:07:24 +00:00
Campbell Barton
e877247789
use define for bokeh blur size, also define size of determineResolution args.
2012-08-10 13:23:31 +00:00
Sergey Sharybin
52b4b49059
Code cleanup: Remove unused includes of DNA_scene_types.
2012-08-01 14:48:51 +00:00
Campbell Barton
4c02549d5d
remove references to raskter from compositor and BKE mask.
2012-07-31 16:04:47 +00:00
Campbell Barton
b8d96bc011
mask motion blur shutter option
2012-07-27 10:20:36 +00:00
Campbell Barton
b10a35a9a9
motion blur for mask node:
...
TODO
- add shutter speed option
- add blur option
2012-07-27 09:32:47 +00:00
Campbell Barton
733edf8628
option to use manual size input for scene
2012-07-26 13:29:38 +00:00
Jeroen Bakker
579a4a02a5
Possible fix for [ #32141 ] Crash when using a mask as the factor input
...
for a color combine (mix) node with render resolution at 100%
Seems to be that the MaskNode has been created as a complex node. But no
complex features were used. Converted the execute pixel to simple
execution. And it sees that the crash does not happen.
Not sure if it is the issue is solved. I am going to let the user retest
with this revision.
2012-07-19 17:28:37 +00:00
Campbell Barton
a2e2489f61
correct own naming error BLI -> BKE
2012-07-16 08:53:11 +00:00
Campbell Barton
a5e6d73d41
fix for crash with new rasterizer
2012-07-13 12:55:30 +00:00
Jeroen Bakker
9987a8fca7
Removed parameter from executePixel and initializeTileData.
2012-07-13 12:24:42 +00:00
Campbell Barton
8ce53a2a98
new mask rasterizer written to take advantage of the compositors threading, mostly functional but disabled by default (still a little wip).
2012-07-12 20:10:41 +00:00
Sergey Sharybin
facc2429ab
Mask node: create a copy of layers to be rasterized in initExecution
...
This creates a list of splines to be rasterized in nitExecution which
is being called from main thread. This should resolve possible threading
issues discovered in tomato branch.
2012-07-04 07:10:23 +00:00
Campbell Barton
6a1d82490e
use m_ prefix for compositor class members (all compositor operations).
2012-06-26 01:22:05 +00:00
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
570cc70772
style cleanup: compositor operations
2012-06-15 18:42:03 +00:00
Peter Larabell
ceffc2cd50
add Anti-Aliasing (very rough draft algorithm, NOT FINAL version) to raskter lib. Code is still quite messy but will be replaced when final algo comes in anyway.
2012-06-13 19:57:23 +00:00
Jeroen Bakker
be1b5f82ce
* optimized threading
...
* break out with glare node
* Added OpenCL kernels compatible with AMD still need some testing.
2012-06-13 12:34:56 +00:00
Campbell Barton
16dededdf3
remove input socket of mask node, this wasnt used.
2012-06-12 18:36:49 +00:00
Campbell Barton
bdf9e02346
new sequence strip type for masks.
2012-06-07 18:24:36 +00:00
Campbell Barton
489fa2d108
remaining mask files from tomato. these wont get svn history carried over.
2012-06-04 15:49:58 +00:00