XCTruck3D _Truck Icon

XCTruck3D _Truck

realistic truck simulator with 3D graphics done from zero

2 Recommendations
5 Downloads (This Week)
Last Update:
Download xctruck3d_truckB.zip
Browse All Files
Windows BSD Mac Linux

Screenshots

Description

FINALLY SDL version done!
A truck/car simulator, with realistic physics and oldstyle graphics: it displays pixels throught the X Window System, while the 3D graphics is done by the program itself without external libraries. The environment is a hilly terrain:total freedom to drive around.A remake of the classic "Terep 2". Written in the C programming language: although the code is 40 pages long, it's simple. CTruck3D _Open runs on Win too.Trailer can be detouched pressming 'm' so to drive a normal car. There's an OpenGL version too: see the CTruck3D _Open,and an ASCII-Art ver (Term_ CTruck3D): theese have Windows versions too. This is also a good dydactic software because the code is easy to undersand,and the drawing procedures and physics sim procedures are written from 0 so it's clearly visible and understandable how a complete 3D game is done in C, starting from a blank page of Gedit (any plain text editor). Only basic knowledge of C is required to understand it and/or m

XCTruck3D _Truck Web Site

Features

  • realistic physics: moreover impemented internally, without external libraries
  • very simple C SourceCode
  • graphics written from 0, thought enough elaborate and nice. Thanks to this fact, it has an ASCII -Art version: check the term_CTruck3D project for that version.
  • uses only 1 system-dependent library: Xlib.h , so it's very simple approach
  • compiles very easily for any POSIX-compliant operating system
  • well-documented functioning: it's itself also a dydactic software
  • Linux-only (but soon an SDL-graphics Windows ver is coming) so it all fits into a much clearer landscape. Terminal--> gcc prog.c -lX11 --> play
  • car can take damage without particular limits, and it looks also quite natural: it works only if trailer is detouched
  • has an OpenGL version (name: "CTruck3D _Open"), which runs better and is overall better , moreover runs also in Windows
  • it loads at sturtup a 300x300 heightmap from a BITMAP image file, and a colormap too.
  • A negative feature of this version in contrasto to the OpenGL version is the absence of particles / smoke when the car slips or hits the ground with its chassis: this feature may be implemented later.

Update Notifications





User Ratings

 
 
2
0
Write a Review

User Reviews

  • Posted by Matei_Petrescu 2012-04-07

    Nice idea, but the rendering is a little slow.

Read more reviews

Additional Project Details

Intended Audience

Automotive, Education, End Users/Desktop, Information Technology, Other Audience

User Interface

SDL, X Window System (X11)

Programming Language

C

Registered

2011-11-10

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