|
![](/i/fill.gif) |
> My favourite feature is that you can adjust the lens aperture and focus
> distance. I was just wondering whether you could accurately simulate
> depth of field using path tracing! Now we just need to be able to change
> the focal length of the lens too... (There are also options for
> adjusting the exposure.)
>
> For a camera nerd, this is quite fun! (Well, it beats Nikon's "lens
> simulator", which just shows a static JPEG with variable magnification!)
>
> Sometimes I really wish I knew how to do this stuff for myself...
Follow a tutorial on WebGL - or if you want to skip all the html/js
boilerplate stuff you'll need to know, go straight to something like
shadertoy. There are plenty of examples, and shadertoy now supports
reading back pixels from previous frames, so you can do
multi-frame-averaging for path-tracing amongst other effects.
Building a lens simulator (with real-time path-traced results) sounds
feasible and very interesting.
Post a reply to this message
|
![](/i/fill.gif) |