The terrain is actually pretty low res, the polies are huge. The terrain is merely stretched out immensely. There's maybe only 45-50k polies on the screen at any one time. Basically, I went for immense terrain, not detailed.
I have a 1.8 ghz Pentium4 dual core (the old school kind, before hyperthreading) in the house and it only takes about 7 seconds to load the test program up. So, there's probably something else going on if it's taking so long for you.
Anyway, here's the latest version. I've commented out the DarkShader stuff for now because i can't seem to fix the problem with it eating objects (which noone gets but me, even with the exact same source).
I made it use momentum instead of velocity for modifying the slipperyness of the tires. It's feels a bit more realistic now, but still not quite right. Namely, it's not behaving properly when you brake during a slide. Other than that, it just needs some more fine tuning.
I invite you to hack away at the settings (they're at the top of the gameloop() function to come up with a better formula. This is just proof of concept. I'm putting it out to let the community help figure out how to make it better
Nothing I say is intended to be rude. My autism means that I do not know what is rude and what isn't rude. I apologize if I seem rude. It is not my intention.