C4 Engine
Developer(s) | Terathon Software LLC |
---|---|
Stable release | Version 3.5.1 / 22 January 2014 |
Platform |
PlayStation 4 PlayStation 3 Microsoft Windows Mac OS X Linux |
Type | Game engine |
License | Multiple types |
Website | C4 Engine Overview |
The C4 Engine is a proprietary computer game engine developed by Terathon Software that is used to create 3D games and other types of interactive virtual simulations for PlayStation 4,[1] PlayStation 3, Windows (XP and later), Mac OS X (versions 10.7 and later),[2] and Linux. It is ranked in the number one position among commercial game engines on the engine review site DevMaster.net.[3]
Development history
Development of the C4 Engine is led by computer graphics author Eric Lengyel, who is also the founder of Terathon Software. Although in development sporadically for several years beforehand, the engine was first made available under a commercial license in May, 2005. Since then, the C4 Engine has been under continuous development, and 65 updates have been released through the end of 2012, averaging eight updates per year.[4]
Capabilities and features
The architecture of the C4 Engine is that of a layered collection of software components,[5] in which the lowest layers interact with the computer hardware and operating system, and the higher layers provide platform-independent services to the game code. While a considerable portion of the engine is dedicated to 3D graphics, there are also large components dedicated to functionality pertaining to audio, networking, physics, input devices, and scripting. Documentation for the engine is available online through a set of API web pages and a wiki.[6]
Graphics
The C4 Engine is based on the OpenGL library[7] on Windows, Mac, and Linux platforms, and it uses a one-pass-per-light forward rendering model. The engine is capable of rendering with several different types of light sources and shadowing methods.[8] The primary method for rendering dynamic shadows is stencil shadow volumes, but the engine also supports shadow mapping for dynamic light sources and a variant of cascaded shadow mapping for very large outdoor scenes.
Shaders are created in C4 using one of two available methods, both of which isolate the user from the shader code required by the underlying graphics library. Simple shaders can be created by specifying a set of material attributes such as a diffuse reflection color, a specular reflection color, and a group of texture maps. The engine internally generates the necessary shader code for each combination of material and light type that it encounters when rendering a scene. Material attributes can be used to produce effects such as normal mapping, parallax mapping, horizon mapping, and bumpy reflections or refractions.[9]
C4 also includes a graphical Shader Editor that allows complex custom materials to be created using a large set of predefined operations.[10] This method of designing materials enables greater creative freedom and functionality for expert users, but requires somewhat more work by the user. Materials created using the standard material attributes can be converted to custom shaders to serve as a starting point in the Shader Editor.
The terrain capabilities of the C4 Engine are based on a voxel technology,[11] allowing full 3D sculpting to produce features such as overhangs, arches, and truly vertical cliffs that would not be possible under a conventional height-based terrain system. Triangle meshes are generated from voxel data using the Marching cubes algorithm, and seamless multiresolution level of detail is made possible by using the Transvoxel algorithm to stitch together regions of differing resolutions.
The engine is capable of rendering a large variety of special effects, including particle systems, procedural fire, electrical effects, volumetric fog, and weather phenomena.[12] During a post-processing stage, the engine can also apply full-scene cinematic motion blur to the final image using a technique based on a velocity buffer,[13] as well as glow and distortion effects. The engine does not provide the capability to design custom post-processing effects.
Audio
The C4 Engine can play sounds stored in the WAV format using 16-bit mono or stereo sampling, and audio data can be played from memory or streamed from disk. The engine plays sounds using a custom mixer that provides capabilities such as frequency shifting, Doppler effect, reverberation, and atmospheric absorption.
Networking
Multiplayer gameplay in C4 is supported by a two-layer messaging system that uses the UDP protocol to communicate among different computers connected to a game.
Physics
The C4 Engine has a native physics engine which can be used or allows the option for implementing a 3rd party solution instead.
Tools
The C4 Engine ships with a number of tools that are essential for the development of a game. Each tool is packaged as a plugin module that exists separately from the engine itself. Many tools make use of the comprehensive graphical user interface system provided by the engine so that a consistent interface is presented to the user across multiple platforms.
World Editor
The World Editor tool is a 3D content creation application that is typically used to create game environments for use with the C4 Engine. It provides a large set of drawing and manipulation capabilities that are used to construct world geometry as well as many game necessities such as lights, sounds, triggers, and special effects.[14][15]
The World Editor can import scene information through the OpenGEX[16] and COLLADA formats.[17] This enables the use of content from a large number of digital content creation programs such as Autodesk Maya or 3D Studio Max.
Script editor
The World Editor tool includes a graphical script editor designed to be accessible to artists and level designers as well as programmers. The script editor allows the user to place various “methods” into a directed graph connected by “fibers” representing action dependencies and the order of execution.[18] Scripts support loops through the creation of cycles in the graph structure, and conditional execution is supported by marking fibers to be followed or not followed based on the result value output by the methods at which they start.
The engine ships with several standard script methods that perform simple actions such as enabling or disabling a scene node (for example, to turn a light on or off) and more complex actions such as evaluating an arbitrary mathematical expression. New script methods can be defined by the game code, and they appear in the script editor as custom actions that can be used by a level designer.
Panel editor
The World Editor tool includes a sub-editor called the “panel editor” providing for the creation of 2D interface panels that can be placed inside a 3D world. The panel editor lets the user place various types of widgets such as text and images in a panel effect node that is rendered as part of the scene.[19] Panels can also include a special camera widget that displays the scene that is visible to a camera placed anywhere else in the same world.
Interface panels are both dynamic and interactive. The engine provides an extensible set of “mutators” that can be applied to individual panel items to induce various forms of animation such as scrolling, rotation, or color change. A character in a game can interact with a panel by approaching it and clicking the mouse inside interactive items. Script can be attached to such items, causing a sequence of actions to occur when the player activates them.
Licensing
There are two types of commercial licenses available for the C4 Engine.[20] A Standard Edition is available to independent developers who do not receive funding from a major publisher. A Professional Edition is available for professional game developers who either wish to develop games for consoles or are funded by a publisher and have received at least US$100,000 (US) from the publisher in funding. There is also an Academic Edition is available to educational institutions that use the C4 Engine for instructional purposes.
Each edition of the C4 Engine includes the complete source code to the engine, sample games, and tools. All licenses for the C4 Engine include all future updates at no additional cost, in perpetuity. Products created with the C4 Engine are required to display the C4 Engine logo.
Academics
The C4 Engine has been licensed by many universities in connection with games-oriented software engineering curricula or for special research projects. These universities include MIT, Georgia Tech, Worcester Polytechnic Institute (WPI), McMaster University, and the University of Kempten.[21] Students in some of these programs are required to create their own games as part of a course using the C4 Engine, and many of these projects have gone on to be entered in the Independent Games Festival student competition.[22]
One particular university research project involved the TactaVest technology developed at WPI,[23] and their use of the C4 Engine was featured in the Discovery Channel Canada television show Daily Planet airing on May 26, 2006.[24]
Games using C4
Games that use the C4 Engine include:
- World of Subways (winner of Best Corporate Game at CeBIT 2009)[25][26]
- City Bus Simulator 2010[26][27]
- Lego Wolf3D[28][29][30]
- Quest of Persia: Lotfali Khan Zand (winner of "Best Persian Game of the Year" at Game Expo Dubai 2008)[31]
- The 31st[26][32]
- Utility Vehicle Simulator 2012[26][33]
- Bridge! The Construction Game[26][33]
- Rolling[33]
- Wingball[26][34]
- Ludicrous[26][35]
- Gremlin Invasion[26][36]
- Gremlin Invasion: Survivor[26][37]
- 1 Carnaval De Distorções[26][38]
- Tauchfahrt zur Titanic[26][38]
- Bounce![39]
- The Visible Dark[26]
- World Hunter[26][40]
- Rabbit[26][41]
- GreySoul[26][42]
- Project Reality 2 (Pre-CryEngine 3)[43]
References
- ↑ "PlayStation®4 Tools & Middleware Developers".
- ↑ Thorn, Alan (2011). Game Engine Design and Implementation. Jones and Bartlett. p. 559. ISBN 978-0-7637-8451-5.
- ↑ "DevMaster.net engine database".
- ↑ "C4 Engine Release Notes".
- ↑ "C4 Engine Architecture".
- ↑ Gregory, Jason; Lander, Jeff (2009). Game Engine Architecture. AK Peters. p. 27. ISBN 978-1-56881-413-1.
- ↑ "OpenGL API-based Product Listings". OpenGL.org.
- ↑ "Lights and Shadows". C4 Engine wiki.
- ↑ Brady, James; Cruz, A.A.; Huntsman, James; Vasquez, David (2012). The Beginner's Guide to the C4 Engine (2nd ed.). ISBN 978-0-9858117-1-6.
- ↑ "Shader Editor". C4 Engine wiki.
- ↑ Clarke, Keith C. Getting Started with Geographic Information Systems. Prentice Hall. p. 227. ISBN 978-0-13-149498-5.
- ↑ "C4 Engine Features".
- ↑ Lengyel, Eric (2011). Game Engine Gems. Jones and Bartlett. pp. 235–248. ISBN 978-0-7637-7888-0.
- ↑ Shiratuddin, Mohd Fairuz; Kitchens, Kevin; Fletcher, Desmond (2008). Virtual Architecture: Modeling and Creation of Real-Time 3D Interactive Worlds. Lulu.com. ISBN 978-1-4357-5642-7.
- ↑ "World Editor". C4 Engine wiki.
- ↑ "Open Game Engine Exchange".
- ↑ "Technology-enabled COLLADA products". Khronos.org.
- ↑ "Script Editor". C4 Engine wiki.
- ↑ "Panel Editor". C4 Engine wiki.
- ↑ "C4 Engine Licensing".
- ↑ "List of schools using the C4 Engine".
- ↑ "CS IMGD IGF Submissions".
- ↑ "TactaVest at WPI".
- ↑ "Daily Planet video about TactaVest and C4 Engine".
- ↑ World of Subways: Home
- ↑ 26.0 26.1 26.2 26.3 26.4 26.5 26.6 26.7 26.8 26.9 26.10 26.11 26.12 26.13 26.14 C4 Engine Screenshots
- ↑ City Bus Simulator: HOME
- ↑ "Lego Wolf3D website".
- ↑ "Wolf 3D Dome news".
- ↑ "Free PC Gamers".
- ↑ "Quest of Persia website".
- ↑ The 31st - A Game by Terathon Software
- ↑ 33.0 33.1 33.2 MK-Lab
- ↑ Wingball - Home - Freeware game for Windows, Linux (soon) and Mac (eventually)
- ↑ Ludicrous Windows, Mac game - Indie DB
- ↑ CS Squared Games
- ↑ CS Squared Games
- ↑ 38.0 38.1 1 Carnaval de Distorções » Saiba mais sobre o projeto em desenvolvimento
- ↑
- ↑ PSR Outdoors. The most realistic hunting games for your PC
- ↑ http://www.archangelstudio.net/
- ↑
- ↑ Project Reality 2 | Project Reality
External links
- Official C4 Engine website
- C4 Engine reviews on DevMaster.net
- C4 Engine on IndieDB
- C4 Engine Facebook page
- C4 Engine on Google+
- C4 Engine Twitter feed