
- Lens Distortion Plugin Kit v2.0
The Lens Distortion Plugin Kit (LDPK) is a collection of sources, headers, binaries and documents which help you to develop lens distortion plugins for 3DE4 and compositing systems.
Features
- Better performance (especially for non-dynamic lens distortion)
- More alternatives for handling bounding boxes
- Plugins of the five built-in 3DE4 lens distortion models for Nuke
- Source code and mathematical description for the built-in models
- A tool for creating ST maps
- Python Bindings for the built-in models
The following combinations of Nuke version and platform are supported:
- Linux: Nuke 10.0, 10.5, 11.0, 11.1, 11.2, 11.3
- macOS: Nuke 10.0, 10.5, 11.0, 11.1, 11.2, 11.3
- Windows: Nuke 10.0, 10.5, 11.0, 11.1, 11.2, 11.3
For futher information please see the documentation in folder
$LDPK > doc > cdml > ldpk > html > ldpk.xhtml.
Please note: Nuke 11 comes with a new, build-in lens distortion node. If you wish to use this new node instead of LDPK, then this script might be interesting for you!
Installation Instructions Nuke plugins
1. Extract archive ldpk-2.0.tgz
2. Goto folder compiled > nuke.
3. Select folders respective to your OS and Nuke version.
4. Copy following files to Nukes plugin folder:
- LD_3DE4_Anamorphic_Degree_6
- LD_3DE4_Anamorphic_Standard_Degree_4
- LD_3DE4_Anamorphic_Rescaled_Degree_4
- LD_3DE4_Radial_Fisheye_Degree_8
- LD_3DE4_Radial_Standard_Degree_4
- LD_3DE_Classic_LD_Model
5. In order to access LDPK directly from Nukes node menu, edit file menu.py (also in Nuke folder plugins) by adding the following lines:
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Anamorphic_Standard_Degree_4", "nuke.createNode('LD_3DE4_Anamorphic_Standard_Degree_4')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Anamorphic_Rescaled_Degree_4", "nuke.createNode('LD_3DE4_Anamorphic_Rescaled_Degree_4')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Anamorphic_Degree_6", "nuke.createNode('LD_3DE4_Anamorphic_Degree_6')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Radial_Standard_Degree_4", "nuke.createNode('LD_3DE4_Radial_Standard_Degree_4')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Radial_Fisheye_Degree_8", "nuke.createNode('LD_3DE4_Radial_Fisheye_Degree_8')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE_Classic_LD_Model", "nuke.createNode('LD_3DE_Classic_LD_Model')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Anamorphic_Rescaled_Degree_4", "nuke.createNode('LD_3DE4_Anamorphic_Rescaled_Degree_4')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Anamorphic_Degree_6", "nuke.createNode('LD_3DE4_Anamorphic_Degree_6')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Radial_Standard_Degree_4", "nuke.createNode('LD_3DE4_Radial_Standard_Degree_4')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Radial_Fisheye_Degree_8", "nuke.createNode('LD_3DE4_Radial_Fisheye_Degree_8')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE_Classic_LD_Model", "nuke.createNode('LD_3DE_Classic_LD_Model')")
