Jump to content

id Tech 3

From Wikipedia, the free encyclopedia

id Tech 3
Developer(s)id Software
Stable release
1.32b / August 19, 2005; 18 years ago (2005-08-19)
Repositorygithub.com/id-Software/Quake-III-Arena
Written inC
(rewritten 14% in C++)
PlatformWindows, Mac OS, OS X, Linux, Dreamcast, GameCube, Nintendo Switch, PlayStation 2, PlayStation 3, PlayStation 4, Xbox, Xbox 360, iOS, Android
PredecessorQuake II engine
Successorid Tech 4, IW engine
LicenseGNU GPL-2.0-or-later
Websitewww.idsoftware.com/business/idtech3/ Edit this on Wikidata
Star Trek: Elite Force II was one of the last games to utilize the id Tech 3 engine.

id Tech 3, popularly known as the Quake III Arena engine, is a game engine developed by id Software for their video game Quake III Arena. It has been adopted by numerous games. During its time, it competed with the Unreal Engine; both engines were widely licensed.

While id Tech 3 is based on id Tech 2 engine, a large amount of the code was rewritten. Successor id Tech 4 was derived from id Tech 3, as was Infinity Ward's IW engine used in Call of Duty 2 onwards.

At QuakeCon 2005, John Carmack announced that the id Tech 3 source code would be released under the GNU General Public License v2.0 or later, and it was released on August 19, 2005. Originally distributed by id via FTP,[1] the code can now be downloaded from id's GitHub account.

Features

[edit]

Graphics

[edit]

Unlike most other game engines released at the time — including its primary competitor, the Unreal Engine, id Tech 3 requires an OpenGL-compliant graphics accelerator to run. The engine does not include a software renderer.

id Tech 3 introduced spline-based curved surfaces in addition to planar volumes, which are responsible for many of the surfaces present within the game.[2]

Shaders

The graphical technology of the game is based tightly around a "shader" system where the appearance of many surfaces can be defined in text files referred to as "shader scripts." Shaders are described and rendered as several layers, each layer contains a texture, a "blend mode" which determines how to superimpose it over the previous layer and texture orientation modes such as environment mapping, scrolling, and rotation. These features can readily be seen within the game with many bright and active surfaces in each map and even on character models. The shader system goes beyond visual appearance, defining the contents of volumes (e.g. a water volume is defined by applying a water shader to its surfaces), light emission and which sound to play when a volume is trodden upon.[3] In order to assist calculation of these shaders, id Tech 3 implements a specific fast inverse square root function, which attracted a significant amount of attention in the game development community for its clever use of integer operations.[4][5]

Video

In-game videos all use a proprietary format called "RoQ", which was originally created by Graeme Devine, the co-designer of Quake 3, for the game The 11th Hour. Internally RoQ uses vector quantization to encode video and DPCM to encode audio. While the format itself is proprietary it was successfully reverse-engineered in 2001,[6] and the actual RoQ decoder is present in the Quake 3 source code release. RoQ has seen little use outside games based on the id Tech 3 or id Tech 4 engines, but is supported by several video players (such as MPlayer) and a handful of third-party encoders exist. One notable exception is the Unreal Engine-based game Postal 2: Apocalypse Weekend, which uses RoQ files for its intro and outro cutscenes, as well as for a joke cutscene that plays after a mission at the end of part one.

Models

id Tech 3 loads 3D models in the MD3 format. The format uses vertex movements (sometimes called per-vertex animation) as opposed to skeletal animation in order to store animation. The animation features in the MD3 format are superior to those in id tech 2.5's MD2 format because an animator is able to have a variable number of key frames per second instead of MD2's standard 10 key frames per second. This allows for more complex animations that are less "shaky" than the models found in Quake II.

Another important feature about the MD3 format is that models are broken up into three different parts which are anchored to each other. Typically, this is used to separate the head, torso and legs so that each part can animate independently for the sake of animation blending (i.e. a running animation on the legs, and shooting animation on the torso). Each part of the model has its own set of textures.

The character models are lit and shaded using Gouraud shading while the levels (stored in the BSP format) are lit either with lightmaps or Gouraud shading depending on the user's preference. The engine is able to take colored lights from the lightgrid and apply them to the models, resulting in a lighting quality that was, for its time, very advanced.

