Hash Fellow robcat2075 Posted December 27, 2012 Hash Fellow Posted December 27, 2012 A:M has a format for importing/exporting camera data. For what it's worth, it seems to work like this... It is a text file that appears like this 30 16 1 1 2 3 0 0 0 0 0 0 3.72529e-009 1 12 -0 100 0 0 2 1 2 3 0 0 0 0 0 -1.11022e-016 3.72529e-009 1 12 8.33262 100 0 0 3 1 2 3 0 0 0 0 0 -1.66533e-016 3.72529e-009 1 12 17.0863 100 0 0 4 1 2 3 0 0 0 0 0 -2.77556e-016 3.72529e-009 1 12 26.1848 100 0 0 5 1 2 3 0 0 0 0 0 -2.22045e-016 3.72529e-009 1 12 35.5286 100 0 0 6 1 2 3 0 0 0 0 0 -2.22045e-016 3.72529e-009 1 12 45 100 0 0 7 1 2 3 0 0 0 0 0 -1.11022e-016 3.72529e-009 1 12 54.4714 100 0 0 8 1 2 3 0 0 0 0 0 0 3.72529e-009 1 12 63.8152 100 0 0 9 1 2 3 0 0 0 0 0 -1.11022e-016 3.72529e-009 1 12 72.9137 100 0 0 10 1 2 3 0 0 0 0 0 1.11022e-016 3.72529e-009 1 12 81.6674 100 0 0 ... A Spreadsheet program like OpenOffice can interpret the spaces as separators and create something formatted like this (Click to enlarge) First row: number of frames, number of columns The rows after that seem to contain the data columns like this: A- frame number B- X Translation in cm C- Y Translation D- Z Translation E-I- unknown J- X Aim K- Y Aim L- Z Aim M- Focal distance in cm N- Z rotation degrees (rotation on barrel axis) O- Focal length P-Q- unknown The "Aim" data seems not to be actual angles but XYZ coordinates in space measured from the camera axis that the camera is pointed at. I imagine with some trigonometry that result could be converted by the spreadsheet into any angle format that some other camera system might need. Likewise, a spreadsheet could reformat this data into any order needed by another program. If you have some other app that can understand a text format for camera data, this A:M .RAW format looks like a starting point for that. Quote
3DArtZ Posted February 5, 2013 Posted February 5, 2013 Many years back I wrote a program that took the data for the camera and converted it for use in electric image. I was doing character work in am and rendering over matching backgrounds in ei. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.