CTruck3D _Open Icon

CTruck3D _Open

realistic truck & car simulator, with OpenGL graphics

As of 2015-03-24, this project is no longer under active development.

5.0 Stars (3)
5 Downloads (This Week)
Last Update:
Download ctruck3d_open.zip
Browse All Files
BSD Windows Mac Linux




It's a 3D, physically realistic truck/car simulator, oriented to dirt tracks. This is subsancially kept as hystorical. The environment is a hilly terrain which can also be user-defined in the form of a Bitmap image file (where intensity of red component defines height). It's similar to the classic "Terep 2". Particular care for internal cam. Written in standard C. There's a Windows executable ready for use, but it's compilable and playable on all Linux, BSD, MacOSX systems. Official VIDEO presentation: http://www.youtube.com/watch?v=B74QvPGyBYM

The physical simulation was written from 0 of course, so no external 'third-party' libraries are used; except GLUT+OpenGL for the graphical visualisation & good interactivity.

CTruck3D _Open Web Site


  • realistic physics: it's moreover done internally so it does not use any external ''physics engine'' C/C++ library. Moreover, pieces with different colours have different coefficients of friction: on the dark-brown pieces of terrain, for example, the car slips as on mud; on green it's fairly aderent instead.
  • possibility to read from a BITMAP image file (*.bmp) a 100x100 heightmap and set it as terrain( 'i' button performs this action). The image files for custom maps can be easily edited with programs like GIMP or PhotoShop.A sample heightmap-image is provided.
  • Pentium 2 sufficient to run it *so-so* ; Pentium 3 runs it fluently .
  • when car slips or chassis touches the ground, particles and smoke are emitted.
  • small trees decorate the terrain.
  • There's a ready Windows execuble in the *.zip download, but it is compilable and playable on all Linux, BSD, MacOSX systems. For the compilation, need to have installed the GLUT and OpenGL or Mesa libraries (flagged as -dev !).
  • fairly good control: this allows sporty driving.correct detection of keys being simulataneously pressed or held down. For now this is true only for keys used for driving.
  • polygonal visualisation mode available.
  • still available the old-style polygonal visualisation (press 'm' multiple times to get it). For that mode, a Pentium 2 is perfect.
  • it has a successor, CSTUNTS, which implements this concept 100 times better and is also simpler as to its C code, and look even more like the classic "terep 2"


User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
Write a Review

User Reviews

  • maxaxle
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    With some tweaking, this could be a really good racing game.

    Posted 01/25/2013
  • nikitasmol
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    The best open source racing game so far

    Posted 06/03/2012
  • ctrucker
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    ok. Check out also the Lagrange Rally 3D game which is similar in look but the physics is much better and does no approximations in the wheels' dynamics.

    Posted 02/22/2012
Read more reviews

Additional Project Details

Intended Audience

Education, Automotive

User Interface


Programming Language



Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.