Automatic Lens Flare filter based on image content.
AutoFlare
Updated: 30 November 2012
Author: vinz
Compatible Nuke versions: 6.0 or later
Compatibility: Linux, Mac, Windows
This is an automatic lens flare filter based on image content and values.
Here is a full description and examples : http://vincentwauters.com/programming/autoflare20-for-nuke
It is using simple expressions and convolution filters to create lens flares. Since it is based on image content, there is no position parameters, and therefore no need to track the hotspots in the image.
To install, place the "BOKEH" folder in your ~/.nuke folder (the ".nuke" folder in you home directory, which is usually /home/user/.nuke/ on linux, /Users/username/.nuke/ on mac.)
Put the gizmo somewhere in your NUKEPATH.
Then add something like this to your menu.py :
1 2 |
myMenu = menubar.addMenu("&Autoflare2.2") myMenu.addCommand("AutoFlare 2.2", "nuke.createNode('AutoFlare2')") |
2.2 Update :
I just added Nuke presets (from the little wrench icon on the propertie bar...)
Also, I will ultimately remove the "Presets" Tab to be replaced with the Nuke presets tool.
To install the presets, just copy (or merge) the user_presets.py to your .nuke folder.
I also included a jpg of what the presets look like, but again, you can find that on my website.
If any of you guys are making flares you like, just make a preset of it and send it to me, I'll include it in the next release.
I hope you'll enjoy!
Any comments or questions are welcome!
Vincent.