# VFB/Lens effects and animations

**URL:** <https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910>\
**Category:** Requests\
**Created:** [October 10, 2019, 8:41am UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910 "2019-10-10T08:41:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![MF\_Danny](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mf_danny/32/55403_2.png) [@MF\_Danny](https://forums.chaos.com/u/MF_Danny)\
**Post date:** [October 10, 2019, 8:41am UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/1 "2019-10-10T08:41:05Z")

</div>

Having the ability to load an animation into the frame buffer and adjusting the lens effects/colour corrections and then to re-save - with version control. Would be rather useful 😄

Cheers,  
Danny

---

<div class="post-metadata">

**Author:** ![Zdravko.Keremidchiev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/zdravko.keremidchiev/32/48745_2.png) [@Zdravko.Keremidchiev](https://forums.chaos.com/u/Zdravko.Keremidchiev)\
**Post date:** [October 25, 2019, 2:41pm UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/2 "2019-10-25T14:41:07Z")

</div>

You can do that now. First, you need to set the desired Lens effect preset in the VFB, then save it as a preset (.vle) and feed it to the vdenoise.exe tool in the cmd. To load it there you need to use -lensEffectsParams= option. You can load animation there so the lens effect will apply to all the frames of the animation sequence.

---

<div class="post-metadata">

**Author:** ![MF\_Danny](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mf_danny/32/55403_2.png) [@MF\_Danny](https://forums.chaos.com/u/MF_Danny)\
**Post date:** [November 1, 2019, 5:35pm UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/3 "2019-11-01T17:35:03Z")

</div>

@Zdravko.Keremidchiev cool! Thanks for the info

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [November 26, 2019, 8:32pm UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/4 "2019-11-26T20:32:41Z")

</div>

If you’re using Nuke for compositing, you can also use our free Lens Effects Nuke plugin [V-Ray Tools](https://docs.chaosgroup.com/display/VRAY4TOOLS/Misc+Tools)

---

<div class="post-metadata">

**Author:** ![MF\_Danny](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mf_danny/32/55403_2.png) [@MF\_Danny](https://forums.chaos.com/u/MF_Danny)\
**Post date:** [November 27, 2019, 9:06am UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/5 "2019-11-27T09:06:38Z")

</div>

@yolov ah we use Resolve/Fusion… Any chance you guys could build those tools for fusion? 😉

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [November 27, 2019, 9:53am UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/6 "2019-11-27T09:53:26Z")

</div>

Not for the moment, no. But there has been requests.

---

<div class="post-metadata">

**Author:** ![leo.surrealismo](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/leo.surrealismo/32/26139_2.png) [@leo.surrealismo](https://forums.chaos.com/u/leo.surrealismo)\
**Post date:** [November 27, 2019, 12:59pm UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/7 "2019-11-27T12:59:38Z")

</div>

is this possible on 3dsmax ? using denoiser tool?

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [November 27, 2019, 6:37pm UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/8 "2019-11-27T18:37:29Z")

</div>

> [@leo.surrealismo](#):
>
> is this possible on 3dsmax ? using denoiser tool?

If you’re referring to the workflow where you save your preset from the VFB and use it together with the denoiser tool to apply lens effects, then yes. Any V-Ray supported application with a VFB will support it, as long as you use the denoiser that comes with your V-Ray installation (for compatibility and as a rule of thumb).

---

<div class="post-metadata">

**Author:** ![leo.surrealismo](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/leo.surrealismo/32/26139_2.png) [@leo.surrealismo](https://forums.chaos.com/u/leo.surrealismo)\
**Post date:** [November 27, 2019, 7:55pm UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/9 "2019-11-27T19:55:44Z")

</div>

yes, that workflow, but I don´t see on this menu, where to load the .vle file. see attached.

 ![vdenoise.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/d/5/d55c698068fbc284b586e5085430fdc3bb197b27.jpeg)

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [November 29, 2019, 9:57am UTC](https://forums.chaos.com/t/vfb-lens-effects-and-animations/95910/10 "2019-11-29T09:57:54Z")

</div>

It appears that this is only available when using the command line, I’ll make a note to include it in the UI as well.

Here’s how to do it from the command line: [https://docs.chaosgroup.com/display/…mmandLineUsage](https://docs.chaosgroup.com/display/VRAY4MAX/Denoiser+Tool#DenoiserTool-CommandLineUsage)

In short:

1. Locate the standalone denoiser executable. By default it should be _C:\Program Files\Chaos Group\*\*V-Ray\3ds Max 201X\bin_  
2. open a windows command prompt (windows start menu \> type “cmd” \> enter)  
3. Run the executable from the command line with the following command

```auto

"C:\Program Files\Chaos Group\V-Ray\3ds Max 2019\bin\vdenoise.exe" -unputFile=<your_input_file> -lensEffectsParams=<path_to_the_vle_file> -useGPU=2

```

Example for 3ds max 2019, where the input file is “C:\images\myImage.0001.exr” and my lens effects preset is “C:\presets\lenseffects.vle”. My input image will be an animation with frames 1-100.

```auto

"C:\Program Files\Chaos Group\V-Ray\3ds Max 2019\bin\vdenoise.exe" -unputFile=C:\images\myImage.????.exr -lensEffectsParams=C:\presets\lenseffects.vle -useGPU=2

```

Note that unless you add -useGPU=2, processing will run on the CPU and will be slower. The value of 2 means all GPU devices.