In the GPLed version of the source code, most of the code dealing with the MD4 skeletal animation files was missing.[citation needed] It is presumed that id simply never finished the format,[7] although almost all licensees derived their own skeletal animation systems from what was present. Ritual Entertainment did this for use in the game, Heavy Metal: F.A.K.K.², the SDK to which formed the basis of MD4 support completed by someone who used the pseudonym Gongo.[8]

Dynamic shadows

The engine is capable of three different kinds of shadows. One just places a circle with faded edges at the characters' feet, commonly known as the "blob shadow" technique. The other two modes project an accurate polygonal shadow across the floor. The difference between the latter two modes is one's reliance on opaque, solid black shadows while the other mode attempts (with mixed success) to project depth-pass stencil shadow volume shadows in a medium-transparent black. Neither of these techniques clip the shadow volumes, causing the shadows to extend down walls and through geometry.

Other rendering features

Other visual features include volumetric fog, mirrors, portals, decals, and wave-form vertex distortion.

Sound

[edit]

id Tech 3's sound system outputs to two channels using a looping output buffer, mixed from 96 tracks with stereo spatialization and Doppler effect. All of the sound mixing is done within the engine, which can create problems for licensees hoping to implement EAX or surround sound support.[citation needed] Several popular effects such as echoes are also absent.

A major flaw of the sound system is that the mixer is not given its own thread,[9] so if the game stalls for too long (particularly while navigating the menus or connecting to a server), the small output buffer will begin to loop, a very noticeable artifact. This problem was also present in the Doom 3, Quake, and Quake II engines.[citation needed]

Networking

[edit]

id Tech 3 uses a "snapshot" system to relay information about game "frames" to the client over UDP. The server updates object interaction at a fixed rate independent of the rate clients update the server with their actions and then attempts to send the state of all objects at that moment (the current server frame) to each client. The server attempts to omit as much information as possible about each frame, relaying only differences from the last frame the client confirmed as received (Delta encoding). All data packets are compressed by Huffman coding with static pre-calculated frequency data to reduce bandwidth use even further.[10]

Quake 3 has an integrated and relatively elaborate cheat-protection system called "pure server". Any client connecting to a pure server automatically has pure mode enabled, and while pure mode is enabled only files within data packs can be accessed. Clients are disconnected if their data packs fail one of several integrity checks. The cgame.qvm file, with its high potential for cheat-related modification, is subject to additional integrity checks.[citation needed] Developers must manually deactivate pure server to test maps or mods that are not in data packs using the PK3 file format. Later versions supplemented pure server with PunkBuster support, though all the hooks to it are absent from the source code release because PunkBuster is closed source software and including support for it in the source code release would have caused any redistributors/reusers of the code to violate the GPL.[11]

Virtual machine

[edit]

id Tech 3 uses a virtual machine to control object behavior on the server, effects and prediction on the client and the user interface. This presents many advantages as mod authors do not need to worry about crashing the entire game with bad code, clients could show more advanced effects and game menus than was possible in Quake II and the user interface for mods was entirely customizable.

Virtual machine files are developed in ANSI C, using LCC to compile them to a 32-bit RISC pseudo-assembly format. A tool called q3asm then converts them to QVM files, which are multi-segmented files consisting of static data and instructions based on a reduced set of the input opcodes. Unless operations which require a specific endianness are used, a QVM file will run the same on any platform supported by Quake 3.

The virtual machine also contained bytecode compilers for the x86 and PowerPC architectures, executing QVM instructions via an interpreter.

ioquake3

[edit]
Automatic specular and normal mapping in ioQuake3, Tremulous 1.3 prerelease client

Ioquake3 is a game engine project which aims to build upon the id Tech 3 source code release[12][13] in order to remove bugs, clean up source code and to add more advanced graphical and audio features via SDL and OpenAL. ioquake3 is also intended to act as a clean base package, upon which other projects may be built. The game engine supports Ogg Vorbis format and video capture of demos in .avi format.[14]

The project was started shortly after the source code release with the goal of creating a bug-free, enhanced open source Quake III engine source code distribution upon which new games and projects can be based. In addition, the project aims to provide an improved environment in which Quake III: Arena, the Team Arena expansion pack and all the popular mods can be played.[15][16][17][18] The project added features including builtin VoIP support, Anaglyph stereo rendering (for viewing with 3D glasses), and numerous security fixes.

