01
Real-time rendering
An OpenGL renderer for textured models, interpolated surface normals, projected shadows and background objects.
Open source since 2000
CarWorld is a cross-platform driving simulator and experimental test bed for real-time rendering, vehicle dynamics and networking.
CarWorld is written in C++ and uses SDL2, SDL2_image, SDL2_net, OpenGL and GLU. See the repository documentation for the currently known build instructions.
Historical project, preserved and maintained on GitHub
View full-size screenshot
About the project
CarWorld is a driving simulator and demonstration program created by Marcus Hewat, mostly while he was a student in the late 90's erly 2000's. It became a practical place to test ideas in graphics, mechanics, input and networked simulation.
The source code is available under the GNU General Public License v3.0. The project has run on Linux, Windows, macOS, HP-UX, IRIX, BeOS and MorphOS.
Under the hood
01
An OpenGL renderer for textured models, interpolated surface normals, projected shadows and background objects.
02
Simulation in standard SI units with configurable mass, inertia, suspension, damping, torque and friction.
03
Variable simulation increments keep CarWorld time independent of the rendering frame rate.
04
Built on SDL and OpenGL, with support developed and contributed across many operating systems.
Research references
Released under the GPL, CarWorld was available for researchers to inspect, modify and connect to their own systems. These publications record a few direct uses and references.
Carleton University's CUSP team adapted CarWorld into an HLA-compliant component of a real-time motion-platform simulator, publishing vehicle state to the wider distributed system.
Read the paperResearchers used CarWorld's first-person visual output while evolving neural controllers for simulated driving.
View the publicationIn its review of earlier evolutionary car-racing work, this paper describes the CarWorld-based active-vision experiment.
Read the paperCarWorld is cited among the game-based driving simulators discussed as context for a motion-simulation research and teaching environment.
View the publicationFrom the archive
Release history
Selected milestones from the original project history.