Source (game engine)

Source (game engine)
Source engine
Source engine logo
Non-photorealistic rendering in Team Fortress 2 Photorealistic character rendering in Left 4 Dead 2
Developer(s) Valve Corporation
Stable release Build 4687 / 2011
Written in C++
Platform Microsoft Windows
Mac OS X
Xbox
Xbox 360
PlayStation 3
License Proprietary
Website http://source.valvesoftware.com/

Source is a 3D game engine developed by Valve Corporation. It debuted in June 2004 with Counter-Strike: Source and shortly thereafter Half-Life 2, and has been in active development ever since. Unusually for a game engine, Source was designed to receive constant incremental updates and does not have a meaningful version numbering scheme.[1]

Source was created to power first-person shooters, but has also been used professionally to create role-playing, puzzle, MMORPG, top-down shooter and real-time strategy games.

Contents

Notable technology

For a more complete list, see Source Engine Features at the Valve Developer Community.

Modularity and notable upgrades

Source was created to evolve incrementally as technology moves onwards, as opposed to the backwards compatibility-breaking "version jumps" of its competitors. With Steam, Valve can distribute automatic updates with new versions of the engine among its many users.

In practice however, there have been occasional breaks in this chain of compatibility. The release of Half-Life 2: Episode One and The Orange Box both introduced new versions of the engine that could not be used to run older games or mods without the developers performing upgrades to code and, in some cases, content. But both times the work required to move from the older version to the newer was significantly less than what one might have come to expect from other engines. This was demonstrated in 2010 when Valve updated all of their core Source games to the very latest engine build.[16]

Since Source's release in 2004, the following major architectural changes have been made:

High dynamic range rendering (2005, Day of Defeat: Source)
Simulation of a camera aperture and the ability to fake the effects of brightness values beyond computer monitors' actual range. Required all of the game's shaders to be rewritten.[17]
"Soft" particles (2007, The Orange Box)
An artist-driven, threaded particle system replaced previously hard-coded effects.[5]
Hardware facial animation (2007, The Orange Box)
Hardware accelerated on modern video cards for "feature film and broadcast television" quality.[6]
Multiprocessor support (2007, The Orange Box)
A large code refactoring allowed the Source engine to take advantage of multiple CPU cores on the PC, Xbox 360 and Playstation 3.[18] On the PC, support was experimental and unstable[19] until the release of Left 4 Dead.[20] Multiprocessor support was later backported to Team Fortress 2 and Day of Defeat: Source.[21]
Xbox 360 support (2007, The Orange Box)
Valve created the Xbox 360 release of The Orange Box in-house, and support for the console, unlike support for the PlayStation 3, is fully integrated into the main engine codeline. It includes asset converters, cross-platform play and Xbox Live integration.[22] Program code can be ported from PC to Xbox 360 simply by recompiling it.[23]
Mac OS X support (2010, multiple games)
In April 2010 Valve released all of their major Source games on Mac OS X. All future Valve games will be released simultaneously for Windows and Mac.[24][25] Games will only use Direct3D on Windows, and only OpenGL on the other platforms.
PlayStation 3 support (2011, Portal 2)
Source first appeared on the PlayStation 3 in 2007, but with an engine port that was created externally and which was plagued with issues. Valve took the problem in-house for Portal 2, and in combination with Steamworks integration created what they called "the best console version of the game".[26]

Future technology

Cloth

Dota 2 will introduce cloth simulation.[27]

New authoring tools

As of May 2011, one of Valve's largest projects is developing new content authoring tools for Source.[1] These will replace the engine's current set of aging tools, allowing content to be created faster and more efficiently. Studio head Gabe Newell has explained that the way in which content is made in the engine's current version as "very painful" and "sluggish".[28]

An in-process tools framework was created in 2007, and is currently used by the engine's particle editor and by Source Filmmaker (see below).

Source Filmmaker

The tool used to create Team Fortress 2's "Meet the Team" videos as well as Left 4 Dead's introduction videos is the "Source Filmmaker", a video capture and editing application that works from inside the engine.[29] It allows users to record themselves many times over in the same scene, creating the illusion of many participants, as well as supporting a wide range of cinematographic effects and techniques such as motion blur, Tyndall effects, Dynamic Lighting, and depth of field. (Motion blur has now been added to the games themselves, though only when the view is moving at high speeds—not per-object as in the film-maker.) It also allows manual animation of bones and facial features, allowing the user to create scenes that can't happen in-game. This tool is expected to be released to the public upon release of "Meet the Pyro", the final "Meet the Team" video.[citation needed] Currently this tool can be found in the very first release of Team Fortress 2, but there is no official support for it. A limited version of this functionality is currently encapsulated in Team Fortress 2 as a Replay feature; it is limited to capturing the actual events occurring over the course of a player's life with no ability to modify actions, repeat segments, nor apply special effects beyond those already used in-game. However, arbitrary camera angles are possible, as is tracking the actions of any other player in action at the time. Replay incorporates the ability to upload completed videos to YouTube.

