GPL Track Creating - trk23dow – SET

From Grand Prix Legends Wiki
Jump to: navigation, search

Authored by the GPLEA


<trackname>.SET - Detail Settings

This little text file gives you some control over the number of polygons generated for your track. It is now mostly replaced by TRK Settings, but you should still know what this file does.


100.0 - value A (metres)

300.0 - value B (metres)

200.0 - scale A (metres)

200.0 - scale B (metres)

200.0 - scale C (metres)

20.0 - no longer used

0.10 - corner error (metres)

1000 - initial value, leave alone!

1000 - initial value, leave alone!

100 - initial value, leave alone!


What does it all mean?

For TRK sections of length 0.0metres to value_A metres, scaleA determines what the maximum length of each polygon is.

Examples:

valueA=100.0metres, scaleA=20.0metres, you would get a maximum of 5 polygons longitudinally in sections less than 100.0metres in length.

valueA=100, valueB=300, scaleB=50.0metres, you would get a maximum of 4 polygons longitudinally in sections between 100 and 300 metres in length.

valueB=300, scaleC=200, you get one polygon per 200 metres longitudinally in sections longer than 300 metres.

Corner Error is a value that controls how many times each corner is split. It is a value in metres, so 0.10 is 10 centimetres - this is the maximum deviation from the true circle that the polygons will be. This error value is calculated at the centre of the track! In other words, there will be greater error on the outside of corners to the inside.

Typically, a value of > 0.10 gives a blocky track, a value of 0.05 gives a smooth track, and a value of 0.01 gives a track that is very smooth.


Updated 7-Jan-2001

Transferred to the wiki: 15.04.2009