Extracting Track Information

Hi All,

I was wondering whether it would be possible to extract certain information about the track layout. I am particularly interested in extracting the world coordinates of the track borders in some sort of text file that I aim to import into MATLAB (let the importing be my worry, just getting it out of BTB is where I need help with).

Would be great if someone could help me out and point me towards the relevant threads or links.

Thanks a lot in advance.
 
From BTB you can export in Direct X format. You can select 'DX Text' to have the output generated in a plain text format. With vigorous use of Google you may be able to figure what what it all means.
 
Thanks a lot R Soul.

Fortunately I found a much easier way to do it using the simulator I am using (Racer). The AI in Racer uses track border information that is stored in spline.ini. In case anyone is interested, I have written a few lines of c++ code (not very well written, but does the job) that extract these points into a space delimited text file for each side of the track which can be imported straight into Matlab.
 

Latest News

How long have you been simracing

  • < 1 year

    Votes: 319 15.4%
  • < 2 years

    Votes: 219 10.6%
  • < 3 years

    Votes: 214 10.4%
  • < 4 years

    Votes: 161 7.8%
  • < 5 years

    Votes: 279 13.5%
  • < 10 years

    Votes: 239 11.6%
  • < 15 years

    Votes: 156 7.5%
  • < 20 years

    Votes: 120 5.8%
  • < 25 years

    Votes: 92 4.5%
  • Ok, I am a dinosaur

    Votes: 268 13.0%
Back
Top