Image-Based Rendering

Image-based rendering technology had been in development for Half-Life 2[30] but was cut from the engine before its release. It was mentioned again by Gabe Newell in 2006 as a piece of technology he would like to add to his company's engine in order for them to support far larger scenes than are possible with strictly polygonal objects.[31]

Origins

Screenshot from Zeno Clash, a third-party Source game.

Source distantly originates from the GoldSrc engine, itself a heavily modified version of John D. Carmack's Quake engine, as is explained by Valve employee Erik Johnson on the Valve Developer Community:[32]

When we were getting very close to releasing Half-Life (less than a week or so), we found there were already some projects that we needed to start working on, but we couldn't risk checking in code to the shipping version of the game. At that point we forked off the code in VSS to be both $/Goldsrc and /$Src. Over the next few years, we used these terms internally as "Goldsource" and "Source". At least initially, the Goldsrc branch of code referred to the codebase that was currently released, and Src referred to the next set of more risky technology that we were working on. When it came down to show Half-Life 2 for the first time at E3, it was part of our internal communication to refer to the "Source" engine vs. the "Goldsource" engine, and the name stuck.

Source was developed part-by-part from this fork onwards, slowly replacing GoldSrc in Valve's internal projects[33] and explaining in part the reasons behind its unusually modular nature. Valve's development of Source since has been a mixture of licensed middleware (Havok Physics, albeit heavily modified, and MP3 playback) and in-house-developed code.

John Carmack commented on his blog in 2004 that "there are still bits of early Quake code in Half-Life 2".[34]

Criticism

Toolset

Valve is currently creating a new set of tools.

The Source SDK tools are criticised for being outdated and difficult to use.[35][36] A large number of the tools, including those for texture and model compilation, require varying levels of text-editor scripting from the user before they are executed at the command line with sometimes quite lengthy console commands.[37] This obtuseness was cited by the University of London when they moved their exploration of professional architectural visualisation in computer games to Bethesda Softworks' Gamebryo-based Oblivion engine after a brief period with Source.[38] Third-party tools provide GUIs,[39] but are not supported by Valve.

The interface of Valve's Hammer Editor, the SDK's world-creation tool, has not changed significantly since its initial release for GoldSrc and the original Half-Life in 1998.

Valve Developer Community

On June 28, 2005, Valve opened the Valve Developer Community Wiki. VDC replaced Valve's static Source SDK documentation with a full MediaWiki-powered community site; within a matter of days Valve reported that "the number of useful articles nearly doubled". These new articles covered the previously undocumented Counter-Strike: Source bot (added by the bot's author, Mike Booth), Valve's NPC AI, advice for mod teams on setting up source control, and more.

Papers

Valve staff occasionally produce papers for various events and publications, including SIGGRAPH, Game Developer Magazine and Game Developers Conference, explaining various aspects of Source's development. They are aimed at professional audiences and often discuss complex concepts. They are listed on Valve's corporate website.

See also

