Half life 2 source code stolen

This is a discussion on Half life 2 source code stolen within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I would be interested to see how it works as well, Silvercord. Glirk_Dient@93xrocks.com...

  1. #76
    Registered User
    Join Date
    Jan 2003
    Posts
    361
    I would be interested to see how it works as well, Silvercord.

    Glirk_Dient@93xrocks.com

  2. #77
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    You're right BMJ, and if you download any movies about carmack talking about Doom3 they all involve him saying he's still trying to get his engine to run fast enough, and it probably won't ever be as fast as half life 2 if he uses fully dynamic stencil shadows (i don't think everything is or will be fully dynamic)


    im not going to email this to both of you, i'm just going to post the idea, plus if i have said anything wrong this makes it more likely someone will catch it...it's not going to make a whole hell of a lot of sense unless you read some articles with pictures.

    this is just the idea for doing a stencil shadow, to actually implement this you've got to do jumping jacks to get it to work (otherwise if you just perform a thing called ZPass stencil shadow tests the entire world goes into what is called negative shadow when the eye point is in inside a shadow volume, and it farks up...carmack's 'reverse' method actually takes even more steps and more tests)


    dynamic shadows with the stencil buffer require a lot of calculations realtime by both the CPU and the video card you have to classify each triangle as facing a light or not facing a light by using dotproducts, then you have to find which edges are the silhouette edge by determining if an edge touches a front facing polygon on one side and a back facing polygon on the other side, then you have to actually create extended polygons that go from the light source through the silhouette edge polygons and you have to draw those into the stencil buffer which requires depth tests, and only after doing all of THAT crap you have what is in shadow, with a lightmap you simply do a second texture pass, and lightmapping algorithms are much easier and pre computed! you just trace a ray from each texel to each light and if the texel is blocked you don't take that light into account for that texel's color

    EDIT: that really doesn't even fully describe the algorithm, that is just the steps you have to do in order to create shadow volume polygons. i have to go to school right now though (maybe i can post later)
    Last edited by Silvercord; 10-10-2003 at 04:34 AM.

  3. #78
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Nice periods :P

    thnx man

  4. #79
    Registered User CumQuaT's Avatar
    Join Date
    Sep 2001
    Posts
    73

    Angry reply

    U guyz know that the Beta has also been leaked? Just a thought to stir the pot...
    Why? The often unanswerable question. If it is unanswerable, why answer it?

    Join the Cult of Sheograth, it's the place to be!

    http://cultosheogorath.proboards16.com

    Lord, we know what we are, yet we know not what we may be... Who wrote that anyway? If you know, E-Mail me. mr_shnokovitz@yahoo.com

    Joy to all the fishes...

    **infected by frenchfry164**

  5. #80
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Yes I know - www.fragville.com/shader.gif <-- dig those shaders on the floor

    ... someone, showed this to me... yea

    Carmack has been quiet for a while now... I'm sure he's trying to make things faster, he's not dumb at least - who knows what'll happen in the next 8 - 12 months.

  6. #81
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    quat, the beta of d3 or hl2?

    i hope carmack doesn't really care. he's already said he is losing interest in game programming (this was over a year ago that I first found out, now he is competing for the XPrize with armadillo aerospace)

  7. #82
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Originally posted by Silvercord
    (this was over a year ago that I first found out, now he is competing for the XPrize with armadillo aerospace)
    Yea I heard about this, pretty cool IMHO

  8. #83
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    whatever makes one happy I suppose

    EDIT: in my opinion it is basically impossible for game programmers to either get famous or rich now a days. I hate to say it but the whole 'oh I'll work on games now while I'm young and get into a game programming company when I'm older' mentality doesn't work and isn't realistic...that's why I'm going to major in math and get a real job
    Last edited by Silvercord; 10-11-2003 at 12:25 AM.

  9. #84
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    the leaked beta is extremely incomplete. I think its a snapshot from _before_ e3. Water appears as just white, and eyes and mouths are white too. None of the levels are even close to being finished. etc

  10. #85
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    have a screenshot
    Attached Images Attached Images  

  11. #86
    Registered User CumQuaT's Avatar
    Join Date
    Sep 2001
    Posts
    73

    Wink reply

    Sure, the beta may be incomplete, but it's enough to whet our appetites until april next year, eh? (You guys DO know its been pushed back to april next year for the release don't you?)
    Why? The often unanswerable question. If it is unanswerable, why answer it?

    Join the Cult of Sheograth, it's the place to be!

    http://cultosheogorath.proboards16.com

    Lord, we know what we are, yet we know not what we may be... Who wrote that anyway? If you know, E-Mail me. mr_shnokovitz@yahoo.com

    Joy to all the fishes...

    **infected by frenchfry164**

  12. #87
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Originally posted by BMJ
    April 2004?? WTF!??

  13. #88
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    I think I'm gonna cry. Will we EVER play this game?!
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  14. #89
    Registered User
    Join Date
    Jan 2003
    Posts
    361
    *Sigh* I guess I will just have to play Star Wars Galaxies until then.

  15. #90
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Well then, welcome to the world of Pet Wars (tm) Galaxies. ( If you are allready in-game, you know what I mean *g*

    The one game that probably has the greatest number of Bugs and worst community<>developer communication ever.

    But if they ever fix that two little points, it will be really fun


    Rifle 0-0-0-0
    BH 0-0-2-0 ( can you spell eyeshot ? )
    CH 0-0-0-0 ( did I say Pet Wars ? )
    Ranger 2-1-1-1
    Master Marksman
    Master Scout
    Ahazi
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Page 6 of 7 FirstFirst 1234567 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Search for patterns in source code
    By MiamiCuse in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 10-23-2005, 11:28 PM
  2. DxEngine source code
    By Sang-drax in forum Game Programming
    Replies: 5
    Last Post: 06-26-2003, 05:50 PM
  3. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 05-19-2003, 03:50 PM
  4. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 03:28 AM
  5. C source code for int25 or code help
    By Unregistered in forum C Programming
    Replies: 0
    Last Post: 09-26-2001, 02:04 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21