From ceffc2cd50ea1e35757c8834b83b1d55f93d88c6 Mon Sep 17 00:00:00 2001 From: Peter Larabell Date: Wed, 13 Jun 2012 19:57:23 +0000 Subject: 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. --- source/blender/compositor/operations/COM_MaskOperation.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/compositor/operations/COM_MaskOperation.h') diff --git a/source/blender/compositor/operations/COM_MaskOperation.h b/source/blender/compositor/operations/COM_MaskOperation.h index 9f2c7f53f56..8534cb20416 100644 --- a/source/blender/compositor/operations/COM_MaskOperation.h +++ b/source/blender/compositor/operations/COM_MaskOperation.h @@ -40,6 +40,7 @@ protected: int maskWidth; int maskHeight; int framenumber; + bool smooth; float *rasterizedMask; /** @@ -59,6 +60,7 @@ public: void setMaskWidth(int width) {this->maskWidth = width;} void setMaskHeight(int height) {this->maskHeight = height;} void setFramenumber(int framenumber) {this->framenumber = framenumber;} + void setSmooth(bool smooth) {this->smooth = smooth;} void executePixel(float *color, int x, int y, MemoryBuffer *inputBuffers[], void *data); }; -- cgit v1.2.3