VirtualLens v1.6


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Florian Lorber
Virtual Lens is a tool that simulates the effects and defects of light traveling through a lens.
Requirements:
14.0, 13.2, 13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11 or later
Linux, Mac, Windows
30 Aug 2023
3333

                                                                                                       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 !

 

 

Please login in order to download these files.

Comments   

 
0 # Pranjal choudhary 2020-08-05 23:48
Interesting. I am getting black after I plug the node.
 
 
0 # Florian Lorber 2020-08-06 11:44
Hi Pranjal. Thanks for your feedback. Could you be more specific please? You're getting a black output without turning any feature on? Is there any chance you've had some negative or nan values in your input?
 
 
0 # Comper L.A. 2020-08-06 23:30
Getting all sort of errors when importing the gizmo in nuke

fl_VirtualLens.gizmo:
Group1.Transform8.filter: Bad value for filter : impulse
Group1.Transform10.filter: Bad value for filter : impulse
Group1.Transform11.filter: Bad value for filter : impulse
 
 
0 # Florian Lorber 2020-08-07 09:43
Thanks for warning me of this. I've updated VirtualLens to v1.2 . Let me know how it works for you now.
 
 
0 # Octavio Mancilla 2020-08-07 05:24
Hi Florian! Nuke 10.5v6 here. Couldn't try the gizmo, the program crashes as soon as I load it.
 
 
0 # Florian Lorber 2020-08-07 09:43
Thanks for warning me of this Octavio. I've updated VirtualLens to v1.2, tested on nukex 10.5v2. Let me know how it works for you now.
 
 
0 # Brian Thompson 2020-08-31 16:41
Hi Florian, thanks for putting this together! Great to have so many lens effects in a single node.

This isn't necessarily your problem to fix, but I wanted to let you know that the Chromatik gizmo gives a BlinkScript error in Nuke 12.1v1 and makes the Lateral Chromatic Aberration unusable.
 
 
+1 # Florian Lorber 2020-08-31 17:08
Hi Brian, thanks for reporting me this. That's unfortunate. It is very specific to that version of Nuke, since I've tested VirtualLens and Chromatik on 12.2v1 without any problems. The 12.1v1 release is known to have a lot of issues with blinkscript. Hope you'll be able to test it on another version soon !
 
 
0 # Florian Lorber 2020-08-31 17:18
Anyway, I'll check this out and try to fix it. Stay tuned
 
 
0 # Florian Lorber 2020-08-31 17:38
Problem already solved. I'll update to v1.3 with those fixes soon. Thanks Brian
 
 
+2 # Harvey Indie 2020-09-01 14:09
Thanks for your gizmo! Unfortunately, I got a popup with 'blank error message' preventing me using the gizmo.
Do you have any workaround for this?

Nuke 12.0v7 Win10
 
 
0 # Oliver Banasiak 2021-11-22 17:11
This is my most favourite gizmo on the entire nukepedia database. Love it. Just updated to Nuke Indie 13 and the gizmo seems to freeze the program. Nuke Indie should work fine with it since the restrictions are none when compared to regular NukeX. Thanks for looking into it if you have the time, cheers!
 
 
0 # Florian Lorber 2021-11-26 11:49
Thanks Oliver, much appreciated. As soon as I get some spare time I'll look at this. I'll keep you posted about the update ;)
 
 
+1 # Oliver Banasiak 2022-01-22 13:55
That would be awesome! :) Right now I get this error:

Unsupported Matte Mode
Unsupported Matte tidy mode

and then it freezes and tries to resolve I guess and then it crashes! :)
 
 
0 # Laurent Reynaud 2021-12-21 14:46
I'm getting a blank error message when loading the node, using nuke 13.1v1
 

You have no rights to post comments

We have 5183 guests and 82 members online