- Lens Distortion Plugin Kit v2.12.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 or to explore the properties of the lens distortion models.
Features
- Ready-to-use 3DE4 lens distortion plugins for Nuke
- 3DE4 export scripts for Nuke and Autodesk Flame
- Source code and mathematical description of lens distortion models
- Python bindings for lens distortion models
The following combinations of Nuke version and platform are supported:
- Linux: Nuke 12.0, 12.1, 12.2, 13.0, 13.1, 13.2, 14.0, 14.1, 15.0, 15.1
- Windows: Nuke 12.0, 12.1, 12.2, 13.0, 13.1, 13.2, 14.0, 14.1, 15.0, 15.1
- macOS/Intel: Nuke 12.0, 12.1, 12.2, 13.0, 13.1, 13.2, 14.0, 14.1, 15.0, 15.1
- macOS/Arm: Nuke 15.0, 15.1
The LDPK now supports the current release of Nuke Indie!
Python bindings are available for the following versions:
- Linux: Python 3.8, 3.9, 3.10, 3.11, 3.12
- Windows: Python 3.8, 3.9, 3.10, 3.11, 3.12
- macOS/arm64: Python 3.8, 3.9, 3.10, 3.11, 3.12
For futher information please see the documentation in folder
$LDPK > doc > cdml > ldpk > html > ldpk.xhtml.
Installation Instructions Nuke plugins
1. Extract archive ldpk-2.12.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_Standard_Degree_6
- LD_3DE4_Anamorphic_Rescaled_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_Standard_Degree_6", "nuke.createNode('LD_3DE4_Anamorphic_Standard_Degree_6')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Anamorphic_Rescaled_Degree_6", "nuke.createNode('LD_3DE4_Anamorphic_Rescaled_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_Standard_Degree_6", "nuke.createNode('LD_3DE4_Anamorphic_Standard_Degree_6')")
nuke.menu("Nodes").addCommand("3DE4/LD_3DE4_Anamorphic_Rescaled_Degree_6", "nuke.createNode('LD_3DE4_Anamorphic_Rescaled_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')")