A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
C4d Motion Tracker and Lens Tool
Posted: 17 April 2018 04:17 PM   [ Ignore ]  
Total Posts:  38
Joined  2012-07-26

Hi Cineversity,

Hoping to get advice in the area of C4d’s (v19) Motion Tracker and Lens distortion.

I purchased and read areas of the book Dr. Sassi recommended - “Matchmoving - the invisible art of camera tracking”

A project is coming up where a Red Camera will be used - 6k with Cooke Lens for an outside urban location.

Question on procedure/workflow shooting a lens grid to create a Lens profile for use with lens distortion tool which is new to me…

At shooting location - before shooting each different scene - have a lens grid card and have camera lens as perpendicular as possible, record and than later transfer for use with C4d’s Lens Tool.

Or can I shoot the lens grid not on location, it can be indoors, just shoot to record the distortion of the lens, location not necessary.

Any advice, wisdom would be greatly appreciated!

Profile
 
 
Posted: 17 April 2018 06:16 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi TCG,

The first step, clear in which resolution the RED is set. (Being a RED EPIC Dragon owner, I can share first hand experience.) RED’s various resolution are not taken from only from the full sensor, the smaller the resolution, the smaller the field of view, the smaller the used sensor area! With that, the given image uses a different are of the lens. Each lens, and that might be self explanatory, will produce a different result of the lens grid itself.
If you really want to make it perfect, get the lens grid as close to the used focus point as possible (lens breathing will alter the result). Cooke lenses have a long a great history, so the brand-name by itself will not tell what to expect. What ever you use, try to get the R3D files, so the meta data is given and you know what you are working with. (You can convert the footage with the free Red-Cine-X software.)

Cinema 4D can’t read R3D natively, so any format that is used should hold the full frame.

The lens-grid is discussed here inside of the series:
https://www.cineversity.com/vidplaylist/motion_tracking_object_tracking_inside_cinema_4d/motion_tracking_object_tracking_inside_cinema_4d_introduction
Typically the tracked footage needs to be without lens distortion to be trackable in the best way. To give the Motion Tracker the information to work with the un-touched footage, the lens profile is needed.
The footage that is rendered needs the same distortion as the original footage to fit into the same frame.
I have created here
https://www.cineversity.com/vidplaylist/integration1/1_integration_introduction_01
an overview about the needed parts to “integrate” the two (practical and CG).
Cooke has “Cinemascope” Anamorphic lenses, and sadly I had not the option so far to use nor motion track those.

I assume the shooting will be done with Prime Lenses, Cooke offers Zoom Lenses, which might be hard to track, given the combination of rack focus. If a zoom will be used, each focal length used needs to be profiled. I have avoided them with the Motion Tracker, based on previous trouble with other tracking software …
Some Cooke lenses have the option to add lens information electronically to the meta data, check if that is an option.

You can shoot the lens-grid wherever you feel most comfortable, as long as the settings (camera and lens) are the same. Please note that any use of filtration or extenders might alter the results. What is not working is any use of Split-diopters, and I would be careful with any special lenses, like the spherical focal-“plane” optics in many LensBaby options.
Some extra tips for tracking (sadly this series was done before the Lens-Profile option was given, so I shot with a lens that had very little “problems”.
https://www.youtube.com/watch?v=bG8NxV_TWOQ&index=3&list=PLOLI4wu7NPsjGPK3BGKJpmAg9WqFodFHh

The original footage is normally untouched for quality reasons, the CG renderings are always superior in quality, given the same resolution, so the lens-distortion can be applied here and it comes even close to the practical, mostly Bayern-Pattern and OLPF (to avoid temporal Aliasing) based images.

Steve Wright, Digital Compositing for Film and Video, fourth edition (I have read all four editions in the past 1.5 decades) has a chapter about the lens workflow. I recommend to read the edition four, as it has as well as way more elaborate information of how to match lenses. (I missed so far only the flat vs spherical focal-plane as well as til/shift lenses.)

What I would suggest, is certainly to have measurements from the set, as well as notes of how the camera was moved (not only to evaluate if the tracking is spot on). Worse case, the camera is “locked off” means, it doesn’t move at all, or just around its own axis, which will give not parallax at all. Have survey shots if possible. If the camera is used in an nearly feature less environment, like on a windy day in a cornfield, or the background are just waves from the ocean, white walls, etc, mount a little camera on the RED pointing 90º down, to the side, etc. However, have someone shoot (even with an iPhone) any set up. Sometimes it helps if the camera moves before and after (as in longer), to gain more information.

If they use a Motion Mount, hand-held footage will be better (Rolling Shutter), you will see it in the Meta Data what was used.

In all cases, try to the storyboard, if they have one, to see what to expect.

All in all, these are just some hints on tips that came to my mind, it is not a complete list, and if you can, visit the set, or get in contact with the VFX-supervisor.
Let me know if I missed anything. I really happy to take a look into it.

Enjoy the pre-production!

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 17 April 2018 06:39 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  38
Joined  2012-07-26

Dr. Sassi, Thank you for taking the time for a detailed, helpful reply. Can’t thank you enough!

Profile
 
 
Posted: 17 April 2018 06:43 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Very nice of you, TCG, I’m really happy to help, you’re very welcome.

Fingers crossed, you have not to worry at all about distortion. The bandwidth might be from very minor to this:
http://neiloseman.com/wp-content/uploads/2017/08/Anamorphic-tests-distortion.jpg

If there is anything else, please let me know. I really love those practical/CG pipelines a lot. Anything, any time! If I miss something, I will research, learn and share it.

My best wishes for your project.

P.S.: searching for some examples I found this Cooke Book
https://www.cookeoptics.com/techdoc/B3D29DB118E18C8A85257BCF006922F8/Cooke Book 2016 FDTimes-300.pdf
Here are some examples of data, for lenses that are not supposed to “breathe”.

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile