Truck Simulation Notes by Shahzad Malik

This is a physics-based truck simulation on a terrain landscape. The truck is user-controlled (similar to a video game), and all motion is controlled via dynamics. Therefore the truck can go over jumps and get airborne, it can fall back down with gravity, and it can do skids and wipeouts. The truck is able to detect collisions with the terrain surface in order to perform these dynamic effects. The terrain is a dynamic level-of-detail landscape, using Binary Triangle Trees. The camea view is also animated so that it follows behind the truck. There are a number of special visual effects: animated particle effects (for smoke puffs and dirt), lens flare, billboard textures, OpenGL fog is enabled to make the distant terrain smoothly blend into the horizon, panoramic sky box that always appears around the view (only rotates, does not translate), two-pass detail texture blended over top of terrain, to provide richer terrain detail (can be toggled on/off), and the dynamic level of detail terrain system.