Custom Realistic Lense

Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)
Post Reply
interelectronix
Licensed Customer
Posts: 87
Joined: Fri Sep 22, 2023 9:25 am

Is it possible to build custom Realistic Lens presets ?
skientia
Licensed Customer
Posts: 208
Joined: Tue Mar 12, 2024 1:50 am
Contact:

Lens "bokeh" (out of focus aesthetic) is user-customizable via the Octane's Universal Camera (Thin Lens). Here's an introductory page (under overhaul).

This is a still from the video available on the suggested link. Modern to "vintage" lenses are achievable with solely the Universal Camera.
Image

Furthermore, 2024.1 introduced a new camera designated as "Photographic lenses", the look-controls are near non-existant since it is a hardcoded simplified implementation of real lens optical design / models (the list contains the names).

Project files and assets on the website will be made available for download once updated.
Octane resources
OCTANE POSTS (URLs have changed, which will break some links but all content remains available).
skientia
Licensed Customer
Posts: 208
Joined: Tue Mar 12, 2024 1:50 am
Contact:

In fact, several ORBX files will be made available, the project files with assets as well as a list of virtual cameras / lens presets.
Octane resources
OCTANE POSTS (URLs have changed, which will break some links but all content remains available).
interelectronix
Licensed Customer
Posts: 87
Joined: Fri Sep 22, 2023 9:25 am

Does that mean the Realistic Lense is "only" the Universal camera with predefines presets ?
skientia
Licensed Customer
Posts: 208
Joined: Tue Mar 12, 2024 1:50 am
Contact:

interelectronix wrote: Sun Apr 13, 2025 3:43 pm Does that mean the Realistic Lense is "only" the Universal camera with predefines presets ?
Good question.
Short answer and assumedly, no.

It doesn't appear to be,
until a developer or team member disclose that information,
it is seemingly a manual implementation of the listed reference of distinctive optical designs.

The Universal Camera features (more than) enough options to get close but unlikely to match 1:1 (which, if so, would affirmatively answer the question).

The listed lens references (optical design) are more sophisticated than what the already-impressively-sophisticated Universal Camera options provide.

It's as close as the physical lens it can get,
minus the results of coating + internal reflections (flares, veiling glare, MTF, thus contrast, and other optical properties).

PS: the "Realistic Lenses" feature a "ray-traced" Chromatic Aberration single-slider parameter.
Octane resources
OCTANE POSTS (URLs have changed, which will break some links but all content remains available).
interelectronix
Licensed Customer
Posts: 87
Joined: Fri Sep 22, 2023 9:25 am

I dug a bit in the code and it really looks like the lenses are hardcoded into the binary and no parameters are accessible anywhere.

I was hoping that the final implementation would end up like the lens sim plugin https://superhivemarket.com/products/lens-sim

where you can replicate the lense stackup and you are good. Lense stackups are quite available https://www.photonstophotos.net/General ... lBench.htm

I would also appreciate Otoy build a bit more on the amazing user base. There are so many talented people - like you - that are contributing so much and user generated lenses would be amazing. I don´t get it why they are not tapping into this potential.

I tried to rebuild a few Canon Prime Lenses and the results are nothing to get excited about.

I tried to collect many parameter by ChatGpt but still very early work in progress and nothing is really checked just a very quick test with the 35mm parameters.
The optical vignetting is quite puzzling because it behaves somewhat strange.

Any comments appreciated

PS: Yes I saw the chromatic aberation slider and I love it.

Markdown

| Parameter | EF 24mm f/1.4L II | EF 35mm f/1.4L II | EF 50mm f/1.2L | EF 85mm f/1.2L II | EF 135mm f/2L |
|----------------------------|-------------------|--------------------|----------------|--------------------|----------------|
| Camera Mode | Thin lens | Thin lens | Thin lens | Thin lens | Thin lens |
| Spherical Distortion | 0.00 | 0.00 | 0.05 | 0.08 | 0.00 |
| Barrel Distortion | 0.10 | 0.05 | 0.00 | 0.00 | 0.00 |
| Barrel Distortion Corners | 0.05 | 0.03 | 0.00 | 0.00 | 0.00 |
| Spherical Aberration | 0.08 | 0.05 | 0.10 | 0.12 | 0.04 |
| Coma | 0.04 | 0.02 | 0.05 | 0.07 | 0.01 |
| Astigmatism | 0.02 | 0.01 | 0.02 | 0.04 | 0.01 |
| Field Curvature | 0.10 | 0.08 | 0.05 | 0.06 | 0.02 |
| Autofocus | Yes | Yes | Yes | Yes | Yes |
| Focal Depth | 0.80 | 1.20 | 1.50 | 2.00 | 2.80 |
| Aperture | 0.71 | 0.71 | 0.58 | 0.58 | 0.71 |
| Aperture Aspect Ratio | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| Aperture Shape | Polygonal | Polygonal | Polygonal | Polygonal | Polygonal |
| Aperture Blade Count | 8 | 9 | 8 | 8 | 8 |
| Aperture Edge | 0.90 | 0.85 | 1.00 | 1.00 | 0.95 |
| Aperture Rotation | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| Aperture Roundedness | 0.85 | 0.90 | 0.80 | 0.75 | 0.85 |
| Central Obstruction | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| Notch Position | -1.00 | -1.00 | -1.00 | -1.00 | -1.00 |
| Notch Scale | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 |
| Custom Aperture | None | None | None | None | None |
| Optical Vignette Distance | 0.015 | 0.020 | 0.020 | 0.025 | 0.010 |
| Optical Vignette Scale | 1.10 | 1.03 | 1.20 | 1.30 | 1.10 |
| Split-focus Diopter | Yes | Yes | Yes | Yes | Yes |
| Diopter Focal Depth | 1.05 | 1.10 | 1.12 | 1.15 | 1.20 |
| Diopter Rotation | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| Diopter Translation X | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 |
| Diopter Translation Y | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 |
| Diopter Boundary Width | 0.60 | 0.55 | 0.60 | 0.70 | 0.65 |
| Diopter Boundary Falloff | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| Show Diopter Guide | No | No | No | No | No |
Post Reply

Return to “Blender”