Gamasutra: The Art & Business of Making Gamesspacer
arrowPress Releases
October 24, 2014
PR Newswire
View All





If you enjoy reading this site, you might also want to check out these UBM Tech sites:


Patent Issue Forces New Coding For Open Source  Doom 3
Patent Issue Forces New Coding For Open Source Doom 3
November 17, 2011 | By Kyle Orland




An issue surrounding a patent for a specific shading technique has held up a promised open source release for the code behind Doom 3, as programmer John Carmack goes back to make modifications.

Carmack promised at an August QuakeCon keynote speech that the open source release for Doom 3 would come after the company's October release of Rage.

But Carmack explained in a tweet yesterday that the "lawyers are still skittish about the patent issue," referring to a Creative Labs patent on a 3D shading technique known as "depth fail."

Creative Labs filed for a patent on the technique in 1999, though the process became widely known as "Carmack's Reverse" after the Doom 3 programmer independently discovered and publicized it during the game's development.

Id used the technique under a license from Creative for Doom 3's 2004 release, but Carmack will have to "write some new code" to get around the legal issues for the open source release, he tweeted.

In a 2004 forum discussion, Carmack suggested he had devised a separate shading method that got around the patent issues but that resulted in a "speed hit" on performance.


Related Jobs

Activision Publishing
Activision Publishing — Santa Monica, California, United States
[10.24.14]

Tools Programmer-Central Team
Bluepoint Games, Inc.
Bluepoint Games, Inc. — Austin, Texas, United States
[10.23.14]

Senior Graphics (or Generalist) Engineer
Intel
Intel — Folsom, California, United States
[10.23.14]

Senior Graphics Software Engineer
Wargaming.net
Wargaming.net — Hunt Valley, Maryland, United States
[10.23.14]

Graphics Software Engineer










Comments


Andrew Grapsas
profile image
Patenting shading techniques is a great way to wreck 3D rendering progress.

Maurício Gomes
profile image
how nice of creative, the only reason I wanted to see the open sourced code is that technique... :(



Damn you Creative.

Johan Wendin
profile image
It's nice to see Creative Labs so frequently using this patent to elevate shadow rendering to a higher level for the benefit of the gaming community.



Caring by sharing.

Simon Carreno
profile image
ohh cool but we have 2 options here: Or Carmack writes a better code, or Carmack change the code with the same technical parameters...

Paul Szczepanek
profile image
He could release it in Europe - we don't have crazy software patents yet.

Kale Menges
profile image
Can we abolish the patent system? Please?

Eric McVinney
profile image
A patent to abolish the patent system was denied :(

Wyatt Epp
profile image
So we won't be able to see the code as-implemented until... 2019. Great. I continue to be awed by the uselessness of software patents toward the stated goal of promoting "...the Progress of Science and Useful arts.... "

Peter Schloensge
profile image
Why doesn't he publish the code as a study case for the sake of research independently of Doom and then everyone who likes can simply reintegrate it. ;)

Christer Kaitila
profile image
Patents hurt programmers. Always.

Chad Wagner
profile image
http://en.wikipedia.org/wiki/Shadow_volume -- Depth Fail section describes the technique in detail. Includes links to patent, if you would like to know how it works.



You just can't use it (for free)! :(

Jane Castle
profile image
This is a dead algorithm anyways.... No one uses this technique in any modern game. The technique is very fill rate intensive. So utterly pointless to have to deal with this useless patent. I would just release the source without the shadows implemented. All Carmack has to do is place comments where he removed the code. The community will be more than happy to add it back in. Problem solved.

Bob Stevens
profile image
Maybe he's replacing it with PSSMs or something. I have a feeling that would have been the first modification the community would do anyway.

Wyatt Epp
profile image
Per Twitter, his fix added four lines and changed two. So yeah...

Bart Stewart
profile image
It occurs to me that there's probably more controversy and less unanimity of opinion about freedom of expression through computer games than there is regarding the application of "physical invention"-based patent law to algorithms about ones and zeroes. I don't think I have ever seen a single well-reasoned argument from an informed person defending the current system -- and given that game developers and gamers will dispute *anything*, that's amazing.



Maybe now that the U.S. Supreme Court has ruled convincingly on the free speech thing, the IGDA might consider focusing on helping Congress to craft an update to the code that gives the USPTO the tools it needs to start making better rulings on software applications. We'll continue to be stuck with the counterproductive approvals granted so far, but at least the situation could start to improve for the future.



So what if anything *are* the IGDA board doing about software patents?

Joel S
profile image
:(

Enrique Hernandez
profile image
so if I do this in a game I sell:

- Disable writes to the depth and color buffers.

- Use front-face culling.

- Set the stencil operation to increment on depth fail (only count shadows behind the object).

- Render the shadow volumes.

- Use back-face culling.

- Set the stencil operation to decrement on depth fail.

- Render the shadow volumes.



I can get in trouble? It seems so random.

Maurício Gomes
profile image
Yes.



The company where I work, does not release Software in US, because the cost to hire lawyers to research patents every single time they want to release stuff is too much.



So it went like: Screw US, we will release elsewhere, where people will not sue us to death randomly because of some random functionality.


none
 
Comment: