Create an oil painted image.
More...
#include <ProceduralTextureModifiers.h>
Create an oil painted image.
Combine similar pixels to a small group which gives the effect of an oil painted picture.
Example:
◆ OilPaint()
Default constructor.
- Parameters
-
pBuffer | Image buffer where to modify the image. |
◆ getName()
Get name of the filter as string.
◆ logMsg()
void Procedural::TextureProcessing::logMsg |
( |
Ogre::String |
msg | ) |
|
|
protectedinherited |
◆ process()
◆ setIntensity()
Set intensity for painting.
- Parameters
-
intensity | New intensity factor which affects brush size (default 20.0) |
◆ setLog()
void Procedural::TextureProcessing::setLog |
( |
bool |
enable = true | ) |
|
|
inherited |
Enable/Disable logging.
- Parameters
-
enable | true enables logging of filter actions |
◆ setRadius()
Set radius size for calculation.
- Parameters
-
radius | New radius for detection arround current pixel [3, 255] (default 3) |
◆ mBuffer
◆ mLog
bool Procedural::TextureProcessing::mLog |
|
protectedinherited |
◆ mName
The documentation for this class was generated from the following file:
- ProceduralTextureModifiers.h
class to store image data while processing
Definition: ProceduralTextureBuffer.h:50