also @ TechSpot: LG Display announces 5.0-inch, 1080p AH-IPS display for smartphones

John Carmack releases Doom 3 source code

By

On November 23, 2011, 3:00 PM EST

The source code for Doom 3 has finally been made available for download. Id Software’s John Carmack confirmed the source code was on the way, but that was back in August before legal issues pushed the release back by several months.

The legal issue stems around the use of “Carmack’s Reverse” algorithm which has to do with a method of rendering shadow volumes using a stencil buffer. Around the same time that Carmack discovered the algorithm, someone else filed a patent for essentially the same thing. That patent belongs to Creative Labs and according to reports, id Software agreed to include EAX audio technology in the game in order to use the shadow rendering technique in Doom 3.

Rather than run the risk of getting into a legal battle over the code, Carmack simply decided to remove it from the source code and work around it. As Carmack put it himself, the workaround added four lines of code and changed two.

The full source code is now available for download on GitHub. It’s worth mentioning that no actual Doom 3 game code is included – the source code simply includes the id Tech 4 game engine. Such code will allow aspiring programmers the chance to experience a tested game engine and allow more experienced coders the opportunity to build and improve upon the original engine.

Doom 3 was released in August of 2004 and by 2007, it had become the most successful project by id Software to date. The id Tech 4 engine was used in other games as well including Quake 4, Prey, Enemy Territory: Quake Wars, Wolfenstein and Brink.

, , , , , ,

User Comments (1)

Post a comment
RzmmDX
on November 23, 2011
3:26 PM

Time to finally install VS2010...

And the engine is surprisingly small compared to Unreal 3.

Though it is pretty awesome that he released it.

Reply

Browse more commented news

Post a new comment

Guest user

To post as an anonymous
user click here
.

Members

If you are a TechSpot member,
please login first.


By signing up you gain complete access to the TechSpot community. Join thousands of computer and technology enthusiasts that contribute and share knowledge in our forum. Post messages, get a private inbox, upload your own photo gallery and more.

Subscribe to TechSpot

Get free exclusive content, learn about new features and tech breaking news.