5 ms·
Hey, thanks for the info. I was looking at https://github.com/quartiq/rayopt https://github.com/quartiq/rayopt (found on HN) earlier. (Check out https://github
by Scene_Cast2 5y ago
Hey, thanks for the info.
I was looking at https://github.com/quartiq/rayopt https://github.com/quartiq/rayopt (found on HN) earlier. (Check out https://github.com/quartiq/rayopt-notebooks https://github.com/quartiq/rayopt-notebooks for examples.) I've also tinkered a bit with Lytro files; they have maybe 8 "angle" samples per "pixel" - not quite enough to do much.
My idea was to try to use something like a privacy filter (blocks some angles of light) inside a lens for the purpose of having a nonlinear bokeh falloff. One of the issues with using something like F1.2 for a portrait is that while the background will be nice and blurry, so will the ear and the nose if you focus on the eyes. But if you're able to set up a "smart aperture" that filters out rays that are just out of focus, and keep the ones that are either perfectly in focus or way out of focus, you'd get a really blurry background while keeping the depth of field workable.
- paulmd 5y agoif you just want to achieve non-linear falloff (that's apodization) then all you need to do is the graduated-density filter I mentioned, with darker edges and a clear center. In principle you could probably expose a negative or laser-print a transparency to your specifications. (laser-printing a negative for direct contact printing is kind of a fun process in general!) the idea of using a polarizing filter (privacy filter) is kind of an interesting one, can't really picture in my head whether or not that would work. I think the answer might be that yes it would probably change the bokeh, but it might also result in uneven illumination across the image or weird color shifts? it would be neat to see what happens though. possibly also of interest: https://en.wikipedia.org/wiki/Photon_sieve https://en.wikipedia.org/wiki/Photon_sieve