Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] Feature Requests => [Max] Resolved Feature Requests => Topic started by: vicnaum on 2013-11-01, 10:08:45
-
Please add support for file Lens Distortions.
(http://www.naumik.com/temp/scr4/20131101-f7g-9kb.jpg)
THE PURPOSE:
I have footage shot on 16mm (with lens distortions). Rendering background in Corona, but it doesn't match perfectly, cause no lens distortions.
Applying the distortions in post - matches great, but the pixels are smoothed and blurred by post. Need to render with lens distortions already there.
The lens distortions can be obtained for example by this utility:
http://help.chaosgroup.com/vray/help/300R1/tools_lens.htm
.VRLens format is plain simple:
version 0.2
# Calibration photo #0 begin
calibrationPhotoFile=C:\Users\vicnaum\Documents\lens-01d.jpg
focalLength=16.000
k0=1.0230671
k1=-0.0544355
k2=0.0103712
squeeze=0.9922962
lambda_x=-0.0099095
lambda_y=0.0023432
flags=1
# Calibration photo #0 end
(Couldn't find the second .lens file format specs.)
VrayPhysicalCam can load those .vrlens files and render using them (but only in vray, corona renders are still straight).
Btw, Corona supports Spherical vrayPhysicalCamera disctortions, but not File.
Also the parameters from Nuke lens distortion can be used (they look a bit different, but have Anamorphic mode also):
(http://www.naumik.com/temp/scr4/20131101-f71-57kb.jpg)
-
Agree!!! Need to have one!
Small add-on:
Usually for compositing the camera is matched to real photo - therefore there's an distortion value given. Would be nice if Corona would also accept different types of input (From Simple to Advance).
-
Bumping this by public demand. ;)
Either lens distortion files, or generally some sort of lens distortion, such as fisheye.
-
added