racer home

Tracks - The Concept

 

Home A track is a collection of geometrical objects and physical descriptions.


Dolphinity Organiser - free planning, project management and organizing software for all your action lists

 

INTRODUCTION

This document describes how Racer tracks are structured. There is a Track Editor available which deals with a lot of issues when generating tracks (actually, the name may suggest that you can create tracks from scratch, but in fact you create tracks in 3D packages like 3D Studio Max or Maya). For information on how to use the editor, see the TrackEd documentation.

CONVERTING FROM OTHER FORMATS

If you want to learn how to import tracks from SCGT, go here.

For a rough explanation on how to convert rFactor tracks to Racer, visit this page.

TRACK COMPONENTS

I've split this text into various parts:

WHAT IS A TRACK?

A track consists of:

Important is the subdivision of the road objects. This has a big impact on performance, since it is used for surface collision detection (on what triangle is the car located) and painting (if a model isn't in the viewing frustum, it isn't painted).

THE FILES INVOLVED

You'll find tracks in Racer's data/tracks/ directory. Every track has its own directory, with most files directly underneath that.
The most important start is track.ini.

The files you will probably find in a track directory are:

SOME OLDER TEXT FOLLOWS; SOME OF IT IS INTEGRATED INTO TRACKED BY NOW...

 

 

TRACK CAMERAS

You'll find the track camera's in special.ini. You can edit most of them using TrackEd, however, some attributes are only accessable through the ini file. The features are:

Creating a camera is easy; enter TrackEd, load your track and select 'Track cameras' mode. The operation buttons will switch to camera editing. Now click on the track where you want the camera to start, and draw a line in the car's driving direction. This direction is used to calculate if the car is currently before or after the camera point, if you use the (default) projected-distance type camera.
You'll be requested the camera number. The camera ordering MUST be right along the track; if you don't have camera's placed along the track in the right order, Racer will have a hard time finding out which camera should be currently used. The camera is selected as follows:

After creating the camera, you may want to edit the radius. If the car is within the camera's radius, it is selected (but only if this is the NEXT camera to watch out for). Check the view to see your radius visually.

Use the keys PageUp and PageDown to move through your cameras (in TrackCam mode).

TRACK CAM ATTRIBUTES

A track camera has additional properties you can use to give some live into it.

KNOWN PROBLEMS


Dolphinity Organiser - free planning, project management and organizing software for all your action lists

(last updated December 30, 2014 )