The Inquirer-Home

Doom 3 source code released

Shading problems solved
Wed Nov 23 2011, 11:17

THE BIG EFFING Doom 3 source code has finally been released by Id, and is available now on Github.

The slightly modified code was delayed due to an issue with the shading software used, which is owned by Creative.

Responding to a question on Twitter about the effort required to rewrite the code, founder and technical director of Doom creator Id Software John Carmack said, "this demonstrates the idiocy of the patent -- the workaround added four lines of code and changed two."

There is an irony here. The Depth Fail shading patent in question is owned by Creative but colloquially named "Carmack's reverse".

"Lawyers are still skittish about the patent issue around 'Carmack's reverse', so I am going to write some new code for the doom3 release," said Carmack earlier in November and he prepared for the rewrite.

"The Doom 3 GPL source code release does not include functionality enabling rendering of stencil shadows via the 'depth fail' method, a functionality commonly known as 'Carmack's Reverse,'" reads the source code note in acknowledgement.

Doom 3 was first released in 2004, and the Github code not does contain any game data. µ

Share this:

Comments
PVS-Studio: analyzing Doom 3 code

PVS-Studio: analyzing Doom 3 code - http://www.viva64.com/en/b/0120/

posted by : Andrey, 25 November 2011 Complain about this comment
aboutus
Advertisement
Subscribe to INQ newsletters
Advertisement
INQ Poll

Facebook starts selling shares

Will you buy Facebook shares?