Also, go see the Car Camera file format, by Brian Heiland
These files, of which there is one per track, define the locations of
the two sets of cameras, TV1 & TV2 (along with the Pitlane camera).
The header is very simple:
Bytes | Values | Notes |
0-3
4-7 8-11 |
"MACT"
0x00000000 data size |
Section Type - TCAM
0 Size of following data |
The next four bytes give the number of cameras in the first set of cameras (TV1 first, then TV2, then pitlane)
Then, there are 56 bytes (14 floats/ints) defining each camera.
Next, the number of cameras in the other set is given, then 56 bytes for each of those cameras.
Lastly, there are 52 bytes for what I assume is the pit-lane camera. This is a fixed view camera so it should help in the deciphering of the others.
Simple structure, but lots of numbers to work out:
What I've determined so far follows (small means numbers like 5.0, tiny
means in the range of 0.1, miniscule means 0.001).
Number | Type | Description |
1
2 3 4 5 6 7 8 9 10 11 12 13 14 |
float
float float float int float float float float float float float int int |
Distance from s/f line in metres
Distance from track centre in metres Elevation in metres Distance camera takes over (-ve means the direction the cars come from) Fixedness of camera: 0=follows cars, 1=fixed tiny tiny tiny Focus orientation Tilt of camera in radians (pitch) Tilt of camera in radians (yaw?) some lens setting 0 0 |