Member institutions

Search in

ReportReykjavík University>Tölvunarfræðideild>Reykjavik University Technical Report Computer Science. RUTR-CS>

Please use this identifier to cite or link to this item: http://hdl.handle.net/1946/7499


CarDriver: Using Python and Panda3D to contruct a virtual environment for teaching driving

May 2008

CarDriver is an educational virtual environment for safer driving. It is a game where you are the driver of a car and have to care about the tra_c rules. While playing, you may subconsciously become a safer driver. In order to encourage the players along, several design issues are considered, e.g. social presence and _ow. CarDriver is implemented in Python and Panda3D. A simple data-driven creation of the world is presented, which a_ords an easy creation of di_erent levels. The physical simulation, which is based on the Open Dynamics Engine [Smi08], gets particular attention, as it is the heart of CarDriver. There were heavy performance issues, which were analysed and dealt with. Our solutions for the performance issues are presented. The performance load of the physical simulation lead to the idea and implementation of a physical Level of Detail. We also explain the usage of Finite State Machines ([Tea08c], II-N) in CarDriver. The source code is freely available under the GNU Public License (Version 3) [FSF08] on SourceForge [H08].

Appeared in




Issued Date

RUTR-CS08003.pdf378KBOpen Bibliography PDF View/Open