CGI Data Import & Export |
|
ScalingThe move in a motion control system is in "real world" space. This means that if the camera starts 4 feet above the floor and ends at 8, that is the data that will be in the file. The CG world scale is totally arbitrary and I have seen doors modeled at 6 units high where the units are centimeters and thus nothing is going to match the real world. So it is vital for both import and export that the modeling be done in actual sensible units. You can use feet, inches or whatever, but the modeled items should be the right size.
Orientation and Translation OffsetsThe only real commonality between the CG system and the Motion control system is that Up is Up. Left, Right, Forwards and Backwards are totally dependent on how the models are lined up and how the rails are laid down in the stage. You do have to establish the relative orientation of the axes and some translation offsets that may exist between the systems. (The translation offsets have to do with where 0 is determined to be in the 2 worlds. Often the floor is zero in height, but not always). Both the Orientation and the translation offsets are best resolved by a Line Up or Reference move. Line Up or Reference MoveA Line Up move is a camera move (real or CG) on an object that will exist in both worlds. For example: If you wanted to shoot a table in the real world and add a CG object to it, you need to know where the table is and how it is oriented up in moco space. If you take the motion control camera and line up the cross hairs onto one corner, and then move across to another corner and export that motion, you can get definite data on where the table is in moco space and this will tell you how to convert it into the world space of the CG Camera. Flair Motion Control software natively works with a target, and a move like this exported with a target, not only gives the camera position, but also where the target is, and the target point can be used to EXACTLY match the 2 worlds together. The size of the move will also be useful for ensuring that the scale between the 2 systems is correct. If you are not using a target system when this data is exported, then you either have to record the data of how far away the target is or use triangulation on each point and this gets more complex. Lining it upOf course, a line`up on video or a line up on film only gives you the position of the object on the screen left/right and up/down, it does not give you how far away the object is. If the object appears too small, this can be corrected by moving the camera closer, changing the focal length, or adjusting the image size (gate size). Once you depart from doing something correctly using the exact data you have and start matching by eye, you have abandoned using the data any more and have gone into the realm of match moving. Whilst it is very temping to fudge it around by eye as it will make it look better right away, the moment you do that, you are committed to doing only that. Using the target distance in the flair system and importing/exporting this data, you can get the exact distance that the camera is supposed to be from the object and so make sure your line up is perfect. Note that the distance from a camera to an object in the CG world is almost always from the front nodal point of the lens - and so is it with a real camera. Flair will automatically convert a nodal distance into a focus distance when the lens is correctly set up. |
CGI ImportImporting a camera move from the Motion Control system is in itself relatively simple. Numerous scripts, plug-ins etc have been written and this task is usually the simplest. Once you have the move in the CG system, making it match the footage shot is an entirely different job and one this it often believed to just fall into place if only the data could come in. There is no substitute for being on set and seeing what is happening for making sure you have a fair chance of getting it all to work out. You can also make sure that the lens data is correctly recorded as well as ensuring that there is a bloop light somewhere in frame that will wind up on the transferred footage. Line up for ImportFor every series of shots from one track placement, you should insist that the Motion Control Operator be given time to record a line up move of some sort, and also insist that he gives you the data on set if possible. The line up move must be recorded on a object that makes sense. Here you will often be able to assist in making sure that a suitable object is chosen and knowing how the line up is done will assist in getting it all sorted out. Once you have the line up move into the CG package, you can see where it is in relation to the actual CG object that it is supposed to match. If you ONLY rotate about the vertical axis, and adjust XYZ translations until it lines up you will then have the exact values to apply to the Motion Control Move. Of course if the scale is wrong on the object, and it cannot be made to match, then you MUST find out why, not just scale to correct as there may be some other error that you are not accounting for, and this may throw the motion control move off. Matching the imagesSo the move is imported and adjusted so that it is correctly
lined up and offset, but the images do not match. What has gone wrong? Well the most
common problem at this point has to do with focal length of lenses
and the image size. Presumably, you have set the focal length of
the lens correctly, but the aperture size really depends on HOW
the film was transferred or telecined. A standard 35mm film gate
full aperture is .981 by .735 inches. If the telecine cropped any
of this, then that will affect how the image looks. If they have
not centred the transfer then you can get a pan or tilt offset
that will make it all look very strange. The secret here is to
find out what was done and correct for the errors, not guess at
it. Often in the CG package, you can set the gate size to however
the transfer was done and fix that. A pan or tilt offset is
another problem, and you should always insist that the image is
transferred centred. Zoom LensesPlease do not use a zoom lens unless you really have to. They do not model well and the nodal point moves when you zoom, so it adds a whole extra complexity. You have been warned! If you must use a zoom, then it makes sense to repeat the motion of the zoom lens only on a grid and use that to model the lens and also if you get a chance, run the move once without the zoom and use that for tracking then add the zoom after. This is often not possible in the time available, but if you get the chance... |
|
MEL Script |
|
|