Lens Sim

Håvard Dalen in Rendering


Black render view?
The OSL camera shaders in Blender only works when rendering on CPU or Nvidia OptiX GPU's, if you get a black render view make sure to enable OptiX in the rendering preferences or switch to CPU rendering.
Does it work on other GPU's than Nvidia OptiX?
No, the OSL camera shaders in Blender only work when rendering on CPU or Nvidia OptiX GPU's. Lucas stockner (lead OSL camera shader developer in Blender) was talking about Hip/CYCL/Metal support for the OSL cameras at the recent blender conference (https://youtu.be/FT_AiNSHpDQ?t=2296), and it seems like it's not going to happen anytime soon.
Does work on Blender versions older than 4.5?

No. The newest Lens Sim versions (v3.#.#) uses OSL camera shaders that were introduced in Blender 4.5, currently NVIDIA OptiX GPU's or CPU rendering in Cycles.

You can still download the v2.#.#-LTS version that uses an older setup, works with Blender 4.2(+) and is compatible on all GPU's that can render in Cycles, but it is slower to render. I will maintain it and fix crucial bugs, but it will will no longer receive any new features.

Does it support multiple cameras?
Yes. The lens rendering setup is added per camera, so you can have as many cameras as you want to.
Can I create my own lenses?
Yes. Lens Sim (Full version) is designed to allow you to create and share your your own lenses. All lenses included in the addon was implemented directly in Lens Sim.
Will it render slower than the standard camera?
Yes. Read the Render times section in the documentation for a more detailed assessment.
Will it work with other addons?

Probably? Lens Sim uses OSL camera shaders and custom parameters to render and control the lenses, so setups that rely on changing specific camera parameters might not work. Focusing parameters are the same as the standard focusing parameters, so addons that edit the focusing parameters will work as normal.

Can it render lens flares?

No. The current system only allows for rays to be traced from the camera and out the lens, not inwards.

I've done some promising tests on generating lens flares, but so far it's just a prototype and there is a lot of work left before I can consider including it in a product.

Does it work with a render farm?

Yes. The python panel is only there to make it easy to use and alter the custom lens parameters, once a lens is created it does not need the addon to work.

Make sure to include all textures used in your lens setup before submitting to a render farm. Also make sure your render farm supports rendering with the OSL camera shaders that were introduced in Blender 4.5.

Does it work in Eevee or Octane?

No. It currently only works in Cycles, Blender 4.5(+).

However, support for Octane will come in the next update.

  • (Full version: all features and lenses)

    $40
  • (Basic features and limited lenses)

    $15
$40

Have questions about this product?
Login to message

Details
Blender Extension Compatible Yes
Sales 7400+
Rating
71 ratings
Dev Fund Contributor
Published almost 2 years ago
Blender Version 4.5 - 5.1
Extension Type Add-on
Render Engine Used Cycles
License GPL