Ioquake3 has been the basis of several game projects based on the id Tech 3 engine, such as OpenArena (mimicking Quake III Arena), Tremulous,[19][20] Smokin' Guns,[21] Urban Terror,[22][23] Turtle Arena and World of Padman[24][25] and game engine projects such as efport (a Star Trek: Voyager – Elite Force Holomatch clone), ioJedi Outcast, ioJedi Academy, ioDoom3, and OpenMoHAA. The engine and its associated games have been included in several Linux and BSD distributions. The cMod engine derived from the earlier Elite Force port was used to package the 20th anniversary freeware release of the game for Windows and Linux.[26]

The source code for the Return to Castle Wolfenstein and Wolfenstein: Enemy Territory engines was released under GNU GPL-3.0-or-later on August 12, 2010.[27] The ioquake3 developers announced the start of other engine projects.[28]

The ioquake3 project has been used academic research such as Stanford University's Center for Computer Research in Music and Acoustics (CCRMA),[29][30] Notre Dame as the foundation for VR research,[31] and Swinburne University of Technology's Centre for Advanced Internet Architectures.[32][33] Collaborative efforts from researchers at Carnegie Mellon University and the University of Toronto use ioquake3 as a platform for their published research.[34][35] Students have used ioquake3 as the basis for advanced graphics work for their theses, such as Stephan Reiter's work[36][37] which has been noted at the LLVM project[38] due to his synthesis of the ioquake3 engine, ray-tracing rendering technique, and LLVM.

Other derived engines include XreaL,[39][40] Kwaak3 for Android[41][42][43][44][45][46] and Quake-3-Android-Port-QIII4A.[47]

Games

[edit]

Proprietary license

[edit]
Year Title Developer Notes
1999 Quake III Arena id Software
2000 Heavy Metal: F.A.K.K. 2 Ritual Entertainment ÜberTools
Star Trek: Voyager – Elite Force Raven Software
American McGee's Alice Rogue Entertainment ÜberTools
Quake III: Team Arena id Software
2001 Quake III Revolution Bullfrog Productions
James Bond 007: Agent Under Fire EA Redwood Shores ÜberTools
Return to Castle Wolfenstein Gray Matter Studios (SP)
Nerve Software (MP)
2002 Medal of Honor: Allied Assault 2015, Inc. ÜberTools
Star Wars Jedi Knight II: Jedi Outcast Raven Software
Soldier of Fortune II: Double Helix Raven Software
Medal of Honor: Allied Assault - Spearhead EA Los Angeles ÜberTools
2003 Wolfenstein: Enemy Territory Splash Damage
Star Trek: Elite Force II Ritual Entertainment ÜberTools
Medal of Honor: Allied Assault - Breakthrough TKO Software ÜberTools
Star Wars Jedi Knight: Jedi Academy Raven Software
Call of Duty Infinity Ward ÜberTools
2004 James Bond 007: Everything or Nothing EA Redwood Shores ÜberTools
Call of Duty: United Offensive Gray Matter Studios
Treyarch
ÜberTools
Medal of Honor: Pacific Assault EA Los Angeles ÜberTools
2008 Iron Grip: Warlord ISOTX
2009 Dark Salvation Mangled Eye Studios
Call of Duty Classic Infinity Ward ÜberTools
2010 Quake Live id Software
Cancelled Severity Escalation Studios
Trinity: The Shatter Effect Gray Matter Studios

Free license

