8 ms·
This is amazing. How come ID can consistently release top quality engines as open source and other games companies cannot?
by tome 15y ago
This is amazing. How come ID can consistently release top quality engines as open source and other games companies cannot?
- _delirium 15y agoMost companies probably can, they just don't care enough to do so, seeing it as money spent on a last-gen engine that results in no new revenue streams. I think id does it mostly because Carmack personally pushes for it. However it arguably makes some sense for them, relative to other game companies, because they've been particularly identified with the "genius hacks to make stuff work" aura, and every source release produces a new wave of discoveries/press about crazy things id did in the guts of one of their engines, which solidifies that reputation. Plus it's probably good for Carmack getting historical credit to put the techniques out in the open once they're no longer most-recent-gen.
- asymmetric 15y ago> every source release produces a new wave of discoveries/press about crazy things id did in the guts of one of their engines wow, that sounds interesting! any links?
- getsat 15y agohttp://betterexplained.com/articles/understanding-quakes-fast-inverse-square-root/ http://betterexplained.com/articles/understanding-quakes-fas...
- reverend_gonzo 15y agoHere's an example: Carmack's Square Root implementation, which runs four times faster than the assembly language instruction. http://www.beyond3d.com/content/articles/8/ http://www.beyond3d.com/content/articles/8/ http://www.codemaestro.com/reviews/9 http://www.codemaestro.com/reviews/9
- daeken 15y agoBear in mind that this is inverse square root (a misnomer; it's really 1/sqrt, or the reciprocal), not just the square root. Square roots are decently fast as provided by the processor, but not when combined with the division needed for the reciprocal; combining the two is why FastInvSqrt is so fast.
- kmm 15y agoIt was faster before 2000, but is it still faster now? On my computer it is indeed four times faster, but the marvellous method is on its own again four times slower than SSE, using the rsqrtps instruction, with the advantage of a way lower maximum error. To take the square root of an array of 1024 floats: Naive sqrtf() CPU cycles used: 48160, error: 0.000000 Vectorized SSE CPU cycles used: 2970, error: 0.000392 Marvellous Carmack method CPU cycles used: 11330, error: 0.002186
- Tomek_ 15y agoNo, it's not faster now and it's no longer really used probably (don't know if smartphones, tablets, various consoles, etc. offer access to any equivalent of rsqrtps), but it was brilliant at its time (well, still is, it's just not very useful). Remember, Quake was released in 1996, SSE came out in 1999.
- jemfinch 15y agoWould you mind posting your bench framework for this?
- kmm 15y agoI didn't make the code, nor do I want to take credit for it. I only changed a few lines to make it compile. The code explicitly say one can redistribute the code as one wants, so here it is http://pastebin.com/EnJi86hF http://pastebin.com/EnJi86hF Would you mind posting your results here? I'm quite interested if this has the same pattern everywhere.
- 15y ago
- deleted 15y ago[deleted]
- Arjuna 15y agoCheck out "Graphics Programming Black Book" [1] by Michael Abrash [2]. If you have not read his work, you are in for a treat. He has a wonderful writing style that is both engaging and illuminating. There are a number of chapters [3] in the book that specifically discuss technology and development related to Quake. [1] PDF: http://www.gamedev.net/page/resources/_/technical/graphics-programming-and-theory/graphics-programming-black-book-r1698 http://www.gamedev.net/page/resources/_/technical/graphics-p... [2] http://en.wikipedia.org/wiki/Michael_Abrash http://en.wikipedia.org/wiki/Michael_Abrash [3] Chapter 64 - Quake's Visible-Surface Determination Chapter 66 - Quake's Hidden-Surface Removal Chapter 67 - Sorted Spans in Action Chapter 68 - Quake's Lighting Model Chapter 69 - Surface Caching and Quake's Triangle Models Chapter 70 - Quake: A Post-Mortem and a Glimpse into the Future
- phoboslab 15y agoCarmack also stated that these open source releases help them in the long run. E.g. they were able to port Wolfenstein 3D and Doom (the old one) to iOS much quicker by basing it on modern versions of those engines, created by the community.
- rg3 15y agoYes, and it also helps them keep the games alive. If you have the game data (CD, DVD, Steam, whatever), you can play every id FPS game up to Doom 3 in almost any platform you want, today. And you will probably be able to do it 20 years from now. I think it's fantastic.
- metachris 15y agoYes, this and the ability to build games on an open-source engine gets them a lot of goodwill, building a brand people love.
- Natsu 15y agoYeah, there's a lot of goodwill generated by them, too. I wouldn't be surprised if this also helps them with recruitment. I mean, this helps create more talented game devs by giving them stuff to hack on.
- Arjuna 15y agoThis is largely due to John Carmack and his philosophy regarding OSS [1]. [1] http://en.wikipedia.org/wiki/John_carmack#Free_software http://en.wikipedia.org/wiki/John_carmack#Free_software
- Argorak 15y agoSimple: because they want to and others do not. Also because they started the good habit a long time ago and it definitely showed off benefits. (AFAIK, the iPhone port of the DooM engine depends on the open-sourced branch of the DooM engine)
- smiler 15y agoYou also have to remember that a lot of game companies do not write their engines. They either licence iD or the Unreal engine.
- markkanof 15y agoThat's an interesting point. I wouldn't immediately think of game developers as using someone else's framework to build an application with, but a lot of them really are, just like those of us building business applications with someone else's framework.
- Argorak 15y agoSorry for the missing reference, as I am typing on the Phone: ID does not license their Engine anymore and Carmack seems happy about it. Also, compared to UE3, ID Tech 4 was not used in many games.
- nailer 15y agoInteresting. Here's a ref, for anyone else: http://www.gamasutra.com/view/news/29886/id_Tech_5_Rage_Engine_No_Longer_Up_For_External_Licensing.php http://www.gamasutra.com/view/news/29886/id_Tech_5_Rage_Engi... It's actually slightly different from that: "if you're going to make a game with id Tech 5 then it needs to be published by Bethesda"
- xedarius 15y agoAlso it's not always up to the games company, their publisher would not allow them to release the engine.
- regularfry 15y agoScorched earth. If id release an engine at a certain tech level, they put serious competition in the way of other would-be licensors of engines at or about that tech level. That stops smaller software houses from breaking through that tech level to compete at the higher level. I don't know if it's a conscious policy or not, but it's interesting nonetheless.
- jiggy2011 15y agoI see what your saying but I don't think so. They usually dual license the old engines , distribute 1 under GPL and another under a commercial (albeit relatively cheap compared to the newer engines) license. The GPL license can only be used to create games that are also GPL licensed (so stuff like alien arena I think). I suppose this could allow someone to start developing using the GPL'd engine and then switch to the commercial engine later once they had something ready to release. I like to think it is more to do with carmack being curious as to what people will do with his creations.
- derleth 15y agoI disagree: The GPL allows those smaller software houses to use the id engine without giving away their game resources. After all, id doesn't give away Q3 just because it gives away the Q3 engine. As the game resources are what the players mostly associate with the game, you can still make and sell your own game based on a GPL'd engine without the GPL really cutting into your profits.
- regularfry 15y agoThat's exactly my point. You can make and sell your own game, but you can't compete with id by making and licensing your own engine so easily.
- regularfry 15y agoI've found out thanks to other comments here that id don't plan to license their top-end engine outside their own publisher any more. I think that means this argument is moot.
- suivix 15y agoHow is Doom 3 a top quality engine? I would say CryEngine 2 or Frostbite 2 are.
- draven 15y agoTop quality != latest tech. Id tech 4 is a top quality 7 year old engine.
- jebblue 15y agoI think the success of Minecraft proves that the latest engine technology is not critical to the success of a game.
- suivix 15y agoMinecraft allows for fully modifiable 3D environments which no other popular games have. So it is the latest technology, much unlike Doom 3.
- jebblue 15y agoRight I totally agree and it's extremely fun. I guess I was thinking that the speed and graphics aren't as visually snazzy but the fans (like me) don't care about that.
- suivix 15y agoWould you say the same thing if it were the year 2030? Does Pacman run with a top notch engine? It was certainly optimized well for its time.
- betterth 15y agoBecause Doom 3 was released 7 years ago and the engine was probably in major development what, 8-9 years ago? They've since moved on and their most recent game, RAGE, uses the fifth version of their engine, not the fourth. They're basically open sourcing the engine that they're no longer hyping/selling, while they continue to use their modern engine for business. How can they? I mean, I guess other companies just lets their engines die instead of open sourcing it.