PDA

View Full Version : Simulate lens distortion



thomap
08-18-2003, 06:02 AM
Having a set of camera intrinsic parameters, how can I simulate lens distorion in OGL?

AdrianD
08-18-2003, 06:12 AM
take a look at this presentation http://mirror.ati.com/developer/gdc/GDC2003_ScenePostprocessing.pdf
and this source (directX, but you can still see how it is done) http://mirror.ati.com/developer/samples/dx9/DepthOfField.html

maybe this will help a little bit.