[edit]
  • OpenArena – An open source standalone game based heavily on the Quake III Arena-style deathmatch. The gameplay attempts to emulate Quake III Arena in that the player scores frags to win the game using a variety of different weapons. OpenArena is also capable of running some Quake III Arena based mods such as older versions of Tremulous[citation needed]. OpenArena runs on ioquake3 and version 0.8 has been successfully ported to Android.[48]
  • Space Trader – An action/strategy game from HermitWorks Entertainment.
  • Smokin' Guns – An open source first person game that intended to be a semi-realistic simulation of the "Old West's" atmosphere. Originally a Quake III Arena modification, it was then ported to the ioquake3 engine in 2009.[49]
  • Urban Terror – A Quake III Arena total conversion mod while designed and released to work with the retail software Quake III Arena, it is also compatible with open source engine alternatives. The gameplay can be compared to Counter-Strike with a larger focus on movement with its parkour features. Urban Terror runs on the ioquake3 engine.
  • Tremulous – Tremulous is an open sourced asymmetric alien vs human team based first-person shooter with elements of real time strategy. Each team may construct and defend a base, consisting of essential and support structures which aid the players in some way. Victory for a team is typically done by eliminating enemy spawn structures and remaining players. Tremulous started as a Quake III Arena mod, but on version 1.1 the game was ported over to the ioquake3 engine. It has spawned a successor called Unvanquished, which runs on the Daemon engine.
  • World of Padman – The game is based on the Padman comic strip for the magazine PlayStation Games[citation needed], created by the professional cartoon artist Andreas 'ENTE' (German for "Duck") Endres. He also served as a level designer for the game. The current version runs on an enhanced version of the ioquake3 engine.

See also

[edit]

References