References

  1. ^ a b Crossley, Rob (12th May 2011). "Valve on Source and studio culture". Develop Magazine. http://www.develop-online.net/features/1191/Valve-on-Source-and-studio-culture. Retrieved 14 August 2011. "We have as many people working on our tools as we have working on a single project. So, about twenty to thirty core people." 
  2. ^ "Source Multiplayer Networking". Valve Developer Community. 2005-06-30. http://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking. Retrieved 2008-07-20. 
  3. ^ "VPhysics". Valve Developer Community. http://developer.valvesoftware.com/wiki/VPhysics. Retrieved 2011-08-15. 
  4. ^ "Multi-Core in the Source Engine Core". Bit-tech. 2006-11-02. http://www.bit-tech.net/gaming/2006/11/02/Multi_core_in_the_Source_Engin/1.html. Retrieved 2006-11-02. 
  5. ^ a b "Source - Rendering System". Source Engine Brochure. Valve Corporation. http://source.valvesoftware.com/rendering.php. Retrieved 15 August 2011. 
  6. ^ a b "Face-to-Face with TF2's Heavy". Steam news. 2007-05-14. http://store.steampowered.com/news/1039/. Retrieved 2010-04-25. 
  7. ^ "$sequence". Valve Developer Community. 2007-09-08. http://developer.valvesoftware.com/wiki/$sequence. Retrieved 2008-07-20. 
  8. ^ "$ikchain". Valve Developer Community. 2007-09-08. http://developer.valvesoftware.com/wiki/$ikchain. Retrieved 2008-07-20. 
  9. ^ Vlachos, Alex (July 28, 2010). "Water flow in Portal 2". Valve Corporation. http://www.valvesoftware.com/publications/2010/siggraph2010_vlachos_waterflow.pdf. 
  10. ^ Vlachos, Alex (March 9, 2010). "Rendering Wounds in Left 4 Dead 2". Valve Corporation. http://www.valvesoftware.com/publications/2010/gdc2010_vlachos_l4d2wounds.pdf. 
  11. ^ "$distancealpha". http://developer.valvesoftware.com/wiki/%24distancealpha. Retrieved 2009-07-05. 
  12. ^ "Improved Alpha-Tested Magnification for Vector Textures and Special Effects". SIGGRAPH 2007. 2007-08-05. http://www.valvesoftware.com/publications/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf. Retrieved 2008-05-20. 
  13. ^ "L4D2 VScripts". Valve Developer Community. http://developer.valvesoftware.com/wiki/L4D2_Vscripts. Retrieved February 12, 2010. 
  14. ^ "Mod wizard complete". Valve Developer Community. 2008-02-24. http://developer.valvesoftware.com/wiki/Mod_wizard_complete. Retrieved 2008-07-20. 
  15. ^ "VMPI". Valve Developer Community. http://developer.valvesoftware.com/wiki/VMPI. Retrieved December 5, 2008. 
  16. ^ "Source 2009". Valve Developer Community. http://developer.valvesoftware.com/wiki/Source_2009#Availability. Retrieved 17 September 2010. 
  17. ^ Valve Corporation. Half-Life 2: Lost Coast. PC. (2005) "Chris Green: The Source engine supports a wide variety of shaders. The refraction shader on the window here requires us to copy the scene to a texture, refract it, and then apply it the window surface. To fully support HDR, every shader in the engine needed to be updated, so this refraction shader was improved to the support the full range of contrast."
  18. ^ "Interview: Gabe Newell". PC Zone. 2006-09-11. http://www.computerandvideogames.com/article.php?id=145846. Retrieved 2006-09-20. 
  19. ^ "Dual Core Performance". 2008-10-11. http://forums.steampowered.com/forums/showpost.php?p=8413873&postcount=92. Retrieved 2008-12-23. 
  20. ^ Lombardi, Doug (2008-05-13). "PCGH interview about Left 4 Dead, part 2". http://www.pcgameshardware.de/aid,643448/Interview/PCGH_interview_about_Left_4_Dead_part_2/?page=2. Retrieved 2008-12-23. 
  21. ^ Nick, Breckon (2008-03-18). "Team Fortress 2 Update Adds Multicore Rendering". http://www.shacknews.com/onearticle.x/57728. Retrieved 2009-08-19. 
  22. ^ "Source - Console Support". Valve. http://source.valvesoftware.com/console.php. Retrieved August 8, 2009. 
  23. ^ "Joystiq interviews Doug Lombardi about Xbox 360 Source". Joystiq. October 17, 2006. http://www.joystiq.com/2006/10/17/joystiq-interviews-doug-lombardi-about-xbox-360-source/. Retrieved August 8, 2009. 
  24. ^ "Valve to Deliver Steam & Source on the Mac". Valve. 2010-03-08. http://store.steampowered.com/news/3569/. Retrieved 2010-03-08. 
  25. ^ "Left 4 Dead 2, Team Fortress 2, Portal and Steam Coming to Mac in April". Kotaku. 2010-03-08. http://kotaku.com/5488375/left-4-dead-2-team-fortress-2-portal-and-steam-coming-to-mac-in-april. Retrieved 2010-03-08. 
  26. ^ "Portal 2: Pretty Much Every PS3 Question Answered (And That Cake Thing, Too)". Sony Computer Entertainment America. 14th April 2011. http://blog.eu.playstation.com/2011/04/14/portal-2-pretty-much-every-ps3-question-answered-and-that-cake-thing-too/. 
  27. ^ "Valve's New Game Announced, Detailed: Dota 2". GameInformer. 13 October 2010. http://www.gameinformer.com/b/features/archive/2010/10/13/dota-2-announced-details.aspx. Retrieved 14 December 2010. 
  28. ^ "Steamcast #47". Steamcast. 9th February 2011. http://www.thesteamcast.com/episodes/47/. Retrieved 14 August 2011. "Oh yeah, we’re spending a tremendous amount of time on tools right now. So, our current tools are... very painful, so we probably are spending more time on tools development now than anything else and when we’re ready to ship those I think everybody’s life will get a lot better. Just way too hard to develop content right now, both for ourselves and for third-parties so we’re going to make enormously easier and simplify that process a lot." 
  29. ^ "Source Filmmaker". Valve Developer Community. http://developer.valvesoftware.com/wiki/Source_Filmmaker. Retrieved August 4, 2009. 
  30. ^ "Interview with Gabe Newell". DriverHeaven.net. http://www.driverheaven.net/dhinterviews/gabenewell/. Retrieved 2009-11-21. 
  31. ^ "Valve Week". 1UP.com. http://valve.1up.com/. Retrieved 2006-07-14. 
  32. ^ Erik Johnson (2005-09-01). "Talk:Erik Johnson". Valve Developer Community. http://developer.valvesoftware.com/w/index.php?title=User_talk:Erik_Johnson&oldid=10088#GoldSource. Retrieved 2007-08-15. 
  33. ^ Hodgson, David (2004). Half-Life 2: Raising the Bar. Prima Games. ISBN 0-7615-4364-3. 
  34. ^ "Welcome, Q3 source, Graphics". John Carmack's Blog. 2004-12-31. http://www.armadilloaerospace.com/n.x/johnc/recent%20updates/archive?news_id=290. 
  35. ^ Neale Roberts (November 15, 2006). "Stuck Valve". Dirigible Development Diary. Archived from the original on 2007-12-27. http://web.archive.org/web/20071227044928/http://www.dirigible-games.com/diary/?p=15. Retrieved December 20, 2007. 
  36. ^ Neil Jedrzejewski (July 23, 2009). "Re: whats happening with this engine". hlcoders (official Valve mailing list). http://www.mail-archive.com/hlcoders@list.valvesoftware.com/msg28135.html. Retrieved July 29, 2009. 
  37. ^ "Vtex CLI use". Valve Developer Community. August 28, 2007. http://developer.valvesoftware.com/wiki/Vtex_CLI_use. Retrieved July 21, 2008. 
  38. ^ "Half Life 0 Oblivion 1 - Half Life Update". Digital Urban. September 28, 2006. http://digitalurban.blogspot.com/2006/09/half-life-0-oblivion-1-half-life-update.html. Retrieved December 20, 2007. 
  39. ^ "Category:Third Party Tools". Valve Developer Community. http://developer.valvesoftware.com/wiki/Category:Third_Party_Tools. Retrieved October 20, 2007. 

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Game-Engine — Die Artikel Liste der Spiel Engines und Spiel Engine#Bekannte Engines überschneiden sich thematisch. Hilf mit, die Artikel besser voneinander abzugrenzen oder zu vereinigen. Beteilige dich dazu an der Diskussion über diese Überschneidungen. Bitte …   Deutsch Wikipedia

  • Game Engine — Die Artikel Liste der Spiel Engines und Spiel Engine#Bekannte Engines überschneiden sich thematisch. Hilf mit, die Artikel besser voneinander abzugrenzen oder zu vereinigen. Beteilige dich dazu an der Diskussion über diese Überschneidungen. Bitte …   Deutsch Wikipedia

  • Game engine recreation — Game engine recreations are engine interpreters for video games that replace the original engine binary that came with the original game. Game engine recreations are primarily made to allow support for the game on other operating systems. In many …   Wikipedia

  • Game engine — A game engine is a system designed for the creation and development of video games. There are many game engines that are designed to work on video game consoles and personal computers. The core functionality typically provided by a game engine… …   Wikipedia

  • Game Engine — Moteur de jeux Un moteur de jeu est une application informatique (dite de type middleware) apportant les fonctionnalités principales au fonctionnement d un jeu vidéo, mais aussi une aide au développement ou à la portabilité du jeu. Les… …   Wikipédia en Français

  • Game engine — Moteur de jeux Un moteur de jeu est une application informatique (dite de type middleware) apportant les fonctionnalités principales au fonctionnement d un jeu vidéo, mais aussi une aide au développement ou à la portabilité du jeu. Les… …   Wikipédia en Français

  • Unity (game engine) — Infobox Software name = Unity caption = developer = Unity Technologies latest release version = 2.1 latest release date = July 24, 2008 operating system = Mac OS X (creation and deployment), Microsoft Windows (deployment only), Wii (deployment… …   Wikipedia

  • Diesel (game engine) — The Diesel engine is a game engine developed and used by GRIN. The engine was originally developed for their game Ballistics and has been used, albeit with modifications, in a number of other games since then. The first installment of the engine… …   Wikipedia

  • Torque Game Engine — Infobox Software name = Torque Game Engine caption = Tribes 2 is one of the most noted commercial games to be made with the Torque Game Engine. developer = GarageGames latest release version = 1.5.2 latest release date = May 15 2007 latest… …   Wikipedia

  • Neoaxis (game engine) — NeoAxis Engine Developer(s) NeoAxis Group Stable release 1.0 / June 2011[1] …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”