VirtualLens

Virtual Lens is a tool that simulates the effects and defects of light traveling through a lens.

Updated: 31 August 2023

Author: florianlorber

Compatible Nuke versions: 11.0 or later

Compatibility: Linux, Mac, Windows

                                                                                                       virtual lens node

 

Virtual Lens is a tool that simulates the effects and defects of light traveling through a lens.

 

v1.5

Tested for Nuke 14.0. Removed Lateral Chromatic Aberration. Small enhancements and fixes.

v1.3

Fixed the 12.1 nuke version blinkscript issue.

v1.2

Removed versioning of the header to avoid errors on earlier versions of nuke. Tested on nukex 10.5 v2.

Added a black clamp to avoid producing nan values when giving negative values in input.

v1.1

Error fixes and optimization. Added a falloff to astigmatism for smoother results.

 

This tool includes the following features :

  • Haze
    • not a proper in-camera effect but I like it and decided to add it with
  • Spherical Aberration
  • Axial Chromatic Aberration
  • Lateral Chromatic Aberration
    • there's already plenty tools for it so I just picked my favorite one ( i.e. Chromatik by spinvfx and Erwan Leroy )
  • Astigmatism
  • Diffraction Glow
  • Veiling Glare
  • Vignette
  • Halation
    • includes a pretty useful feature that allows to generate halation relatively to the highlights size

 

Supports non-square pixel format.

 

Some example with every filters on :

 

example 03

 example 01

example 02

 

 

 

 

Let me know if you encounter problems or if you think of something to change/add !

 

 

Sign in or register to download or rate.