Extracting Camera Information
Hi Guys,
I'm looking for some help to find / develop a script that will export camera data from 3D Studio Max into an excel file. It would need to export the co-ordinates of the camera (x+530000m and y+180000m), Z would be unchanged. It would also need the roll, FOV and co-ordinates of the cameras target (x+530000m, y+180000m, z unchanged).
In one project I might have 20+ cameras which would be in separate files, I could merge these into a single file and then run this script to extract the camera information in one go. This data would then be formatted into a table for inclusion in our verified view documentation.
Is there a good way of doing this??
Many thanks.
Toby
Comments
Hi Toby, If the csv files are
Hi Toby,
If the csv files are the same as those that send me, I think I can help. The first line into the file was camera position data, and the second was it target position. Well, to merge this data, move a copy of all your *.csv files to "c:\temp" folder and try my snippet code. It will read all of them, correct X and Y, format new data to "c:\temp\cams_coords.csv". I hope this is what you ask for ;)
my recent MAXScripts RSS (archive here)