Cafu Engine

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Cafu Engine
Cafu Engine Logo.png
An online game in the Cafu Engine
An online game in the Cafu Engine
Developer(s) Carsten Fuchs Software
Written in C++, Lua
Operating system cross-platform
Type game engine
License GPL or optionally proprietary
Website www.cafu.de

The Cafu Engine is a game engine developed by Carsten Fuchs. It is portable across platforms and currently runs under Windows and Linux, with plans to be adapted to Mac OS. The engine's source code is freely available under the GPL, but can be obtained under a proprietary license.

Features[edit]

A factory building in the Cafu Engine

In general, Cafu is built with a modular architecture so as to avoid program constructs and libraries that are specific to any given operating system, compiler, CPU or graphics processor. To that end, the Cafu source code compiles both as 32- as well as native 64-bit software.[1]

  • The Cafu Engine abstracts out its handling of materials and instead uses rendering objects, thus enabling users to work with different graphics systems such as OpenGL or DirectX.
  • Physics are handled by an internal system to deal with human movement, and everything else uses Bullet, a free physics engine; Cafu synchronizes the two systems
  • Lighting is handled by radiosity computations, or dynamic lighting through stencil shadow volumes
  • Like the material system, sound is abstracted out and can support various implementations such as OpenAL and FMOD
  • Inherently designed for online games with multiple players over a computer network
  • Game server that centrally manages the game state and events, as well as a client that is used by players

Scripting and editing[edit]

In order to not have to fix details in difficult to modify program code, the Cafu Engine employs scripting based on the programming language Lua in many parts of the program.

A terrain that is part of a map is edited

Cafu includes a graphical editor, CaWE, that contains all the tools required to create new levels: a Map Editor, GUI Editor, Font-Wizard, Material Browser and Model Editor.

Licensing[edit]

The Cafu Engine's source code has been freely available under the GPL since December 2009.[2] It is also available under a commercial license (dual licensing) so that producers are not necessarily bound to the GPL.[3]

Reviews and applications[edit]

The Cafu Engine has been used by the United States Air Force's Research Labs for Human Effectiveness in a study about the visual working memory of pilots.[4] It has also been used in multiple studies and research projects that simulate artificial lighting in urban environments and examine how that lighting is perceived by humans and influences the nocturnal orientation of pedestrians and motorists:

  • Dennis Köhler, 2007: "Artificial light in urban space", presentation and movie report at the 8th Conference of European Architectural Endoscopy Association 2007, Moskau.[5]
  • Stefan Hochstadt und Manfred Walz, 2008: "Wahrnehmung von Stadträumen bei Nacht: eine städtebauliche Grundlage zur Lichtplanung im öffentlichen Raum. (Perception of urban environments at night: an urban development basis for lighting planning in public space.)" in: Eberhard Menzel (publisher): Research Report of the University of Applied Sciences and Arts of Dortmund, pages 52-56.[6]
  • Dennis Köhler, 2009: "Artificially enlightened urban spaces at night – A matter of special importance for livable cities." in: György Széll & Ute Széll (eds.): Quality of Life & Working Life in Comparison. Peter Lang Verlag, Frankfurt am Main, Germany, pages 323-339.

The Cafu Engine has been reviewed and presented in these publications:

References[edit]

  1. ^ Fuchs, Carsten (2009-09-12). "Cafu now on 64-bit systems!". Retrieved 11 March 2010. 
  2. ^ Fuchs, Carsten (2009-12-25). "Cafu is now open-source!". Retrieved 11 March 2010. 
  3. ^ "Cafu and Dual-Licensing". Retrieved 11 March 2010. [unreliable source?]
  4. ^ Fuchs, Carsten (2002-07-01). "2002-07-01 New major demo released". Retrieved 11 March 2010. 
  5. ^ Koehler, Dennis (2007). ARTIFICIAL LIGHT IN URBAN SPACE. University of Applied Sciences Dortmund, Dortmund, Germany. 
  6. ^ Wahrnehmung von Stadträumen bei Nacht Research Report

External links[edit]