Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: jrgby on 2018-07-11, 17:02:08

Title: Camera lens distortion
Post by: jrgby on 2018-07-11, 17:02:08
Please could someone explain how the custom lens distortion works?

This is the tooltip:
Quote
Distortion based on custom texmap, using red component to map X values and green component to map Y values. Blue component of the texmap is ignored.

Thanks!


Title: Re: Camera lens distortion
Post by: maru on 2018-08-01, 10:20:10
Sorry for the lack of response here. I _think_ that it works similar to a normal map, which displaces the rendered image based on the map's colors. We'll get back to you with some simple examples ASAP.
Title: Re: Camera lens distortion
Post by: jrgby on 2018-08-01, 12:00:38
Thanks Maru.
Title: Re: Camera lens distortion
Post by: Vlad_the_rant on 2018-08-01, 12:54:03
I've managed to find this explanation of lens distortion maps:

https://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/CloudHelp/cloudhelp/2017/ENU/3DSMax/files/GUID-71FF38CD-07E4-419B-A8AF-69CE101182A0-htm.html (https://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/CloudHelp/cloudhelp/2017/ENU/3DSMax/files/GUID-71FF38CD-07E4-419B-A8AF-69CE101182A0-htm.html)

And this is a tutorial on how to create a distortion map in Nuke and how to use it:

http://vfx-rants.blogspot.com/2013/07/using-stmap-based-deformations-for-lens.html (http://vfx-rants.blogspot.com/2013/07/using-stmap-based-deformations-for-lens.html)

Hope this helps.