Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Quake First Person Shooters (Games) Open Source Games

Quake 3 Source Code Review 107

An anonymous reader writes "id Software has a history of releasing the source code for their older games under the GPL. Coder Fabien Sanglard has been taking it upon himself to go through each of these releases, analyze the source code, and post a detailed write-up about it. He's now completed a review of the Quake 3 source code, diving into the details of idTech3. It's an interesting read — he says he was impressed in particular by the 'virtual machines system and the associated toolchain that altogether account for 30% of the code released. Under this perspective idTech3 is a mini operating system providing system calls to three processes.'"
This discussion has been archived. No new comments can be posted.

Quake 3 Source Code Review

Comments Filter:
  • I'm a dumbass- (Score:2, Interesting)

    by WiiVault ( 1039946 ) on Saturday June 30, 2012 @11:14PM (#40508575)
    But I can't help but revel in the growth and extension of public domain engines and assets by willing companies. As a dum-dum, I still see a lot of value in Q3 based projects. They really look good enough(for me), and I hear good things about the netcode. It isn't the end-all-be-all of engines, but it really is one of the first modern commercially sold engines available to the rest of us. If I may be so bold; gentlemen start your engines. I can't wait to see what you come up with.
  • Re:I'm a dumbass- (Score:4, Interesting)

    by Smauler ( 915644 ) on Sunday July 01, 2012 @10:07AM (#40510271)

    I still see a lot of value in Q3 based projects. They really look good enough(for me), and I hear good things about the netcode.

    Literally yesterday, I was looking at a bridge in Lord of the Rings Online (which is quite pretty otherwise), and thought to myself : Why isn't it curved?

    It seems the fashion with engines now is to drop curved edges - I'm not sure why. They look so much better, and have been around for ages. Quake 3 did these brilliantly, and when it came out, I thought that would be the end of crappy lumpy bridges, etc. No such luck, they're still with us, over a decade later.

    Anyone with knowledge of this issue, and why they're still about?

  • by loufoque ( 1400831 ) on Sunday July 01, 2012 @11:31AM (#40510665)

    I wrote this very comment *because* I read that article.

  • Re:I'm a dumbass- (Score:5, Interesting)

    by parlancex ( 1322105 ) on Sunday July 01, 2012 @07:55PM (#40513173)

    Q3 engine's curved surfaces are actually quadratic bezier spline patches (9 control points per patch). The patches had to be designed with special tools in an editor and were tessellated at runtime to an appropriate detail level based on the computer's graphics settings. The engine did not support any kind of collision detection with these surfaces so they had to be enveloped in invisible brushes to appease the BSP system for collision and culling.

    While they were interesting at the time the reasons nobody really does this anymore are probably:

    • The special tools required to design curved surfaces need to be supported by the artist's tools and entire game toolchain, creating more work for artists and tool programmers
    • Quadratic bezier patches are one of the simplest types of curved surface but can still be difficult to work with. Certain shapes are hard to construct properly with them.
    • Lastly I'd say they've been kind of superseded by smooth / detail surfaces available through subdivision algorithms which can work on conventional geometry and conventional tools, and is supported on modern cards in hardware

Saliva causes cancer, but only if swallowed in small amounts over a long period of time. -- George Carlin

Working...