I encourage to visit François homepage and blog for Blender, AfterFX, compositing, VFX and mathcmoving related stuff. He is a former Environment and VFX artist at Ubisoft hehe.
Here are few screenshots of the shader in action:
undistorted:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9wrCvw6bWMOp1L9UKlFE3o8BuU1OzjsEeEsCXffrRfPxqdzOuh4pGLh-S6bgw3YTRCzPRFm5MfLK1l5wn8ymAul5q4k8RNktMz60FZ-KaNklGKYtx24dUDYXYfTK9TVn_vrVdDfdhSRKd/s400/undist.jpg)
distorted w chromatic abberration and slight blurring at edges:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikqmcOeBSRIhdglLpF_mmk3SNu344HKbeutCiih6aX-U3LjZAH1mxEX12lzFulbrEXTxmaCCdTRf9yOVbkoa5g-OXXtmpgxDkEvJIQrbjriHqzRc1wi0YTFfg6Cm-9nvxgEsYrhpspWpVP/s400/dist.jpg)
lens distortion & my BPCEM reflection scene:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA-2t_KenmgEbnspxh4M9b5N5fQ8FlLpuPTT1iYp33NrlYu14nun4_eF8id3LwcPSClpB3nit2gGHAvGOPH9Zrp6WYKsEgiT9HXH7ZxM6P9e-75zU7rabzwSkU4vw2mMS2nR_dIDyV2Fqa/s400/distort.jpg)
a screenshot in my real-time snowflake growth demo with lens distortion shader applied:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijyd58H9wLpVyzT0gHem_L21ao0CgCa4sJJd_m4VGx1sa-Vc1lqbfV-Ghs-rH7IXOKbjIaPeHHffyYo9YWcU0OQsh3_MK1mUSMteXTD1HMyAnbO0WUf3zqDqWwPVjACiEw5iJMgHfAf6Lk/s400/flakers.jpeg)
more info about the snowflake project HERE
download link to snowflake demo blend (for Blender 2.5x & 2.6x):
HERE
download link to blend file for lens distortion demo (for Blender 2.5x & 2.6x):
HERE
controls: mouse&WASD - camera movement
1 - disables the filter
2 - enables the filter
glsl fragment shader:
http://dl.dropbox.com/u/11542084/lens_distortion
No comments:
Post a Comment