SockHungryClutz / KritaVFX

Visual Effects Plugin for Krita 4
23 stars 0 forks source link

Visual Effects (VFX) Plugin - Krita 4/5

Plugin to apply a host of different visual effects seen in post-processing

(Example and descriptive pictures coming eventually!)

Includes the following effects:

Supports the following color modes and depths:

How to Install

  1. Open Krita, go to Settings->Manage Resources...->Open Resource Folder
  2. Open the pykrita folder inside the folder that pops up
  3. Download this repository and save the files and folders exactly as they are to the pykrita folder
  4. Close and reopen Krita
  5. Go to Settings->Configure Krita->Python Plugin Manager
  6. Scroll down and enable VFX, click OK to save
  7. Close and reopen Krita again

How to Use

With an open document active, select a layer you want to apply the effect to, then click Tools->Scripts->VFX - (...)
This will pop open a window with options to control the effect before applying

Common Settings:

Once the effect is applied it will be placed on a new layer as a modified clone of the previously selected layer, the original layer is preserved.

Use the Help button to see a more descriptive explination of each option.

Planned Features

All listed below are planned to be added to this plugin at some point, no definitive time table or order yet. Check back regularly if you are interested in one or more of these features being added:

Extra Notes

This plugin relies on a shared C library for speeding up the computationally expensive parts. The source code for the C libraries is included in the VFX/src folder. The main releases have been pre-compiled for 64 bit versions of MacOS, Windows, and Linux (Ubuntu). It is recommended that you use the 64 bit version of Krita for your system. The source code can be compiled using gcc and the below commands:

gcc -shared -m32 -Ofast -o VFXLib_32.so -fPIC VFXWrapper.c LensDirt.c LensFlare.c HighPass.c ChromaticAberration.c Utils.c
gcc -shared -Ofast -o VFXLib_64.so -fPIC VFXWrapper.c LensDirt.c LensFlare.c HighPass.c ChromaticAberration.c Utils.c