- 8 anni fa
Il keynote di John Carmack al QuakeCon 2011.
Categoria
🎮️
VideogiochiTrascrizione
00:00:11Grazie a tutti, grazie a John Carmack.
00:00:30Grazie a tutti, grazie a tutti, grazie a tutti.
00:01:00Grazie a tutti, grazie a tutti.
00:01:46Grazie a tutti.
00:01:49Grazie.
00:14:20Grazie a tutti.
00:16:52Grazie a tutti.
00:17:04Grazie a tutti.
00:17:13Grazie a tutti.
00:17:15Grazie a tutti.
00:17:19Grazie a tutti.
00:17:21Grazie a tutti.
00:17:21Grazie a tutti.
00:17:30Grazie a tutti.
00:17:33Grazie a tutti.
00:17:43Grazie a tutti.
00:17:51Grazie a tutti.
00:17:52Grazie a tutti.
00:17:56Grazie a tutti.
00:17:59different sizes and different depth complexities and uh some of them have uh just one dxt image
00:18:05some of them have three uh the virtual materials on the dynamic things are handled separately
00:18:10so all of this complexity comes in when you go from kind of the initial cool elegant demo of
00:18:16something to getting it through delivering what your artists and designers want and getting it
00:18:21out onto a shipping project so lots and lots of work went into doing that about making this thing
00:18:27that originally really was not that complicated i the initial you know it was only a small number
00:18:34of days to do the first sort of virtualization of texturing and you know a few weeks to a few
00:18:38months
00:18:39to get something where like okay look this level is running with virtual textures it doesn't load
00:18:42anything at the start but it's taken years and years to get to the point where we have all the
00:18:48capabilities that we really want so here we are at the point with all these broken up little texel
00:18:56little uh texture blocks on there if we loaded them directly from the dvd or even the hard drive
00:19:02at that point you would have a significant lag you'd be going around every time you turned a little bit
00:19:07it would have to bring in a whole row of pages and that doesn't work particularly well we started off
00:19:13on the pc with that where if you have a ton of memory and you look at everything once after
00:19:18you've gone
00:19:19through it it stays sort of in your buffer cache and that's not too terribly bad but on the consoles
00:19:24we
00:19:24had to manage everything ourselves so we have our own second layer cache that sucks up pretty much
00:19:30all the available memory in the consoles where we load in the stuff that we need and then every bit
00:19:35of extra memory is available for caching this we wound up also using that for audio caching so
00:19:43if something's present in there if you've got lots of memory then it comes back in super fast it has
00:19:48to
00:19:48go through the transcode pipeline but i a lot of the instance maps if you're playing things that
00:19:54aren't the wasteland we've got quite a bit of memory that fills it up and once you've sort of looked
00:19:59at
00:19:59something it stays in their resident and comes in really quickly but the wasteland was our real push
00:20:05case on here where it was hard to just get that to fit at all on the consoles and we
00:20:10don't have nearly as
00:20:11much stream file cache as we would like and this is an area where the ps3 has a good bit
00:20:18less memory
00:20:19available than the 360 because it's got a split memory space where instead of saying well you use
00:20:25as much textures as you want and the rest of it's available for other things you say half of it
00:20:29is
00:20:29available for graphics and half of it is available for cpu stuff which turns out not to be that bad
00:20:35for
00:20:36us because we almost completely on our high memory case max that out so it didn't hurt too much but
00:20:41their operating system takes a good chunk of extra memory that we wish that we could use for stream
00:20:47file cache on there but still once you've got everything in memory that works pretty good but
00:20:52if you're coming straight from the hard drive then the first time you walk into everything you're or from
00:20:58the dvd worst case or blu-ray even worse in terms of total latency time i am you know you're
00:21:04stuck with
00:21:05this very long have to go it's it's the epitome of the physical action going on in here where so
00:21:11much of this is just ethereal software shoving things around but you listen to that blu-ray
00:21:15churning around as it seeks around pulling everything in like it'll be nice when we don't have that little
00:21:20physical element that we have to be scheduling for and working around so to avoid the worst cases
00:21:26in that we added another level of caching where we have a hard drive backing cache where the first time
00:21:33you look at something it takes the long trip in from the dvd or the blu-ray then it gets
00:21:38written
00:21:38back out to a fast area on the hard drive so we can bring it back in the next time
00:21:43from the hard drive
00:21:44instead of from the dvd so it's sitting in the stream file cache then eventually it gets transcoded
00:21:49and put onto the actual texture that the gpu touches that then puts it onto the screen so four levels
00:21:56of
00:21:56locality there before it gets to the screen optical media hard drive backing cache stream file cache texture
00:22:03and it gets yet more complicated by the fact that on systems that do have a hard drive on the
00:22:10ps3 and
00:22:10i in particular we get to install some of our textures to the hard drive on the 360 we don't
00:22:17have a partial
00:22:17install option it's all or nothing which is kind of unfortunate which means you have to install 21 22
00:22:23gigs of stuff which takes a long time but if you've got it and you're going to play it on
00:22:27a 360 that's the
00:22:28way to go it makes a significant difference everything comes in without having to hit optical
00:22:32media uh on the ps3 we install some of the important things on there and we're still negotiating with
00:22:39sony on exactly how much space that we can take um so bethesda's kind of trying to twist arms to
00:22:45say
00:22:45it's like well you can give us a couple more gigs because we'll be able to then stick this other
00:22:49page
00:22:49file on here and that'll be uh you know that'll make that part of the experience that much better
00:22:54uh to start touching on one of the if only we had a little bit more time or had worked
00:22:59on it earlier
00:22:59the better solution for that would have been to split our page files and say okay all of the low
00:23:06detail stuff goes onto the hard drive cache and then all the high detail stuff stays on the blu-ray
00:23:12possibly backed by the the temporary hard drive cache because then you would never have the you know
00:23:17the grotesquely ugly cases where you just like oh you know what is that blurry mess for a quarter
00:23:22second that you can get when it's coming straight from optical media but that's again it's the most
00:23:28sophisticated code in there and to some degree we cringe a little bit every time we we try to implement
00:23:33some new feature in there because it is uh it's at the heart of the most asynchronous threads you know
00:23:39all the different devices there's one thread that's dealing with reading from the dvd one thread reading
00:23:44from the the hard drive there's additional threads doing the analysis of the feedback buffer to figure out
00:23:50what it needs to do and there's a bunch of threads doing the transcoding where it comes in if we
00:23:56had
00:23:56infinite space i we would have just stored everything out directly as it was going to go into the texture
00:24:01you know that would have been great you could do an unbuffered read directly off of the file directly
00:24:05into the texture and the gpu could be using it immediately but unfortunately that would have meant
00:24:10that the game would have been either less than half the current size or you know you don't want a
00:24:16deck of
00:24:16eight dvds to play a game there and that's sort of the data set that we would be looking at
00:24:20there so
00:24:21we have on uh on distribution media everything is compressed using an hd photo uh derivative on
00:24:29there and we actually microsoft gave us a license to use uh stuff derived from their uh their code base
00:24:35for
00:24:35that which i which was a really good thing on there we had our own dct based version but it
00:24:42just was
00:24:42this significant 30 or more not as good as what we could get from there so 30 of the quality
00:24:49that
00:24:49we were able to pack onto there onto the existing discs is due to having a more sophisticated encoding
00:24:55method but of course that also means it takes twice the processing power to do that so we have all
00:25:01this
00:25:01work where we bring this in comes in in this hd photo derivative gets sent out to a whole bunch
00:25:06of
00:25:06threads decompressed to uh you know ycocg color space on there but then we have to re-compress it
00:25:12and re-encode it to dxt for the uh for the actual video cards on there and that's one of
00:25:18the things
00:25:18that there's a number of things that we may get to do on future pc releases for potential higher quality
00:25:25i'm hoping that uh the pc version will will street the same time the other versions but because it's a
00:25:32i it's a steam release on that we get to work on the pc version longer so we're hoping to
00:25:37get uh a
00:25:38good bit more tuning in on that before we finally get it out and it is extremely frustrating knowing
00:25:44that the hardware that we've got on the pc is often 10 times as powerful as the consoles but it's
00:25:50honestly been a struggle in many cases to get the game running 60 frames per second on the pc like
00:25:55it
00:25:55does on a 360. uh you know a lot of its driver overhead issues where there's so much that we
00:26:02do in the game that all of this dynamic texture updating where on the console we say all right we've
00:26:08got a new page of data we put that page in there and then we update the page table that
00:26:12points to that
00:26:13and on the console that may just be a matter of writing any into a memory it's like here's the
00:26:19texture
00:26:20let's calculate exactly where this part of the page table is and then we just poke it right in there
00:26:25on the pc that turns into i'm you know potentially a text sub image 2d and if you're a programmer
00:26:32and
00:26:32you start single stepping through that you'll cry you won't make it back out it'll just take forever
00:26:37it'll be going in there and that's where we're looking at that on the console we just we put the
00:26:42memory in there we just that's what it is that's where it goes and we stick it there uh you
00:26:48know there's
00:26:48reasons why pcs are like that they have to work with very different memory architectures you know the
00:26:54tiling and swizzling formats are different between them uh but we may be seeing some light at the end
00:27:00of that tunnel where there have been enough kind of hints from the relevant vendors that maybe it is
00:27:06time to start standardizing on some in-memory footprint and formats so that pcs can be a little
00:27:12bit more efficient at some of this and especially we're leaning on intel where uh intel's current graphics
00:27:19hardware is getting decent uh you know it's not going to you know it's not going to be a i
00:27:25mean
00:27:26this is the embedded hardware that everybody has just dismissed you've forgotten you had it in your
00:27:30uh in your systems because you went out and you bought a serious uh you know nvidia amd video card
00:27:36on
00:27:36there but i you know it's been there for running people's word apps and whatever for a long time but
00:27:42each generation it gets better and at the current generation we have rage running on the intel
00:27:48hardware now it's not 60 frames per second yet but we're looking at this as it's not yeah people still
00:27:55laugh when intel hard uh integrated graphics comes up but it's not going to be long before you are really
00:28:00going to be able to actually use that and i know that's i you know that's certainly making the the
00:28:06dedicated video card manufacturers a little bit antsy on some level because there's clear trends going on
00:28:11there but the important aspect from that is because it's an integrated memory part unified memory
00:28:16there's no reason that it shouldn't be like a console it's all in one same set of memory i should
00:28:22be able to get the address of that texture i should be able to get the stride and swizzle format
00:28:27and say
00:28:27all right i want my texture update i'm just going to go push it in there and we have sort
00:28:33of notional
00:28:33buy-in from intel that this is a good direction i mean old-time graphics people still i'm you know
00:28:39they
00:28:39cringe at the idea of exposing internal formats uh there's you know a long culture of being able
00:28:45to do things behind people's back that really has led to a lot of grief in the pc graphics industry
00:28:50the fact that i am you know directx sort of pretended you could lock a rectangle of an image
00:28:55but what happened in most cases what behind was behind your back drivers were like copying the whole
00:29:01texture in and out reswizzling it pretending it was like this for you and then doing the inverse to put
00:29:05back into video memory and that's where it's a leaky abstraction it's where we're trying to pretend
00:29:11that all these graphics hardware behaves in a certain way when they really don't and for a lot of
00:29:17things abstraction is great you want to be able to step back and say here we're doing one thing we
00:29:23wanted to behave just with slightly varying characteristics but when you're doing really
00:29:27aggressive real-time operations sometimes those abstractions will really kill you and it's i you know
00:29:34it's happened to us over and over again where we take something it's working fine on the consoles
00:29:39there are these open questions of well do you want to use parameter buffers texture reads all these
00:29:44different possible ways that you might go about doing it and i can look at a hardware reference
00:29:48manual and say well it should be able to just dma fetch the stuff in like this it should be
00:29:53able to be
00:29:53poked in here but often they have to go through incredibly convoluted things in the driver
00:29:59to work around that and there's good reasons why that stuff happens i mean one of the things that i
00:30:06you know that i'm to blame for that i i regret a lot is there are i there are hacks
00:30:12in all current
00:30:13graphics drivers to identify whether you're playing early versions of quake because i did things like
00:30:19i when i was getting the extension string i just had a buffer of like oh you know a thousand
00:30:24characters
00:30:24should be enough for all the extensions and we do a you know copy a geoget string into there and
00:30:30of
00:30:30course as drivers got to the point where they had tens of thousands of characters of extension strings
00:30:36that would just stomp all over memory and they went in behind our backs to our benefit and said well
00:30:42if
00:30:43we identify that you're playing this game we're just not going to do this we'll do this other thing
00:30:47we'll give you a shortened list that you know that fits what you're expecting so there's reasons
00:30:52there's archaeological reasons why pc drivers have a lot of the stuff that they do but it is very
00:30:57unfortunate that they have to rely on such an overwhelming amount of brute force to i'm you know
00:31:03to overcome the console's low level advantage there but again there's there's signs that things may be
00:31:10getting a little bit better there i'm hoping that we will have just as like to speak to another success
00:31:16point on here uh it is kind of nice only having uh sort of three relevant graphics vendors to work
00:31:23with on on this in the old days you know in the quake 3 time frame there were there were
00:31:2820 different
00:31:29people making graphics chips and we kind of had you know we were sort of on top of all of
00:31:33that but a lot
00:31:34of them should not have been writing graphics drivers you know you had a clear uh separation between
00:31:39the the professionals that knew what they were doing and uh you know and the companies that didn't
00:31:44and right now everybody working in the industry at a high level knows what they're doing they have
00:31:50the you know the intelligent conversations about things and we can reach agreement on a lot of things
00:31:55where we had uh talking about 60 frames per second swap interval stuff where what we do on the consoles
00:32:02and you can you can probably catch sights and signs of this uh if you play the games aggressively
00:32:08we try to be 60 frames per second swapping exactly with the swap interval all the time but we
00:32:14monitor a lot of things and we adjust the game's behavior in the rendering side we resolution scale
00:32:19when it looks like we might be going over 60 frames per second so we've got all this dynamic resolution
00:32:25scaling going on but there's still cases where i you know we can't predict that all this well
00:32:31we talked about trying to do some more uh not so much predictive but uh like when explosions go off
00:32:38on there really we should have been able to inform the render that that's going on and preemptively
00:32:42scale it down a little bit that's another one of those things that we you know we should evolve
00:32:46towards a little bit more but right now it's reactive where as you're running through the scene
00:32:51and it gets more and more complex or more and more heavy with particle overdraw it slowly scales the
00:32:56resolution down and usually you won't even notice but when something unexpected happens like something
00:33:01just jumps into view from offside and massive explosions and after effects go off uh we can miss the target
00:33:07frame rate what we do then is we allow it to go ahead and instead of having the classic pc
00:33:13problem
00:33:14where either you choose swap interval locked and you get into this ugly awful stuttering when you're not
00:33:19quite 60 frames per second you're bobbling between 30 and 60 and doesn't feel very smooth at all or you
00:33:25just accept the tear line as kind of the standard in high speed pc play which really is one of
00:33:30the more
00:33:30objectionable graphics artifacts that we deal with now so what we have now is on the consoles we prove this
00:33:36out
00:33:37first where you're locked as long as you're going 60 frames per second and as soon as you miss 60
00:33:42frames per second then you get some tear lines and uh hopefully our dynamic adaption and everything
00:33:47catches in and a couple frames later the tear line just kind of runs back up to the top of
00:33:52the screen
00:33:52and stops tearing again and it was really good that we're able to make the case to uh nvidia and
00:33:59amd
00:34:00and i think intel is even going to uh going to address this as well uh that look this is
00:34:05an important
00:34:05thing we are obsessing over some relatively unimportant things with sizes of filter kernels
00:34:12and i and the other things that graphics geeks can go on about forever but we've got this stupid ugly
00:34:16tear line going down the screen or we've got this non-isochronous swap behavior uh this is actually
00:34:22an important thing to fix and i you know nvidia went in and put something together pretty quick and defined
00:34:28a it's a little bit of a hackish interface where we didn't define anything new we just said well negative
00:34:33swap intervals will mean i you know swap to this if you can otherwise tear and uh amd looked it
00:34:39over
00:34:40and said they could do the same thing and you know hooray a success story for uh kind of you
00:34:44know
00:34:44industry vendors cooperating on that so you know that's been i that's been actually pretty good but
00:34:51we're still we're going to push we've still got time to make some significant pushes on the pc side of
00:34:56things um we do not have any crazy pc specific features that are going in on the rendering but
00:35:04there's actually a lot of things in the near term like initial shipping version of the pc we need to
00:35:11tune how big we can make the textures where people have multi-gigabyte video cards that 4k by 4k texture
00:35:17on the consoles we should be able to turn that into a 16k by 16k texture so that you know
00:35:22once things
00:35:23are resident in that you can make quite a bit of moving around without ever actually having to
00:35:27transcode anything else again and that's stuff that will will get that tuned up relatively soon
00:35:33but i'm also looking forward to the possibility of uh doing some almost research engine like things
00:35:40that may be able to leverage some of the rage data kind of back to the the old days where
00:35:44gl quake came
00:35:45out where it was this completely unsupported thing that you just dropped this eeks in and ran this and
00:35:50it kind of showed you what i was playing with technology wise with the existing data and i'm
00:35:56i'm thinking that i might be able to do some things like that i'm possibly with rage you know it
00:36:02is a
00:36:02little bit of a bigger deal considering the size of the company we are and all this where i'm not
00:36:07positive i can get away with just here completely unsupported but play around it might be kind of neat
00:36:12you know it might look stupid in some places uh but that's that's something that i'm thinking about
00:36:17because there are there are the far out technologies that i'm looking at all the you know the different
00:36:24ways of representing things whether you want to do tracing and splatting and voxels and non polygonal
00:36:29stuff but you know that's still relatively that's not what we're working on right now and i'm interested
00:36:35to see how far we can take our current data sets you know if we say here's what we've got
00:36:40how good could
00:36:41we make it look by essentially changing the technology because we really don't want to
00:36:46reinvent our entire content pipeline again because again it took you know the demo of look a virtual
00:36:53texture it's over five years ago uh you know it took five years to get everything that goes into this
00:36:59for
00:37:00how we create the stuff how our back-end processing and how we distribute all this it takes a long
00:37:05time to
00:37:06go from demos to you know production work and the the cold hard truth is every game that we've done
00:37:14that's come out of id software proper on our mainstream mainline has taken longer than the game before
00:37:20and that cannot continue you know it's it's always well and good you plot trends and say you know look
00:37:26an exponential curve i you know there's a whole bunch of areas like this where i you can say well
00:37:31that
00:37:32means that uh you know three generations down the line we'll be taking 30 years to create our next
00:37:36game i but as is always the case if something can't go on forever it won't and it's all a
00:37:43matter of how
00:37:44you do the landing from can't go on forever that determines how you're going to come out of it you
00:37:49don't
00:37:50want to crash land you want to go ahead and ramp that off in some way for a nice smooth
00:37:54flared landing
00:37:56um so that does have impact on how we look at our technology development going forward
00:38:01and you know i've said for years now that i think that we are past the knee of the curve
00:38:06in terms
00:38:07of what we get from graphics technology on there there's no doubt that graphics still matters i am
00:38:13you know it's rage looks spectacular but we made conscious choices that okay it could have looked
00:38:19more spectacular and we could have been a 30 frames per second game like most of the competition but we
00:38:24decided early on although it was a hard-fought battle which uh at this point despite all the pain and
00:38:30suffering that we went through i think everybody's real happy that that we did make the call that
00:38:34we did uh it did involve a lot of suffering on art design and programming side but that initial choice
00:38:41to say we can do fancier graphics you know there are techniques that we can apply that will make the
00:38:46game look better but i'd rather have twice the frame rate and i think that we are that question of
00:38:54how
00:38:54we spend our resources uh there's a lot of options on there on what we want to do with it
00:38:59um so technology wise i'm going to do more research engines uh you know i've got a handful of little
00:39:07things that i that i'm tinkering with i've actually uh there are still people at the office right now
00:39:13making our cert candidates but uh it's mostly of the i like what do you do when you're at the
00:39:19disk swap
00:39:19and somebody sends you a multiplayer invite and you yank out your memory card you know what do you do
00:39:24i am so we're we're the main game part is done and i've actually stepped a little bit away and
00:39:31there are still people there that are there all night working on getting the stuff done but i actually
00:39:36opened up another little project and started writing some new code i relatively recently to start exploring
00:39:42some things and that's i you know it's nice to be able to start looking at uh at some additional
00:39:48things but i it's possible that some of these research engines might turn into other things to
00:39:54do on the pc with the game i certainly we're not going to try and recertify a game with some
00:40:00fancy
00:40:00new rendering technology but i'm interested in seeing what it looks like if we take the content that we've
00:40:06created now and say you make perfect anti-aliasing or perfect motion blur you just really do sort of
00:40:12the speed of light calculation here where you say if everything was how we wanted it to and this was
00:40:18the data that you had to work with what could you get out of it and it's an open question
00:40:24of how
00:40:24compelling that would be uh we do have 10 times the horsepower on the pc that we have on the
00:40:29consoles
00:40:30if we you know and we are using the pc as just a sort of a muscular console in this
00:40:37point we're not doing
00:40:38uh anything uh anything radically different there's not uh you know dx11 tessellation or anything in
00:40:43there i i don't believe really in bolt-ons like that i think it's something that you have to design
00:40:48for from the beginning and we did not choose to go that route on this generation but if we want
00:40:54to
00:40:54throw these ridiculous amounts of power at it and it is you know it's crazy how much power we have
00:41:00to
00:41:01i spend a lot of time just uh smiling and being amazed at how uh how much computing horsepower that
00:41:07we
00:41:07have to look at with these i you know the high-end graphics cards you've got at least 10 times
00:41:12the
00:41:12power of the console and i know in previous years i've talked about how we've got this factor of a
00:41:18million where i've gone from uh like the first game that i wrote to what we're doing now you know
00:41:22a
00:41:22million times more power but the interesting thing was uh a month or two ago we had a case where
00:41:30i actually looked at and said this is a factor of a billion where i was spending it i was
00:41:35spending a
00:41:35little bit of time reading about things that were before my time like atari 2600 programming
00:41:40and the internet is so awesome you know you can go and you know look at i you know program
00:41:45code roms
00:41:46and things that people have written and disassembled of all these ancient systems and and that was
00:41:50the system from when i was a kid i never programmed for the 2600 i knew a few people that
00:41:55overlapped my
00:41:56development space that uh you know that did do some work there but it was uh it was an incredibly
00:42:02primitive machine you had 128 bytes of ram and 2k of rom on the early cartridges you know later with
00:42:11all their fancy bank switching they got it up to you know an amazing 16k of rom on the highest
00:42:16most
00:42:16expensive cartridges so you know it was fun reading about all of this and i you know it's again one
00:42:23of
00:42:23those things where if i only had a bunch more time i'd like to go you know do a little
00:42:28test app and i
00:42:29try out certain things on there but not likely to happen i but still you go and look at that
00:42:34and
00:42:34say 128 bytes of ram one of the things that we were doing in our production side of things for
00:42:40cranking
00:42:40out our build games to rebuild all the games um when we build our virtual textures for the the dynamic
00:42:48stuff it's this process that at one point it just took hours i rewrote it to to be such a
00:42:54way that it
00:42:55used uh huge amounts of memory mapped files and it got down much much faster but it really swapped
00:43:00started swapping on any system that we had so we said well let's find out what the you know what
00:43:06the
00:43:06actual limitations here are so we took one of our servers and we put 192 gigabytes of ram in it
00:43:12and
00:43:13and it was so it's like five thousand dollars we used to spend more than five thousand dollars on
00:43:18a desktop pc you know we had ten thousand dollar workstations back in the day but 192 gigabytes of
00:43:25ram and i think back okay 128 bytes of ram in the atari 2600 192 gigabytes of ram being used
00:43:35to build this
00:43:36you know greater than a factor of a billion now that's stretching from uh you know before my time
00:43:42to a server grade system here but it's still you know it's nine orders of magnitude you know where do
00:43:47you
00:43:47see that in anything else and you also see it on you know the storage going from 2k to i
00:43:53mean two
00:43:53terabyte drives are pedestrian you know that's i another factor of a billion there so that's you
00:44:00know pretty amazing to look at that and we've got a lot more yet to come i mean certainly serial
00:44:05clock
00:44:05speeds have you know have pretty much petered out we're going to see a little bit more on that
00:44:10but the the massive multi-core performance that we're getting i and certainly all the experience with
00:44:15gpus we're going to be seeing more orders of magnitude coming yet so the big question is as
00:44:21game developers what do we want to do with those um there's some obvious cases where as we look at
00:44:28throwing things up for uh you know for high-end pcs or next-gen consoles uh there's the immediately
00:44:35clear stuff you say well instead of running at 720p i'm going to run at my you know 2.5k
00:44:41by uh by whatever
00:44:42high-def pc monitor on there you know there's a factor of three or start running multiple monitors
00:44:49take it up to maybe a factor of 10 there you go ahead and run your 4x or 8 or
00:44:5316x multi-sample
00:44:55fragment anti-aliasing you take everything out to much higher dynamic ranges on there
00:45:01and all of those are the obvious things where you're just cranking knobs that already exist
00:45:05uh there are things that are beginning to look possible on this level of hardware where
00:45:09i i'm looking at this thinking you know i guess we can do a full fast fourier transform on the
00:45:15entire damn screen and do full screen convolutions of things where instead of having our flares be
00:45:21these sprites and blurred things that we have on there you know we can involve the whole damn screen
00:45:25with this giant starburst and have every little pixel come in right i you know that might be
00:45:30interesting that seems like an almost criminal way to spend that many floating point operations for a
00:45:35post-process operation but you know if they're there and we don't have and we don't come up with
00:45:39something more compelling to use them for uh you know it's interesting uh there are you know there's
00:45:46a lot more that we can do with anti-aliasing and filtering we can certainly continue cranking up
00:45:51more polygons uh more texture density uh but we are at some of those points with texture density where
00:45:57another thing that rage will will get knocked for if you go and you you know you jam your face
00:46:02into a wall
00:46:03the textures are going to be blurry it's we don't have detail maps on top of them we are uh
00:46:08in many
00:46:09cases at a little bit lower resolution than i than a game that's just tiling textures would be at
00:46:15and it would be it would be nice to address that um but it's likely that i'm not expecting anything
00:46:23to
00:46:23supersede blu-ray in the the real near future uh the world's moving towards digital distribution in a lot
00:46:29of ways dvds are definitely annoying to have to swap dvds to get what we want on here uh you
00:46:36know
00:46:36another of the things that i i do have to watch myself a little bit on some of these like
00:46:42i i'm
00:46:43going to say some things that i know are going to get taken out of context and i and i
00:46:46may regret a
00:46:47little bit later but the uh i wish that we had had the time to to max out a double
00:46:54layer blu-ray dvd
00:46:55for the ps3 um right now we deliver the same content across all of it and realistically it's
00:47:03not just a matter of saying oh you know we could have just done this it would have been a
00:47:07lot of
00:47:07effort and it would have our build process we're down to the wire as it is we you know we
00:47:11would
00:47:12have been courting failure if we had tried to do this but it would have been nice to have twice
00:47:17the
00:47:17data there that we could have pulled out from uh without our artists having to draw anything different
00:47:23we could have changed our compression ratios and the way we call the detail out um and that could
00:47:28have offered some better view there but on the other hand the blu-ray is the slowest seeking device
00:47:34and the ps3 has the least available memory so it's not completely clear what i'm you know what benefit
00:47:40we might have had off of that but that's another thing i'd like to do on the pc is i
00:47:45we i would hope
00:47:47that we could make some kind of dlc that maybe we take one level and we encode it at 10
00:47:53times
00:47:53the bitrate or something so like here's one level but it's i you know it's two gigs or something
00:47:58rather than the the 500 megs or three to 500 megs that we make each individual thing uh just to
00:48:04see
00:48:04like what's the extra benefit because i do think that if you're just running around playing the game
00:48:10like if you watch everybody playing over there in the the hall it doesn't make a whole lot of difference
00:48:14but when you stop and you want to like really appreciate it there would be an extra level of
00:48:18appreciation that we could get there and it's i so that's another thing that we may try to do on
00:48:24the
00:48:24pc you know higher data higher rate data sets uh you know larger pages that we wind up pulling the
00:48:31stuff
00:48:31into but there's i it's worth talking a little bit about how we pull all of this data in where
00:48:37the
00:48:38shipping game obviously it fits on one blu-ray disc it's 20 something gigs uh that you wind up putting
00:48:44into everything uh but the source data is so so much larger than that the uh the textures that
00:48:52that go together to build um that are the source art that go into building the mega textures
00:48:58uh we we ran into a limit where it ran out of a 256 000 by 256 000 texture where
00:49:05everything was fit into
00:49:06there and that's all the source art the the mountainsides the ground the stamps and everything
00:49:10that goes that gets built into or that gets baked into the the textures that actually ship and you
00:49:16look through that so that's i it's 64 000 so that's 64 gigatexels of source data and each one is
00:49:24three
00:49:24channels i or three images of three or four channels on there it's 12 bytes on there so with mit
00:49:31maps
00:49:31that's a terabyte of source art that goes into making the content that goes and ships on the one blu
00:49:37-ray or
00:49:38three dvds now the when we build the levels it takes that source art combines it with all of the
00:49:45lighting and uh and builds these final outputs which are between the biggest levels are 128 by 128 uh the
00:49:54dynamic characters i think all fit in a 64k by 64k and the individual the wasteland is 14 pieces it
00:50:02wouldn't fit even in one 256 by 256 it's about 14 pieces of various sizes from 32k to you know
00:50:09up to
00:50:10128k for parts of it so what we do to make all of this fit at the top level we
00:50:16build out all of this
00:50:17and if we shipped all of that completely i uncompressed in rgb format it would be you know many many
00:50:23it's
00:50:24like 100 gigs or so for what we would start off on that so to get that down we obviously
00:50:29have the the hd
00:50:30photo compression we digest everything down that saves a lot but we get a large amount by profiling
00:50:37where the player can go so another thing that you can do in pc version bring down the console
00:50:43no clip up and you you fly up and you look at some rooftops on there and you say it's
00:50:47like oh the
00:50:47rooftops are all blurry uh well that's because we have these surfaces where we map out where the player
00:50:53is supposed to be able to go and we view you know we profile zillions of views from all these
00:50:58places and
00:50:59say well these are the images that we need at this resolution and the ones that are further away
00:51:03they get you know lower and lower resolution and that hurts a little bit where it's baselined on
00:51:09i like a 720p image so if you're running on a uh a pc at really high resolution if you
00:51:16see something
00:51:17that has like if you're in town and you can walk all the way up to it if you're across
00:51:21town you'll get
00:51:22all of your resolution in there it'll use it all up but if you're looking at something that the player
00:51:26can't actually approach like the top of a guard tower or something where the player can't walk
00:51:31up there when you walk up on your three megapixel pc monitor on there unfortunately the texture data
00:51:37just doesn't exist to have the higher quality data there so it winds up being a little bit blurrier
00:51:42again if we uh you know if we ever do get to have some kind of a downloadable super quality
00:51:48pack something
00:51:49in some area it would be nice to have some of that extra stuff there because it was it was
00:51:55painful and
00:51:56disappointing during development where at the start we were developing all on the pc and the
00:52:00artists were building stuff and when we finally kind of showed them it's like well we have to go
00:52:05through all this texture compression stuff and this is what it's going to look like on the game there
00:52:08were some sad faced artists looking at i at all of this but once they start you know working with
00:52:14it
00:52:14it's still it's just it's a factor you have to take into effect um you know and that also uh
00:52:21one of the
00:52:22other sort of related to that is we have areas that are my crusade for years i've always been about
00:52:27id games are dinged appropriately for being far too dark uh you know the dark areas where you can't see
00:52:33what's going on you you're supposed to of course the artists are like well turn off your lights play in
00:52:37the dark room that's the way it's supposed to be played i but in reality lots of times if people
00:52:43would
00:52:43look at doom 3 and you'd play it and just not see half of the stuff that's there so we
00:52:48made a conscious
00:52:49effort to brighten things up but some of the stuff that would happen during development on rage is
00:52:54we have real lights and then we've got our post-processing effects on there and sometimes
00:52:59we'd use we have arguments about the the usefulness of post-processing there's lots of people that
00:53:05really love it i a lot of times i'm looking at something and i bring down the console and like
00:53:11turn off post-processing i'm like wow this looks so much better you know crisper and clearer you can see
00:53:16all the detail the colors aren't messed up but i you know i lost that battle i pretty clearly where
00:53:22there's there's lots of post effects going on throughout the game and lots of times it does
00:53:27convey the right mood and it does all of this but it does a lot of damage to all of
00:53:31this tech this data
00:53:32that we spent we killed ourselves to get it compressed over there and then to have some post-process go
00:53:37in and muck up all the pixels i sometimes a little bit depressing in some ways but i with all
00:53:44of this data
00:53:45that we've got on there again it's it would be terabyte plus going on there gets fully yeah
00:53:57now this is actually uh having a game to talk about i don't know how i've got a bunch of
00:54:01things that i
00:54:01want to go into and then the q a but there's uh there's a lot involved just in rage uh
00:54:07but i probably
00:54:07should kind of push on to some other topics here the uh one of the real interesting things about the
00:54:14development this year that happened over the course of the last couple years
00:54:18um i spent a lot of time with static software analysis tools and it's it's been an eye-opening
00:54:26experience for me where all the good programmers i know everybody has a goal of you want to write
00:54:32good software you want to do it's your craft it's what you do you want to make sure that it's
00:54:37high
00:54:37quality and efficient and does a good job but those are you know very kind of vague hand wavy things
00:54:43you know i but it's still you could say that that's kind of the mantra you want to write good
00:54:47software
00:54:48but there are so much the individual styles that people have to develop i there are there have been
00:54:54plenty of studies and analyses of things but there are certain ways of doing things where that are
00:54:59more or less error prone and getting into a programming language discussion it's it's a religious war sort
00:55:05of thing if you try and tell someone that their favorite operator is error prone then they'll be
00:55:10like only for bad programmers you know good programmers will use it right and any tool you
00:55:14can shoot yourself in the foot with on this but i but it's been enlightening to have a lot of
00:55:22analysis
00:55:22tools to look at our our large code base where it was different when it was just uh like me
00:55:29and my
00:55:30hand man i working on the code at id we have uh the id when i send something out to
00:55:36id programmers
00:55:37our alias it goes to 49 people they're not all programmers that are there some of them are people
00:55:42that just want to be informed on what we're doing on there but when we look over our uh you
00:55:47know our
00:55:47two big teams and the two or two smaller teams involved in doing different things there's a lot of
00:55:53people that wind up i writing code touching code committing to our you know our repository and it
00:56:01winds up i'm there's millions of lines of code i'm you know i don't have that's one of those things
00:56:07i
00:56:07sometimes miss just having a convenient word count on windows i haven't bothered to go and get real
00:56:12numbers but uh it's multiple millions of lines of code and i we know that it uh we had one
00:56:19number where
00:56:20we initially tried using coverity as a company that comes in they do analysis of all of your code
00:56:25and they they gave us like 100 issues as a promo of uh you know here's what here's some things
00:56:31that
00:56:32our tool found in there uh and they said you know it's a really high quality code base that this
00:56:36uh
00:56:36usually we find a bunch more things than this and you know i preen a little bit at that so
00:56:41it's like
00:56:41that's it's great that we've got a good team of programmers on this and uh they wanted like fifty
00:56:46thousand dollars for this software tool and if you thought that well it's going to save you uh
00:56:51looking stupid when you ship your game on there that's a completely reasonable thing but we figured
00:56:56we would get back to to looking into that when we got closer to shipping but uh later on i
00:57:02started
00:57:02looking at some other tools options that were available one of the really great things uh available
00:57:07is microsoft has some pretty high quality they've got microsoft actually has uh a very interesting
00:57:14research department that does a lot of things microsoft research has a lot of really smart
00:57:18people in and they do a lot of work covering a lot of different areas but they productized some of
00:57:23their work that had been you know research early on and they've got analyze options for the compilers
00:57:28now normally you only get that on your super ultra platinum premium ten thousand dollar visual studio
00:57:35on there but interestingly for the 360 uh development kit everybody gets that option now most developers
00:57:43are either aren't even aware of it or don't want to turn it on not don't want to deal with
00:57:48it but
00:57:48it's an interesting thought were there where i guess you can draw the conclusion that microsoft figures
00:57:53they're not going to get blamed for buggy pc apps but they will shoulder some blame for buggy 360 apps
00:57:58so
00:57:58they're going to make these tools that make significant differences available for free to 360 developers
00:58:04um and i'll say this quite clearly with no hesitation any 360 developers that are listening to this
00:58:10if you're not using analyze you are making a mistake uh it is enlightening to see what happens when you
00:58:18turn this on i'm we found so we had come out of this coverity stuff with you know 100 ish
00:58:25issues or so
00:58:26on there uh we had certainly grown a lot of code since then we had a lot of new programmers
00:58:30but when we
00:58:31first turned on the microsoft analysis stuff uh it found hundreds and hundreds of things now some of them
00:58:38are the cases where you get a programmer and say that's not really an error i know what i'm doing
00:58:42look this guarantees that this doesn't make this happen and it's okay and there were plenty of those
00:58:47but there were also tons of things where you look at this and say it's saying uh you know potential
00:58:54null pointer access here you're like well i'm checking up there but nope not checking down there you're
00:59:01right and when you see things like that happen over and over and over again you know hundreds of
00:59:09times you start looking at this in a very different way because everybody thinks about programming and
00:59:15development where it's like okay you know we we bang the bugs out of it we get the code good
00:59:19now it's
00:59:20good solid stuff uh we'll you know we'll deal with things in maintenance and there's uh when you talk
00:59:26about reliability theory uh and different things that people analyze when they're talking about
00:59:31traditional like engineering structures there's a lot of debate that goes into things about how
00:59:36well software is just different you know we can take our metals and we can uh get our spread of
00:59:40ultimate tensile strength and yield strength and do all of this and this is how you look at failures
00:59:45you add up all of these tolerances and you can do all of your analyses and figure out some estimate
00:59:50about how reliable it's going to be but you can't look at software like that because software is
00:59:56supposedly deterministic you know either it works or it doesn't it has no chance of failing
01:00:00uh given the same input and there's truth to that and you can argue that in a certain way
01:00:06but when you start looking at large enough bodies of software millions of lines dozens of developers
01:00:12there does get to be a distressingly statistical nature to the amount of failures that you see
01:00:18where software may be deterministic going through things assuming you don't have uninitialized
01:00:24variables and randomized memory locations i but the development process of building that software
01:00:31is very much a statistical process where uh every programmer in the company has you know has put things
01:00:39in that come out and that are just wrong you know you make them up and i you know i
01:00:44can before i got into
01:00:45the static code analysis i did another exercise where i tried to keep a log of the personal errors that
01:00:51i made
01:00:52where you write the code you don't count the things just where you're compiling it getting it to work
01:00:56and not blow up on the very first time that you you know you get it to run but keeping
01:01:01a log of the
01:01:01things where all right i think it's working and then you all the things that you find days or weeks
01:01:06or
01:01:06months later that were actually wrong and there were patterns in there there were things that
01:01:12that i i could see that i was doing where i a common paradigm if you're dealing with pairs or
01:01:18triples of
01:01:19numbers you've got like a dot x a dot y dot z uh it's very very common to say all
01:01:23right copy that
01:01:24line paste paste paste change the x's to y's and the y's disease and uh go through all of that
01:01:29happens
01:01:30all the time there's tons of code that does that but i noticed that i you know when i looked
01:01:34at this
01:01:35over six months i had had three errors that crept through i am you know that were not immediately
01:01:41discovered that only came up later that was a result of not doing that particular thing right
01:01:46and and they were subtle things like oh the alpha channel was screwed up on this image that i never
01:01:51looked at because i was actually copying the blue channel because i didn't change a z to a w or
01:01:56something and something happens once you say well it's an anomaly you know two or three times you
01:02:01start seeing trends and start looking and saying well what do you do to make this not happen and in
01:02:06those cases the obvious things are you use either you know loops or i or templates or objects or something
01:02:12so that you don't have this thing you're you don't want to feel inclined to copy paste but there are
01:02:18a lot of things like that that happen where uh there are things that people just do every day they
01:02:24may
01:02:24have done their entire career been working for 20 years i that just are error prone and are things that
01:02:30wind up causing you problems as you go forward and when we look at these larger teams with millions of
01:02:36lines of codes and so many developers figuring out better practices uh is really important so we've
01:02:43uh i i've really gotten behind the static code analysis we have like the microsoft analyze tools are
01:02:50are always on and they are warnings as errors you can't build the game and run it if it complains
01:02:55about
01:02:55anything and even when it's wrong even when you've got something and you can prove and you can say no
01:03:01it's guaranteed okay because these interrelated things here that's actually a good time to step back and
01:03:06say you know if you had to explain that to me maybe you should change the way the code is
01:03:09working
01:03:10if the analyzer can't figure it out other programmers probably won't immediately figure it out
01:03:15and it will cause problems and that's the other thing that you really notice when looking at things
01:03:21i'm you get a certain perspective if you take your little homebrew project that you put together
01:03:25and you run it through certain tools and lots of people will say i don't need these stupid warnings
01:03:30i you know i'll just figure it out i know what i'm doing and there's some truth to that where
01:03:34uh if you've got to hack something together pretty quick maybe you do want a dynamic language that's
01:03:39not going to complain about types that's not going to you know i just kind of get in your way
01:03:44and who
01:03:44cares if it doesn't work on lots of different things if it just sometimes you just want something done
01:03:48right now and that's okay and it's good to have tools that are efficient for that but when you've got
01:03:52a code base that's going to live for a long time and i tell the programmers now that expect a
01:03:58lot of the code
01:03:58that you're writing it's going to be in use in some way 10 years from now i you know there
01:04:03are bits
01:04:04of quake one code that are in modern games you know nothing important but there are there are little
01:04:10lines that are still there so you have to expect that the code will last a long time and when
01:04:16people
01:04:17start maintaining the code and adding features to it things will break and that's one of the patterns
01:04:22we see all the time in the game code especially where it's clear that they checked for okay i've got
01:04:27target and my target enemy is not another player or this but then later somebody says well we need
01:04:32this other feature let's you know let's make this do this under these conditions so somebody writes
01:04:36some more code down there but it doesn't have the same knowledge of preconditions up there and that's
01:04:41when we wind up getting a game crash i you know somebody winds up saying it's like oh but i
01:04:46didn't
01:04:47expect that we would be changing weapons while i'm falling to my death getting crushed by a vehicle
01:04:51that's targeting me or something like that and those things really come back to bite you
01:04:56so we are i you know we've got some healthy discussion going on about i you know different
01:05:02things that we can do in our programming languages to make things less error prone because it does
01:05:08come down to this we have to figure out how to still do aggressive awesome things in less time you
01:05:14know we cannot take eight years next time to make our next game some of that's content production some
01:05:20of its programming a lot of its design picking your battles intelligently but as programmers there
01:05:26are a lot of things that we can do to not just say write better code take pride in your
01:05:31work that's
01:05:32good and important but you also have to start changing some of the things that you do and applying
01:05:37other tools that are sometimes i you know sometimes unpleasant i after microsoft analyzed i moved on to a
01:05:45couple other tools you know using pvs studio and uh you know then eventually i reached pc lint which
01:05:50is this program that's been around forever you know lint was originally an early unix program
01:05:55and the interesting thing is i was in my uh closet at my house looking at some things and i
01:06:01noticed that
01:06:01i had like a a version seven of pc lint on and i thought back and like yeah i did
01:06:07remember looking at
01:06:08that back in the quake three days i ran some of the stuff and that was back when there were
01:06:13three
01:06:13programmers involved with the project and i and it was also c instead of c plus plus and i remember
01:06:20going through that and saying oh this could help make quality stuff it could be some improvements but
01:06:24it didn't really stick i didn't have that sort of conversion experience where clearly i'm seeing the
01:06:29massive value in static analysis that i do now so i we are completely squeegee clean error free on
01:06:37microsoft analyze and pvs studio but pc lint is uh you know is another beast entirely where it's a lot
01:06:45higher noise to signal ratio where it can it can complain about everything you know all sorts of
01:06:50pedantic stuff and i had hoped that i would be able to i got all of the errors out i
01:06:55was hoping i would be
01:06:56able to go through and at least look at address every warning in there before shipping but we weren't able
01:07:01to there were still thousands of things and a lot of them were clearly i can say well all hundred
01:07:06of these
01:07:07are because we actually initialize something someplace else but it gets back down to that i'm doing that
01:07:11sort of hand waving it's like yeah it looks like that might happen but it really can't and i'm sure
01:07:16buried in those thousand warnings are some of those that really could happen so we're trying to you know
01:07:22to to write better code from the beginning in some ways and i'm i i am considering some of the
01:07:30things
01:07:30we're doing on the other project that i think leads the way here uh one of the lessons that we
01:07:35we took
01:07:35away from doom 3 was that script script interpreters are bad from a performance debugging development
01:07:42standpoint on there it's kind of that argument about oh but you want a freeform dynamically typed
01:07:47language here so you can do all of your quick flexible stuff and people that aren't really programmers
01:07:52can do this stuff but you know one of the big lessons of a big project is you don't want
01:07:55people
01:07:56that aren't really programmers programming you'll suffer for it i'm but one of the things that we
01:08:01did is because the other side of it is also performance you'd think that with our million
01:08:07times faster systems that it's like ah scripting some things performance should be a non-issue
01:08:12and it's it's striking almost how much that isn't the case i you know in the last month of rage's
01:08:18development we're taking some of our flash gooey stuff and converting it to c plus plus because
01:08:23the interpreter to for doing the action script stuff in the gooey is taking multiple milliseconds
01:08:28sometimes even with all of our wealth of processing power uh we still don't have enough performance
01:08:34performance still matters but even more than the performance now i'm looking for these stronger
01:08:38guarantees on code quality you know i want us to be able to you know have full analysis trees that
01:08:44say okay you can still mess the game up by doing all sorts of different things but what i want
01:08:50to be
01:08:50working towards is a case where we can say well the game cannot i cannot have an exception of any
01:08:57kind
01:08:57with sufficient analysis through there we're not there yet but one of the interesting things that's
01:09:02going on is i rage still has a little bit of script uh we still have script that's derivative from
01:09:08doom
01:09:083 it does a few things but the bulk of the heavy lifting is just in game code i you
01:09:14know the in doom 4
01:09:16we have what we call super script which is basically a way to do scripting in c plus plus it's
01:09:22a limited
01:09:22subset of it but you get all the fiber goodness about being able to sleep and do the the nice
01:09:27scheduling
01:09:27things that people always miss in scripting but it's full performance and it's type safe and things like
01:09:33this where uh i'm thinking that we may want to take that even a step further and go to a
01:09:38rigorously
01:09:39subsetted c plus plus dialect for writing the code because it comes back to the statistical awareness
01:09:45of we look over all the code base and mistakes are made every day there are all of these things
01:09:51and
01:09:51it's it's not because people are no good the very best programmers always make mistakes and this is
01:09:57something that i've really internalized that no matter how good you think you are you are making mistakes
01:10:03all the time and you have to have structures around you to try and help you limit the damage that
01:10:08your
01:10:08mistakes will cause find them as early as possible so that you can correct them and the earliest
01:10:14possible time is to find them at compile time so i'm i you know i'm all about trying to be
01:10:20much more
01:10:20restrictive on what we can do here and on the one hand i would i would entertain programming in i'm
01:10:28very
01:10:28tempted to want to move to a functional programming language start programming in you know in haskell or
01:10:33camel or something but that's not a credible thing to do in the game industry because again 49 people
01:10:39on our list i i could probably convince a handful of them that we should yeah we should go convert
01:10:45to
01:10:45a new programming language but then we're back into having performance issues in different cases i having
01:10:51a huge educational and hiring problem so we got to stay with something that's cc plus plus just based on
01:10:57there but i think that we i think that it would be worthwhile for 95 percent of our code to
01:11:06have
01:11:06hard restrictions in place to limit us to essentially the java subset of c plus plus where i you know
01:11:13you
01:11:13have no unchecked arrays you have no uninitialized pointers you know you have no use after free hazards
01:11:20all of these things where you know you look it all down and that's kind of the decisions that you
01:11:24make
01:11:24with java i and then i'd even go a little bit beyond that but it's one thing to say i
01:11:30write all
01:11:31of my new code in this pseudo functional style on there but unless somebody unless something is made
01:11:36impossible it will still creep into your code base so we probably need to be looking at being able to
01:11:42analyze our whole code base and say okay these hyper performance twitchy tuned areas they are go for
01:11:48it do whatever the heck you want on here but the vast bulk of the code we want to be
01:11:52able to make stronger
01:11:53statements about it and that's one of the big directions that that i want to be looking at
01:11:57going forward you know the we've learned a lot about the coding and the development but it's still
01:12:04if not it still winds up being right now of course the final cert issues content is done so programming
01:12:11still the long pole in the tent here i we could argue that if i if we hadn't let ourselves
01:12:17be pushed so
01:12:18much on performance i the programming would have been stable and could have been used earlier on
01:12:23that but uh unquestionably it why it still remains as one of the most important things so looking at
01:12:29what we can do during our development process there is i you know is a pretty big deal i future
01:12:36research
01:12:37wise i've got one of the thing i've got the couple things that i'm looking into with using the current
01:12:44i
01:12:45and you know the current direction of our current data set because i don't think at this point that
01:12:52we can look at the next two games going to a completely different uh development process you
01:12:58know we want a little bit more stability on there it's possible the way it might go is i do
01:13:04some fancy
01:13:05demo of some infinite detail technology on there and everybody goes oh my gosh we really want to use that
01:13:12but i think a lot of us at this point are looking back at rage and saying you know if
01:13:17we had backed
01:13:18off a little bit we could have shipped two games in this time uh time frame and if if you
01:13:23turn back
01:13:24time what i wish we had done is uh taken something with idtech 4 done another game i mean maybe
01:13:30we did a
01:13:30you know just rolled right into a doom 4 there while rage was under development and have a game every
01:13:35three years i am but it's i we don't want to make that same huge long dead time i mean
01:13:42it's been great
01:13:42that everybody still comes to quake con year after year even though we hadn't shipped a game for six
01:13:47years i but i we we don't want to be in that position again in the future and we had
01:13:53the partner
01:13:53companies all of our work with raven it was you know we had our quake four and our wolfenstein but
01:13:58uh where we are right now we want the the big quality games coming out from the the team under
01:14:04one roof uh it's been it's been quite a long journey and the company has exploded in this last
01:14:11uh the last couple years i think we're we're over 200 people now at the company uh it is interesting
01:14:17having qa and production work uh under our roof one of the things that uh like our last game that
01:14:24we
01:14:24did with doom three we're like okay it's a pc game it runs uh burn it to a disc hand
01:14:29it off to the
01:14:29publisher and and we're all done uh it's a different world right now where we have the multi multi
01:14:36platforms and all the translations that we're integrating in-house and it sucks up a lot of
01:14:41additional people there's a lot of extra work that goes into not just making the game but delivering
01:14:47it on all those those areas and i i i get asked a lot if i miss the old days
01:14:54of the smaller teams on
01:14:56there and uh this last year especially has been there have been so many anniversaries on this where
01:15:02we had id software's 20th anniversary quake's 15th i'm 40 years old all of these big numbers that i
01:15:10that go by uh yeah there was a recent graphics article uh that i made a cameo as old man
01:15:16carmack
01:15:16uh it's about time for me to grow a gray beard or something here and that uh you know it
01:15:22has been
01:15:23that path from i you know from young whiz kid to uh industry veteran i guess there's a uh what
01:15:30is it
01:15:30there there's a pattern that goes the spectrum from young genius to old master as we've kind of walked
01:15:36along the the path there but you know i i have fond memories of a lot of the old days
01:15:42but the what
01:15:44i've told the reporters over and over is i'm really a remarkably unsentimental person i don't spend a
01:15:49lot of time thinking about the good old days because i see this a lot the good old days are
01:15:54right now uh
01:15:55rage is the best game we've ever made uh i'm enjoying my programming as much now as i ever have
01:16:01i'm a better programmer than i ever was um it's you know i get i have i have this extra
01:16:07release that
01:16:08a lot of people don't have is that i get to go spend a little bit of time working on
01:16:11mobile projects
01:16:12each year and i had you know i told zenimax like 10 of my time that's what i'll i'll go
01:16:17and do this
01:16:17and i busted that budget a little bit doing the rage i ios app early on because historically the way
01:16:24the mobile stuff had worked is i got to go in and have my little retro moment where i'd i'd
01:16:29go dredge back
01:16:30up uh how you write a software rasterizer or how you program on you know dx7 class gpus and i
01:16:36would
01:16:37sort of toss it over a wall and the the mobile team would go build a cool game out of
01:16:41it uh with rage
01:16:42because it was going to be the first thing people could publicly see about rage we made the decision
01:16:47that uh that i would stick with the project all the way through to shipping and so there were a
01:16:53couple
01:16:53months that i didn't spend any time on the big projects so i haven't actually touched xcode or any
01:16:58mobile development since uh you know since that shipped because that really did kind of overshoot
01:17:03uh the time that i was supposed to be dedicating to all of that but the uh it was interesting
01:17:09just
01:17:09the process of going back in the older technologies and in almost all cases i was able to go back
01:17:15and
01:17:15say uh you know with all of this hindsight some little part of my brain would still be working on
01:17:21those problems that i had in the early days i was able to go back and say all right i've
01:17:25got four days
01:17:26let's write a little software rasterizing engine for all of this and plow through that and that
01:17:31was it was a ton of fun to go back and explore the the old space there and realize that
01:17:36i really have
01:17:37learned a lot over the years there are lessons that let me write better code than than what i wrote
01:17:42back
01:17:43then uh even without the extra resources and i do sometimes think that uh there was a as we moved
01:17:49offices recently uh we have bookshelves of old books and there was a uh a commodore vic 20 reference
01:17:56manual that i think i'd been carrying around since i was 12 years old or something that it just still
01:18:01wound up on a bookshelf at id and one of the younger guys had made the comment that you know
01:18:06looking at
01:18:07that how he doesn't know if the younger generation will ever have the same kind of in touch with the
01:18:12machine that i that our older generation like pointing at me and robert duffy had i'm by having
01:18:19that sense of here's the registers that make the machine go and knowing everything in there and you
01:18:25know my immediate reply was yeah but the new generation can you know tie things together on web pages and
01:18:31do this amazing data access stuff and do absolutely incredible things with modern tools and infrastructure
01:18:37and yeah you do have 20 layers of crap between you and the machine but it lets you do amazing
01:18:42things
01:18:42and that's you know and that's all well and good and it is progress you know i'm not yet a
01:18:47grumpy old
01:18:47man about kids these days not knowing how to program their assembly language and all this i'm but i do
01:18:55sometimes think that there there is value to be had for going back and looking at resource constrained
01:19:00situations because again just you know right now resource constraints matter we sweat a lot on rage
01:19:07about getting our systems to to fit into these constraints even though they're insane compared
01:19:13to what you would have in the early days you know you look at you know your cell phone is
01:19:18far more
01:19:18powerful than a cray supercomputer and we're using it for for all of these silly mundane things with all
01:19:24of these layers of inefficiency but it still winds up being the right thing to do but we have not
01:19:30yet
01:19:30reached the point where we don't care about resource constraints so sometimes i do think that there would be
01:19:36value in spending time on much more tightly constrained platforms and i thought for a little
01:19:41while cell phones were were like that where we look at this and say okay 128k for doom rpg let's
01:19:47cram it
01:19:47all in there and you learn you know all this silly stuff about optimizing java byte code and different things
01:19:53like that but that has you know it's rocketed so far ahead it's like this is just and the crazy
01:19:59thing is
01:19:59this is all in the space that we've been developing rage that i started doing some of the little work
01:20:04on
01:20:04feature phones we get the iphone out and android and going through all of this and then we're up to
01:20:09these gigahertz processors with gigabyte of ram that you can carry around in your pocket and oh optimizing
01:20:16for 128k doesn't seem all that relevant anymore but i still think back to that it might even be worth
01:20:23having an artificial limitation you know where there are i i think pretty highly of a lot of the people
01:20:28to do 64k demo competitions and things like that where it's an arbitrary guideline but to go ahead
01:20:35and and fit something in there there are things that you learn doing that and sometimes i think
01:20:40that maybe there should be something like that where you pick some older platform that's i you know that's
01:20:46low performance but i low enough performance that you evaluate some of these interesting questions
01:20:52i but you could still program it and explore different ways of doing things and i've actually spent a
01:20:57reasonable amount of time thinking through this where i think the right thing to do would be to
01:21:00take one of the old consoles uh that they were produced in the millions and you take something
01:21:05on the level of a ps1 or a you know a nintendo an ultra 64 or something where it's a
01:21:1132-bit system you
01:21:12can write real programs in it it's not dealing with bizarro quirky hardware but just something
01:21:18where you go back and revisit things like well how would you write you know a web browser in this
01:21:23space
01:21:23or a mail program and i'm thinking this would be kind of like the society for creative anachronism
01:21:28for programmers instead of bashing bashing each other with foam swords you're playing on archaic
01:21:32hardware and you know and maybe having some educational uh you know upside to it i and that's on my
01:21:40list of
01:21:40things that i will probably never get to do for time constraints i but you know i i'd like to
01:21:45go back and
01:21:46and spend some time playing with the older things where getting a sense of that i do think is
01:21:52valuable it's hard to quantify the value for for that but like i'd love to if we had a hold
01:21:58in
01:21:58our schedule to say okay programming team uh we're all going to write an atari 2600 game you know you
01:22:03have x number of days let's uh let's see what everybody does it'll be an interesting experience
01:22:09i and that does tie a little bit into another one of the issues with how the company's grown on
01:22:15this
01:22:15and one of the things that we're not doing a spectacular job on is i you know it is it
01:22:22has
01:22:22really been sink or swim where somebody gets hired they're like okay here's your desk here's your you
01:22:27know here's how you bring down the source code and i make yourself productive real quick now i which is
01:22:33you know and some people have thrived under that you know we've got some of the people that just have
01:22:38dived in and figured everything out and i you know written all of their little test cases and stuff and
01:22:43uh and explored and learned but it's not the most efficient way to deal with this and we're still
01:22:48grappling with how we you know how we deal with this not just in programming but across the whole
01:22:53thing and perhaps even more so in in content development because people come in i you know
01:22:59they've worked on unreal engine or something like that they know how to make things happen there and
01:23:04they have no idea whatsoever uh how to make something happen with our current generation of technology
01:23:09and certainly we don't have a polished sdk and commercial books available uh it is a shame that
01:23:16we don't have the uh you know the mod community that we used to draw so heavily from and there
01:23:21are
01:23:21just large trends in the industry that we're going to release our editor for rage uh but it's kind of
01:23:28going to be a non-issue you can go in and change layers and make new layouts for monsters but
01:23:32i know there will not be many people that are trying to make a new mega texture it's just too
01:23:38involved
01:23:38there's too much effort i it's just so much work and there's so many things you have to know
01:23:43and it does sadden me that that that we don't have that anymore and that means we don't have
01:23:48the pool of people to to draw on i i guess that's a perfect place to segue into the i
01:23:55uh the doom
01:23:563 source code will be released this year i got permission from i am it's a
01:24:08so it's actually i really wanted to say how cool xenomax has been about this where you know we we
01:24:16tested the waters a little bit with the the open source uh doom classic on ios and the i'm uh
01:24:22and
01:24:22then releasing the enemy territory wolfenstein source on that but i the problem the issue with the doom
01:24:29source space is there's actually still a project in development that is derived off of this prey 2 is
01:24:34is heavily modified but it's still essentially an idtech 4 project on this and brink was also heavily
01:24:41modified but idtech 4 on this so obviously we're not going to put any effort into this until rage is
01:24:47out the door on the street uh programmers are not going to be pulled off of even testing or triage
01:24:52or
01:24:52anything to to do this but uh the okay has been given and it will be happening we have to
01:24:58make sure we
01:24:58get all of our uh i eyes dotted and t's crossed uh on the legal department but it's as another
01:25:05interesting point on here i had a i had uh a lady from the legal department uh last year's christmas
01:25:12party at xenomax just come up and tell me how important she thought it was that we were doing
01:25:17the open source of the code base and that's you know a little bit of a double take it's like
01:25:21legal
01:25:21department lawyers i you think this is good great i am so xenomax has been really really supportive of
01:25:30this and i you know i almost put this out as a challenge to some of the other software companies
01:25:35i you know there's a lot of you that could be releasing seminal classic old source code that the
01:25:40community would appreciate that young programmers can learn from that all these other benefits can come
01:25:46out of it's clearly been good for us i in the early years there was argument about it about whether
01:25:52you know we gave away too much or we helped competitors on this but uh there's no doubt at this
01:25:57point that the legacy of of the open source software has been a really good thing for id and i'm
01:26:03really
01:26:04happy that we're able to kind of continue that going forward so i the perfect opportunity to pick
01:26:11something up from the steam sale if you don't have doom 3 data handy uh that's the place to get
01:26:15it
01:26:16now which is also a great thing where in previous generations when we'd release source code if you
01:26:20didn't have it on your shelf trying to find some rummage bin with an old version of that the software
01:26:25was challenging but now you just go to steam and uh and get the stuff that way and you can
01:26:30get it and
01:26:30start playing around with it all right thank you all