racer home

Importing GPL/N4 skies

 

Home Beefing up your skies (click picture to enlarge).


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

 

INTRODUCTION

This tutorial describes how I got a sky from Grand Prix Legends to work in Racer. Notice that before doing this, you should get a copy of Nascar4 and Grand Prix Legends (they're standard software almost I think for most Racer users, so you probably already have those, right?).

Things you will need before advancing:

Step 1 - get a sky

You can get some sky photos at for example FreeStockPhotos.com.

Step 2 - convert the images to .bmp/.tga

Previously, there was a site (from Simon Stoddard) which contained GPL type skies (Grand Prix Legends). I haven't found the site since the beginning of 2006. The next text assumes a GPL type sky still though. Principles still apply; you'll need to convert the images to one of the formats supported by Racer (Targa/BMP/JPEG). Perhaps some of these zipped skies are still available. The old text follows...

After unzipping the sky zip file, you will notice a lot of .mip files (images), and a .3do file (probably horiz.3do). That last one is a sky model, which is drawn quite unlike most models are stored today, so it doesn't really import into a gracious form, but it's usable.

Step 3 - creating a horizon model

You must now import the .3do model for use in Racer. Run Racer's Modeler and click the button 'Import 3DO'. Then select the file that came in the zip. Hopefully it will just work like that; the 3DO format is still not one that is imported in a nice way.

 

After you've had success loading it in, export it to your track directory, named 'horiz.dof' for example. Also copy or move all the .bmp files from step 2 into the same directory. To test if it's working a bit, try importing the DOF from the track directory. If all the image files are there, Modeler should display the textures as well. It still looks crummy, with lighting and all that, but that's ok; in TrackEd, you can declare it a sky and it will render without lighting.

(note: the red triangle is just the currently selected material)

Step 4 - Putting it in the track

You probably already have a horizon in the track. Search <trackdir>/geometry.ini for sky.dof, or something alike. Replace the .dof filename with the sky DOF you just created in step 3. Make sure to set 'flags=73', as this is the magic value for the special handling of the sky.

Now run TrackEd and open the track. Hopefully it looks something like this:

You're done!

Things should work now in Racer too. Notice you may be missing a ground polygon, which you could separately make in Max/Blender/ZModeler/Maya.

Good luck!


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

(last updated November 13, 2012 )