zpelgrims / lentil

Polynomial optics to Arnold. Camera shader with high-order aberrations, including bidirectional filter that adaptively samples out-of-focus highlights (top level repo)
http://www.lentil.xyz
104 stars 11 forks source link

Chromatic aberration revisit #175

Open zpelgrims opened 5 years ago

zpelgrims commented 5 years ago

Currently there's a shift to green (furthest aperture) even when the whole plane is in focus. This needs to be corrected!

Try and find some papers on this...

zpelgrims commented 5 years ago

PxrCamera implements CA, I think this implementation is open sourced somewhere..

https://rmanwiki.pixar.com/display/REN22/PxrCamera

zpelgrims commented 4 years ago

think i'd rather push this to 2.0

zpelgrims commented 4 years ago

shower thoughts:

chromatic aberration is quite hard to model in a forward-tracing renderer but in a backwards splatting one it should be possible to noise-free do pixel.r/g/b shifting?

this would allow me to have cheap ca on the whole image without having to re-distribute?