Grand Prix Legends Car.CAM File Format by Brian Heiland for P.A.Flack 1998
contact: phil@flack99.freeserve.co.uk
last revised 25/June/1999
These files, of which there is one per car, define the locations of six cameras per car, Nose, Gearbox, (Zepplin or Shoulder), RollBar, Front Suspension & Rear Suspension.  Zeppelin or shoulder view can be driven, but is not visible during replays. The header is very simple:
 
Bytes Values Notes
0-3 
4-7 
8-11
"MACC" 
0x00000000 
data size
Section Type - CCAM (Car Camera) 

Size of following data

Each camera is defined by 36 bytes (9 floats).

There a a few values and units to work out yet, but most are found.
 

Formulas Radians to degrees = Radian * (180/pi)

Degrees to Radians = Degree * (pi/180)

Degree values are -180 to +180
 

Number Type Description
1
2
3
4
5
6
7
8
9
float
float
float
float
float
float
float
float
float
Distance from center point of car in metres (Neg=rearward, Pos=forward)
Distance from car center in metres (Neg=left, Pos=right)
Elevation in metres from car midpoint (Pos = Up Neg = down)
Yaw Angle of camera in Radians (- = Counterclockwise + = Clockwise)
Pitch Angle of camera in Radians (- = decend + = Climb)
Bank Angle of Camera in Radians (- bank left + = Bank right)
Wide Angle or Zoom (Unit Unknown Radian measure too? Greater value = wider angle)
Another Camera Yaw??? (Unknown)
Another Pitch Setting (Unknown)



contact: phil@flack99.freeserve.co.uk
last revised 25/June/1999