baltort wrote: noisyboyuk wrote:
This is awesome! Do you know if there is an anamorphic lens OSL script anywhere or whether this could be adapted as such?
Anamorphic lenses... Interesting. I think you could create this effect in native lightwave just by changing the aspect parameter on the camera, but this appears to be ignored by Octane.
What's the appeal of anamorphic lenses? I think the main visual effect is that a wide image is squeezed onto a narrower negative. When this is then stretched back out during projection any optical effects that happen within the lens are stretched too; bokeh and lens flairs become stretched horizontally. I think this is conceptually the same as having an elliptical aperture in the camera. Is that what you're trying to create? Fairly straight forward in OSL.
Thanks for your response
The appeal of Anamorphic lenses their look I suppose. Bokeh is easy enough in most render engines, in fact Octane does this better than most out the box as it's really easy to change the rapture aspect ratio per camera (as opposed to the whole scene file).
The thing I was really hoping for though was the distortion. that comes with an anamorphic lens. That's a big part of what gives anamorphic footage that lovely cinematic feel (in addition to many other parameters) which is why I thought this great fisheye script could be adapted to do just that.
Most of the time you would just apply distortion to your CG before compositing back into a plate but that's always going to be a destructive process. as it's stretching pixels.
I think ultimately I just wonder how far one might be able to take a CG anamorphic lens with OSL. Being able to capture not only the bokeh but also the aperture diffraction and lens distortion (and for extra points, the way that distortion is applied in 3D, not just stretching a 2D image) I would thing could might make for a really pleasant camera set up for CG. It's crazy how much of an impact all those tiny imperceptible subtitles can have when summed together