John Carmack Discuss Mega Texturing 313
An anonymous readers writes in to say that "id Software has introduced a new technology dubbed Mega Texturing that will allow graphic engines to render large textures and terrains in a more optomized way while also making them look better. Gamer Within has Q & A with John Carmack on Mega Texturing."
mega texture commands in Doom3 (Score:4, Insightful)
Re:mega texture commands in Doom3 (Score:2, Informative)
Re:mega texture commands in Doom3 (Score:4, Insightful)
Really? What's the difference?
keep the spelling the same if you mean to refer to the same thing
Camel casing is an exception to this rule. Making it so that the M at the "beginning" of the identifier was caps would break consistency with other identifiers. And unless there really is a distinction between Mega and mega, and both had meanings within the code, I think the latter is more important.
Re:mega texture commands in Doom3 (Score:2)
showMegaTexture and megaTextureLevel are referring to settings about the same thing.. I don't know what either does, but you can bet your sweet bippy that they are about settings on the same system.
Re:mega texture commands in Doom3 (Score:3, Funny)
Code conventions do not follow English syntax rules or definitions. For the sake of mental consistency, don't even think of them as "words".
I don't see why you'd have a problem with camel-case code, but you voice no problem with the lack of spacing, that "r_" isn't part of English language syntax, or that the commands aren't syntatically legal English phrases anyway.
Carmack Owns My Wallet (Score:2, Funny)
Article Text (Score:5, Informative)
Publish Date: 01 May 2006
Cain Dornan
One of the most respected and well-known game developers in the world, John Carmack hardly needs any introduction. Having mastered the skill of game programming, Carmack co-founded developer id Software, and has also worked on such classic series as Doom, Quake and Wolfenstein 3D.
In this Question & Answer with Carmack, he discusses the new MegaTexture technology, which will be used in the upcoming Enemy Territory: Quake Wars for PC. Definitely a worthy read for any programming, designing or general development enthusiast, as well as any gamer slightly interested in the development process behind games.
Q1: What is MegaTexturing technology?
Answer: MegaTexture technology is something that addresses resource limitations in one particular aspect of graphics. The core idea of it is that when you start looking at outdoor rendering and how you want to do terrain and things in general, people almost always wind up with some kind of cross-fade blended approach where you tile your textures over and blend between them and add little bits of detail here and there. A really important thing to realize about just generally tiling textures, that we're so used to accepting it in games, is that when you have one repeated pattern over a bunch of geometry, the texture tiling and repeating is really just a very, very specialized form of data compression where it's allowing you to take a smaller amount of data and have it replicated over multiple surfaces, or multiple parts of the same surface in a game since you generally don't have enough memory to be able to have the exact texture that you'd like everywhere.
The key point of that is what you really want to do is to be able to have as much texture as you want to use where you have something unique everywhere. Now normally, you just can't get away with doing that, because if you allocate a 32,000 by 32,000 texture, the graphics curve can't render directly from that. There's not enough memory in the system to do that, and even when you have normal sized textures, games are always up against the limits of the graphics card memory, and system memory, and eventually you've got hard drive or DVD memory on there, but you wind up with a lot of different swapping schemes, where you'll have a little low-res version of a texture, and then high res versions that you bring in at different times, and a lot of effort goes into trying to manage this one way or the other.
So when Splash Damage was starting on, really early with Enemy Territory: QUAKE Wars, they were looking at some of these different ways to render the outdoor scenes with different blends and things like that. And one of my early suggestions to them was that they consider looking at an approach where you just use one monumentally large texture, and that turned out to be 32,000 by 32,000. And I - rather then doing it by the conventional way that you would approach something like this (i.e. - chopping up the geometry into different pieces and mapping different textures on to there and incrementally swapping them for low res versus high res versions), just let them treat one uniform geometry mesh and have this effectively unbounded texture side on there, and use a more complicated fragment program to go ahead and pick out exactly what should be on there, just as if the graphics hardware and the system really did support such a huge texture.
In the end what this winds up getting us is the ability to create a great outdoor terrain texture that has far more complex interactions than anything that you would get with any kind of conventional rendering, where you've built it up out of pieces of lots of smaller textures on there, where they do some sophisticated things with growing grass up between bump maps. And then you can go back and do hand touch ups in a lot of different places to accent around features that are coming out of the surf
Re:Article Text (Score:2, Interesting)
So if a mod team wants to make their own map you either need to reuse one of these behemoth textures or find an artist that can wrap their head around the technology and create one themselves.
Procedurally generated textures are a hog and can be very hard to pull off but they still seem like a superior solution to this.
On the other side I am certain that level designers and artists working together can make some really great looking ma
Re:Article Text (Score:4, Interesting)
Nah, you just need good tools. Use the game itself as a tool and let people run around the level spraying the texture with spray paint cans (or the digital equivalent). Then spit the MegaTexture out after they're done.
Re:Article Text (Score:2)
Re:Article Text (Score:3, Funny)
Re:Article Text (Score:2)
It's inevitable that as games get more sophisticated, equivalent-quality fan mods will be harder. Developing a next-gen game costs millions, no fan mod team can compete with that. So, yes, we will have to get used to fan mods re-using a lot of the game's original content.
The Aliens Total Conversion for Doom II was one of the scariest games I've ever played, but that kind of thing just isn't possible any more, sadly. And not just for
Re:Fan Mods (Score:3, Informative)
Genius (Score:3, Insightful)
Re:Genius (Score:4, Insightful)
The modding community filled the gap eventually, but that's not points for Q3, that's points for all of the dedicated people who were upset by the lack of options in that fanboy love-fest.
Sorry if I sound bitter about it, but I can recount back to the days when PC Gamer stated, more or less in its review that UT was vastly superior to Q3 in every imaginable way, and then gave it a lower score and handed the editors choice to Q3 instead. They were flooded with mail but never really could explian whose bathwater they were drinking when they either wrote a review that was too good or a score that was too low. I suspect a rolled up wad of hundreds under the table and nothing more.
Re:Genius (Score:3, Insightful)
Clearly, System Shock 2 is the best of its time. Wait, what about adjacent years?
Oh crap, a huge list of games, most of whi
Re:Genius (Score:3, Insightful)
I've played almost every game you listed. Many of them four or five times (some even more) and they all have more story than Q3, a lot of them have more weapons or more game play modes. Some even look better.
But, Q3 was installed and played almost daily on my computer from the day I bought it (a few weeks after it became available) until about three mont
Re:Genius (Score:2)
Re:Genius (Score:2)
This is the truth. He seems like an all around down to earth guy which makes it even better.
Quake 3 was by far the best game of its time. Unreal Tournament was fun, but it just wasn't Quake 3.
I thought Q2 was better than the original unreal, but I thought Unreal Tournament was much better than quake 3. The extra game modes, along with maps with better flow sold me. The best feature of the original unreal tournament was the overpowered guns. All
So how long ... (Score:3, Insightful)
Why not go procedural? (Score:5, Interesting)
Re:Why not go procedural? (Score:3, Informative)
Re:Why not go procedural? (Score:2)
Which means that you'd need to lock everyone down to a lowest-common-denominator level of generated world, to ensure that all machines could handle it in the time you had.
I also suspect that games designers want more control over the way things look than procedural effects would give them.
Re:Why not go procedural? (Score:3, Insightful)
As such, we can both be chasing the same demon down the same hallway, having the same experience, without having to see the same exact thing, just as your running at 1024x768 doesn't impact my running at 800x600.
Re:Why not go procedural? (Score:3, Informative)
- you still don't get full control on the look. If you want to add a rabbit hole texture in a particular area, you still have to create a polygon just for it or do some other texture trick to add that texture over the normal gras
Re:Why not go procedural? (Score:3, Insightful)
Procedural is great, when you're talking about certain types of things ( say, fractally generating displacement maps for terrain ), but isn't going to help when you want, for example, foot prints, blood spatters, graffiti, cigarette butts, candy bar wrappers, etc etc. Artists can do all this, and can do it well. Who cares how far you can zoom into, say, a ceramic tile texture if it's just a ceramic tile texture? With this mega texture, artists can make each tile slightly different and can put in ind
Re:Why not go procedural? (Score:2)
Re:Why not go procedural? (Score:2)
Re:Why not go procedural? (Score:3, Insightful)
Re:Why not go procedural? (Score:5, Informative)
I agree with him.
On Carmack (Score:2, Insightful)
As a game developer, though, it's just not there. anytime I hear about an id game now, I just wait until someone brings out a truly great game using the engine that Carmack has developed.
Seriously - let's review teh last few: Doom3? Enter room. Kill. Lights go out. Kill more. Repeat. Q3A? See also: UT Q2? See Q1. then the origin Doom games. Then Wolfenstein.
id software make great tech demos. Not great games. Beyond the engine, id's games do nothin
Re:On Carmack (Score:2)
As a game developer, though, it's just not there. anytime I hear about an id game now, I just wait until someone brings out a truly great game using the engine that Carmack has developed.
Yes, I'm surprised that they thought nostalgia would make Doom3 a hit. In fact, there was supposedly quite a bit of internal turmoil regarding on whether to even do a Doom3. I can't find the link right now because I originally got it off of Brian Hook's web site [bookofhook.com]
Re:On Carmack (Score:4, Interesting)
Re:On Carmack (Score:3, Funny)
My wife still laughs when she remembers turning me into a chicken.
!iD (Score:2)
Variation on a theme (Score:5, Interesting)
I think the Myth RTS games from Bungie used very large textures for the terrain, and this moved on to Halo - terrain there is drawn using a large, low-resolution texture - the red, green and blue channels are used for the colour, while the alpha channel is used to determine which of two detail textures should be used - e.g. grass or sand. It works quite well [halomaps.org]. I think Far Cry does something similar, but more advanced still.
The former are still low-resolution, though - but the not-a-game Celestia [shatters.net] has 'virtual texture' support, for rendering silly levels of detail on planet surfaces. Like, up to 128k by 64k pixels [celestiamotherlode.net]. The textures are split into many, many files for each level of detail, which are streamed in from the hard disk when required. Works fairly well.
Combining the two approaches, though, seems very new - the 'Mega Texturing' from John Carmack is probably dramatically different from an implementation point of view, and sounds rather interesting at any rate - the description of the upgraded, non-Quake-Wars version makes it sound like it could uniquely texture a whole world beyond just terrain, so could work for simulating real cities, as opposed to smoke-and-mirrors game cities.
I'm sure he talked about this in a
Re:Variation on a theme (Score:2)
Anyone know of good approximiations or solutions to the 'over-hanging cave entrance' problem?
Gameplay needs innovating. (Score:3, Insightful)
However, what we really need is gameplay innovation. Actually, what we really need is for developers to stop making every last first person game a damn shooter. Can't they do anything else with a first person perspective. The potential here is enormous and yet it looks like developers have a fetish with gunplay.
There have been games with potentially strong storylines that get mired down by this nonsense. There's little discovery and certainly no problem-solving. These games come down to who has more firepower and occassionally discerning some basic pattern in enemy movement.
Maybe the problem is that these developers invest so much energy in graphics that there's little room to refine the other aspects of the game. Or they just think that the consumer doesn't want to do anything other than destroy things and kill people.
Re:Gameplay needs innovating. (Score:2)
The answer to this, if I may quote the character of Michael Scott from the US version of The Office (fantastic show, BTW):
"What is the most exciting thing that can happen on TV or in movies, or in
Re:Gameplay needs innovating. (Score:2)
By de
Re:Gameplay needs innovating. (Score:2)
I've actually been thinking on this a lot myself (Score:2)
Nice. (Score:2)
Giga Texturing (Score:3, Funny)
Truly, this is an age of wonders. (Score:5, Funny)
Re:Truly, this is an age of wonders. (Score:2)
Don't forget the skulls. Gotta push minimum 50+ skulls-per-room decorating motif or it ain't 'dark'.
Re:Truly, this is an age of wonders. (Score:2)
ClipMapping (or ClipTexture) (Score:2, Interesting)
Re:ClipMapping (or ClipTexture) (Score:2)
Next Gen Consoles (Score:2)
Read how the devs that are working on them, and what they are liking, I find provides better incite than PR prelesses, or Pony shows for the press.
Press releases are garbage, reading inbetween the lines of Carmack's or Sweeney's comments provides far more information about where consoles are going.
Most interesting answer: (Score:5, Informative)
Answer: It doesn't help them. In general, all the technology progress has been essentially reducing the ability of a mod team to do something significant and competitive. We've certainly seen this over the last 10 years, where, in the early days of somebody messing with DOOM or QUAKE, you could take essentially a pure concept idea, put it in, and see how the game play evolved there. But doing a mod now, if you're making new models, new animation, you essentially need to be a game studio doing something for free to do something that's going to be the significant equivalent. And almost nobody even considers doing a total conversion anymore. Anything like this that allows more media effort to be spent, probably does not help the mods."
A pretty honest and insightful answer, if you ask me. This is a feature that'll allow the big boys to make ever-more realistic environments, but it'll mean indie developers and mod developers will have to work that much harder to make anything comparable.
But HOW does it work? (Score:4, Insightful)
And one of my early suggestions to them was that they consider looking at an approach where you just use one monumentally large texture, and that turned out to be 32,000 by 32,000. And I - rather then doing it by the conventional way that you would approach something like this (i.e. - chopping up the geometry into different pieces and mapping different textures on to there and incrementally swapping them for low res versus high res versions), just let them treat one uniform geometry mesh and have this effectively unbounded texture side on there, and use a more complicated fragment program to go ahead and pick out exactly what should be on there, just as if the graphics hardware and the system really did support such a huge texture.
What does it mean? Unless I missed something, the closest approach to describe how MegaTexturing works is "a more complicated fragment program to go ahead and pick out exactly what should be on there". So? Carmack talks about how awsome the technique is but he won't tell us how it works in reality. Of course, he has no obligation to tell the world his trade secrets, but the article itself seems mostly just to be there to hype this technology.
Re:But HOW does it work? (Score:3, Informative)
Re:But HOW does it work? (Score:3, Informative)
Re:But HOW does it work? (Score:2)
Video card support for mega texturing (Score:2, Interesting)
is it me or .. (Score:2, Troll)
is it a matter of DirectX vs. OpenGL?
no troll, just a gamer trying to get my head around the engine technology.
Megatextures video (Score:2)
How Does This Work? (Score:3, Insightful)
My best guess is that one starts with a tiled texture like you would in any other game but that some engine allows artists to add modifications to the texture in different areas. Thus you take up less memory than actually having a full texture of that size but each area has it's own unique touchups.
Is this really what it does? I'm getting really frustrated at these stupid little gaming articles that never really explain the tech.
Re:Ah, but (Score:5, Insightful)
Speak for yourself. When I can't tell the difference between a rendered character and a live one, then I'll start wondering if graphics are approaching "good enough". Of course better physics and AI is also necessary to improve immersiveness, but there's no way I'd say graphics need no further improvements anytime soon.
Re:Ah, but (Score:4, Interesting)
Yeah, but would you really want to shoot or hack and slash a photo-realistic character for fun? That's pretty sick (IMO).
Re:Ah, but (Score:4, Insightful)
Yep (Score:4, Insightful)
I want the option. Not specifically for the gore, but to know that level of detail is possible.
Re:Ah, but (Score:2)
Those sick sick horror/thriller/crime moviegoers!
Re:Ah, but (Score:2)
Your not looking at the whole picture... by then Duke Nukem Forever will be out and photo-realistic stripers for the win!
Re:Ah, but (Score:2, Insightful)
Just because we become capable of photorealism doesn't mean the technology is going to be applyed that way.
At the very least, developers might be able to abuse the new tech in a way that lets them spend more time on the other parts of the game.
Re:Ah, but (Score:2)
I think either point of view is based on the assumption that there's a uniform tradeoff. You don't do work on the graphics to the detriment of the playability unless you're on some very odd crack. You develop a game that you think will suit the market.
Of course, anyone that's armchair quarterbacking Carmack's choices on development effort at this point is probably
Re:Ah, but (Score:3, Funny)
Re:Ah, but (Score:2)
Re:Ah, but (Score:2)
No, he's a college kid. He's in for a rude awakening when he gets out into the real world with a 40 ms ping. Somehow, I don't feel bad for him.
In any case, I've found BF2 to have really good netcode and totally playable up to a 100ms ping or so.
And speaking of BF2, that new Quake: Enemy Territory looks like a BF2 clone, but with spiffier graphics.
Re:Ah, but (Score:3, Insightful)
It's funny to see how far connections have come since then, and what people now deam as unacceptable.
Re:Ah, but (Score:2)
Re:Ah, but (Score:2)
Also, if you commit to playing last year's games, you can also save a bundle of cash in hardware upgrades, since you never have to buy the latest and greatest.
-Z
Re:Ah, but (Score:2)
Re:But don't forget the game (Score:2)
Not a bad way of doing it really, when you don't have to care as much about the technical side, the artistic side benefits. Hopefully.
-1: Obvious (Score:2)
Re:-1: Obvious (Score:2)
Maybe they do, but sometimes you have to wonder whether the games companies remember this? Hollywood films and games development seem to same this same issue.
Re:-1: Obvious (Score:3, Funny)
Re:But don't forget the game (Score:2)
Back when 3D acceleraters were just becoming common, there was a pretty big concern in the gaming industry about the loss of gameplay. We get used to the graphics, and we get over it.
Re:Thank you John Carmack! (Score:2)
Re:patent? (Score:3, Informative)
You really owe it to yourself to understand what patents are all about, even if you never ever plan on applying for one.
Re:patent? (Score:3, Informative)
Usually, (I think) inventions are supposed to be kept secret until a patent application has been lodged. I might be wrong about that, and inventors might have some time limit within which they must lodge a patent application after having gone public with their invention.
It is certainly not the case that prior art is only established when a patent has already been applied for, though.
Re:patent? (Score:2)
1) Keep it a secret
2) Release it to the public domain
3) File a patent.
By filing the patent, you are actually releasing the info to the public, but in a special way that gives you a monopoly on your invention for a period of time.
To release an invention to the public domain, you basically don't do 1) Keep it a secret. Publishing is the most efficient way of doing this.
I actually did RTFA. =) Sorry if my urging you to learn more sounded negative. It
Re:patent? (Score:2)
First of all, I'll point out a 32000x32000 texture is 3 (no alpha) or 4 (with alpha) GB of memory - too much for RAM in most cases, much less for VRAM. The only way to load such a beast is to grab a chunk of it (but, as he specifies, not pre-chunking the data). This is nothing new as far as a technique -
Re:patent? (Score:3, Interesting)
I'd hate to see John get into another pickle wher
Re:Voxels (Score:2)
A shame too, I liked voxels.
The problem with voxels... (Score:3, Informative)
The more traditional vertex mesh is a much less data-intensive way of representing the parts of the world that the player actually cares about. Unless tunneling through terrain or slicing objects in half on arbitrary planes is a big part of your gameplay, it's probably not worth the eff
Re:Enough is enough (Score:3, Interesting)
When games become indistinguishable from reality, why would someone waste time killing somebody in reality when you could do the same in a virtual setting without fear of getting thrown in ja
Re:Enough is enough (Score:3, Insightful)
Murder is not primarily committed so that people can have the experience of having murdered someone. Murder is usually a means to an end, not an end in itself.
I hope you're not saying tha
Blame the parents (Score:2)
Never got the option myself.
Did the game force your kid to shoot his own mates to get their ammo? No? Then what made him do it? Possibly the way he was educated?
I am sick and tired off people blaming their behaviour on games/movies/music/books/cave paintings. If you are an asshole that is because you are an asshole pro
Re:Blame the parents (Score:2)
Studies have shown that children who are exposed to heavy violence in games tend to act more aggressively in real life. Doesn't mean they are necessarily going to go pick up a gun and shoot their parents, but it it does have an effect on them.
I do find it somewhat ironic that you would make such an aggressive post about how ga
Re:Enough is enough (Score:5, Insightful)
I think that's more because you know exactly what's going to happen than because you're being desensitized to violence. The first time, things that are happening catch you by surprise. Now, I don't care how many times you've seen Saving Private Ryan, if you get placed in a real battle situation, you're going to freak out (unless you've had other training, of course).
The same thing is much more easily seen with comedies. The first time I see a good comedy, I spend most of the time laughing. I'll never laugh as much in subsequent viewings. It doesn't mean I'm getting desensitized to comedy. It means I've seen that scene before.
Re:Enough is enough (Score:2)
Re:Id has never made a decent outdoor engine! (Score:2, Informative)
Especially in a larger firefights.
Re:Id has never made a decent outdoor engine! (Score:2)
I never liked people going on a 5 minute trek in Delta Force to reach the far away hill for sniper camping.\
Small map + knife, saw = much more fun.
Re:John Carmack? (Score:2)
Re:Optomized (Score:2)
Re:FarCry/KryTek had this first (Score:2)
Re:FarCry/KryTek had this first (Score:5, Informative)
Re:too bad (Score:2)