[edit]
  1. ^ quake3-1.32b-source.zip
  2. ^ Jennell Jaquays, Brian Hook. "Quake III Arena Shader Manual". p. 5. Archived from the original on April 14, 2006. Retrieved October 1, 2006.
  3. ^ Jennell Jaquays, Brian Hook. "Quake III Arena Shader Manual". p. 1. Archived from the original on September 4, 2006. Retrieved October 1, 2006.
  4. ^ Eberly, David (2002). "Fast Inverse Square Root" (PDF). Geometric Tools. p. 2. Archived from the original (PDF) on February 24, 2009.
  5. ^ Sommefeldt, Rys (November 29, 2006). "Origin of Quake3's Fast InvSqrt()". Beyond3D. Archived from the original on February 9, 2009. Retrieved February 12, 2009.
  6. ^ Tim Ferguson (2001). "Id Software's .RoQ Video File Format". Archived from the original on September 1, 2006. Retrieved October 1, 2006.
  7. ^ ioquake3 md4-readme.txt
  8. ^ gongo. "md4 v4 file spec, by gongo". Archived from the original on July 15, 2011. Retrieved August 11, 2012.
  9. ^ "Sound in the main thread". Retrieved January 16, 2009.
  10. ^ "Book of Hook: The Quake3 Networking Model". Archived from the original on October 27, 2006. Retrieved October 1, 2006.
  11. ^ "Ioquake3 Help Page". Archived from the original on January 11, 2016. Retrieved February 17, 2007.
  12. ^ "Complete Guide: Configure and Customise ioQuake3 in Linux". Linux Today. Archived from the original on March 9, 2012. Retrieved January 3, 2010.
  13. ^ "Quake 3 ported to iPod Touch with tilt controls – Betanews". April 14, 2008. Retrieved January 4, 2010.
  14. ^ Valich, Theo (April 3, 2007). "Two free games based on the Quake 3 engine tip up". The Inquirer. Archived from the original on August 28, 2010. Retrieved January 12, 2010.{{cite web}}: CS1 maint: unfit URL (link)
  15. ^ "ioquake3 for OS X – Inside Mac Games". Archived from the original on September 24, 2015. Retrieved January 3, 2010.
  16. ^ "ioquake3 for Mac OS X available for download – Macsimum News". Archived from the original on September 12, 2006. Retrieved January 3, 2010.
  17. ^ "IOQuake3 OSX : Clone de Quake III (gratuit) – MaxiApple.com". May 10, 2009. Retrieved January 3, 2010.
  18. ^ "IOQuake3 1.34 – Jogue Quake 3 no Mac OS X – Maclivre.net". Archived from the original on July 23, 2011. Retrieved January 4, 2010.
  19. ^ "Tremulous about page". Archived from the original on December 10, 2015. Retrieved November 4, 2009.
  20. ^ "Quake, Meet GPL; GPL, Meet Quake – Linux Journal". Archived from the original on October 1, 2020. Retrieved January 4, 2010.
  21. ^ "Entretien avec l'équipe de Smokin'Guns – JeuxLinux". Archived from the original on March 19, 2021. Retrieved November 4, 2009.
  22. ^ "Urban Terror manual". Retrieved May 18, 2015.
  23. ^ "Two free games based on the Quake 3 engine tip up – The Inquirer". Archived from the original on August 28, 2010. Retrieved January 4, 2010.{{cite web}}: CS1 maint: unfit URL (link)
  24. ^ "A Look At Free Quake3 Engine Based Games – Slashdot". Archived from the original on March 19, 2021. Retrieved January 3, 2010.
  25. ^ "Comparison of free software shooters – linuX-gamers.net". Retrieved January 4, 2010.[dead link]
  26. ^ Procter, Lewie (August 13, 2020). "Star Trek: Voyager Elite Force Holomatch Gets Free 20th Anniversary Re-Release". wePC. Retrieved March 25, 2023.
  27. ^ ftp://ftp.idsoftware.com/idstuff/source/[permanent dead link]
  28. ^ Larabel, Michael (June 13, 2010). "id Software Open-Sources ET, RTCW". Phoronix. Archived from the original on August 16, 2010. Retrieved August 13, 2010.
  29. ^ "Q3osc research paper" (PDF). Archived (PDF) from the original on March 19, 2021. Retrieved January 9, 2010.
  30. ^ "Q3osc wiki". Retrieved January 9, 2010.
  31. ^ "A Survey of Collaborative Virtual Environment Technologies" (PDF). Archived from the original (PDF) on October 10, 2015. Retrieved January 9, 2010.
  32. ^ "L3DGEWorld 2.1 Input & Output Specifications" (PDF). Archived (PDF) from the original on October 5, 2011. Retrieved January 9, 2010.
  33. ^ "L3DGEWorld 2.3". Archived from the original on October 5, 2011. Retrieved January 9, 2010.
  34. ^ "VMM-Independent Graphics Acceleration" (PDF). Archived from the original (PDF) on October 9, 2009. Retrieved January 9, 2010.
  35. ^ VMM article in ACM. June 13, 2007. pp. 33–43. doi:10.1145/1254810.1254816. ISBN 978-1-59593-630-1. S2CID 655357. Retrieved January 9, 2010.
  36. ^ "Real-time Ray Tracing of Dynamic Scenes". Retrieved April 22, 2012.
  37. ^ "Run-Time Code Generation for Materials". Retrieved April 22, 2012.
  38. ^ "LLVM Users, Open Source Projects". Archived from the original on February 23, 2021. Retrieved January 9, 2010.
  39. ^ Larabel, Michael (April 9, 2009). "XreaL: The Most Advanced Open-Source Game Engine?". Phoronix. Retrieved July 21, 2024.
  40. ^ Larabel, Michael (December 1, 2012). "The State Of XReaL, OpenWolf Game Engines". Phoronix. Retrieved July 21, 2024.
  41. ^ "Quake 3, Android style". TechCrunch. February 25, 2010. Retrieved July 21, 2024.
  42. ^ Larabel, Michael (February 23, 2010). "Quake 3 Comes To Google's Android Platform". Phoronix. Retrieved July 21, 2024.
  43. ^ Spencer, Spanner (February 26, 2010). "Quake 3 ported to Android". Pocket Gamer. Retrieved July 21, 2024.
  44. ^ Savov, Vlad (February 25, 2010). "Quake 3 ported to Android, shows off Droid's graphical prowess (video)". Engadget. Retrieved July 21, 2024.
  45. ^ Perez, Anthony (February 24, 2010). "Quake 3 Successfully Ported To Android 2.0 Devices". Phanadroid. Retrieved July 21, 2024.
  46. ^ Kennemer, Quentyn (May 10, 2010). "Quake 3 Finally Ported To The Nexus One". Phanadroid. Retrieved July 21, 2024.
  47. ^ Rahman, Mishaal (May 16, 2017). "How to play Return to Castle Wolfenstein, Doom 3, and Quake 3 (with Arena) on your Android device". XDA Developers. Retrieved July 21, 2024.
  48. ^ "OpenArena - Android Apps on Google Play". Google Play. Archived from the original on September 25, 2015. Retrieved January 22, 2018.
  49. ^ Bougard, Guillaume (alias Tequila) (January 22, 2009). "Smokin'Guns ioquake3 backport". Smokin'Guns Productions. Retrieved January 26, 2010.
[edit]