{"id":602,"date":"2006-09-01T16:02:12","date_gmt":"2006-09-01T21:02:12","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=602"},"modified":"2007-11-04T10:58:18","modified_gmt":"2007-11-04T15:58:18","slug":"quake-4-a-world-of-metal-plastic","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=602","title":{"rendered":"Quake 4: A World of Metal &#038; Plastic"},"content":{"rendered":"<p>A few words about the visuals in Quake 4: <\/p>\n<p>The graphics are good, but that&#8217;s a given.  Saying a first-person game has good graphics is like trying to sell a guy on the idea of a blind date by telling him the girl doesn&#8217;t <em>smell bad<\/em>. <b>Of course<\/b> the graphics are good.  These days, even the terrible games have awesome graphics.<\/p>\n<p>I&#8217;m going to nitpick the engine a bit here, but let me start by saying that the Doom engine is a fantastic piece of technology.  This is the second game I&#8217;ve seen that used it, and taken together the two games show us a lot about what the engine can and can&#8217;t do.  <\/p>\n<p>It&#8217;s interesting to see the Doom engine in another context.  It turns out that a lot of the look of the world in Doom was the result of the engine, not artistic direction.  The &#8220;everything made of dull metal and plastic&#8221; look remains, and I don&#8217;t think you can get the engine to do anything else.  I&#8217;ve never seen it do wood, for example, and I can&#8217;t help but wonder how the engine would pull it off without making it look like formica.  <\/p>\n<p><table width='384'  cellpadding='0' cellspacing='0' border='0' align='right'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/quake4_bridge.jpg' class='insetimage' width='384' alt='Quake 4: Surface of the Strogg homeworld.' title='Quake 4: Surface of the Strogg homeworld.'\/><\/td><\/tr><tr><td class='insetcaption'>Here we are outside in broad daylight, but the ground directly underneath the bridge is pitch black.<\/td><\/tr><\/table>One of my gripes with the engine is the way that a room can have a light source of sun-like luminance at the center and still be pitch black in the corners.  There is no way around this:  I&#8217;ve played with the editor and I can see that the wonderful unified lighting system (which is a real boon and great breakthrough for all sorts of technical reasons) has this one annoying limitation, which is that shadows are absolute.  Imagine this: You are in direct sunlight, at high noon, out in the open.  Now you have an awning sticking out from the side of a building.  Using the Doom engine, <em>you will need to use your flashlight to see stuff under that awning.<\/em>   This is obviously not realistic, but is the annoying result of those thechnological tradeoffs we keep making to make our videogames look pretty. Probably this will be resolved in the next-gen engine, but for now you&#8217;ll be giving your flashlight a lot of use.  The reason for this is that light doesn&#8217;t bounce off of surfaces, so anything that isn&#8217;t <em>directly<\/em> illuminated will be pitch black. <\/p>\n<p><table width='320'  cellpadding='0' cellspacing='0' border='0' align='left'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/quake4_crates.jpg' class='insetimage' width='320' alt='Quake 4: You can&#8217;t have a planetary invasion without a whole mess of crates and barrels.' title='Quake 4: You can&#8217;t have a planetary invasion without a whole mess of crates and barrels.'\/><\/td><\/tr><tr><td class='insetcaption'>(Top) The similar lighting behavior on these objects makes it look like they are all made from the same stuff. (Bottom) The specular highlights have been circled just to show you what I&#8217;m talking about.<\/td><\/tr><\/table>The other thing that surprised me was the uniform specular lighting.  The problem is this:  All of the shiny stuff in the world (which is almost everything you see that is not sky or dirt) has a bit of a gleam to it; a blob of light that serves as an approximation of a reflection of the light source.  This is a common effect and is often called a &#8220;specular highlight&#8221;.  If you want the object to appear to be very smooth (like crystal ball or a freshly waxed car) you make the gleam a very small, precise dot.  If you want the object to still be shiny but have a coarse surface (like an upholstered couch or a stainless steel bowl) then you make the gleam a broad, fuzzy blob of light.  <\/p>\n<p>The problem with this iteration of the  Doom engine is that all objects have the <em>same<\/em> level of &#8220;polish&#8221; or &#8220;smoothness&#8221;.  You can adjust how bright the reflection is, but not how tight or diffuse the reflection is. There is just one universal setting for all objects. If they made this universal smoothness too smooth, then it would look like everything in the world was brand-new, wet, or had been given a fresh coat of wax.  If they made it too diffuse it would have made everything too plain and the effect would be lost.  So, they selected one global value somewhere in the middle and stuck with it.  After a while the eye notices this.  We&#8217;re used to seeing some objects with more shine than others, and seeing every single object and surface in the room give off the same exact specular highlight makes it feel like it&#8217;s all made from the same stuff.  Even if one surface is painted to look like diamond-plate steel and another like plastic, their specular behavior tells our eyes they are just the same material in different colors. John Carmack mentioned after the release of Doom that he was working on this, but I guess the changes didn&#8217;t make it in time for Quake 4.  <\/p>\n<p><table width='384'  cellpadding='0' cellspacing='0' border='0' align='right'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/quake4_darkness.jpg' class='insetimage' width='384' alt='Quake 4: Who turned out the lights?' title='Quake 4: Who turned out the lights?'\/><\/td><\/tr><tr><td class='insetcaption'>(Top) This is what the game normally looks like. How big is the room? What&#8217;s going on in here? (Bottom) After adding a few lights, we can see this place is kind of cool. <\/td><\/tr><\/table>My biggest complaint about the game is the pervasive darkness.  In Doom the place was relentlessly dark because the base lost power, but in Quake 4 you are ostensibly attacking an operational enemy location.  Do the Strogg really fumble around in the dark like blind men?  On three different occasions  I blundered over a ledge and fell to my death because I couldn&#8217;t see where I was going.  Darkness is fine if you want to create a sense of fear, but restraint is needed.  <em>Going<\/em> into a dark room is frightening.  <em>Being<\/em> in a dark room is frustrating and boring.  <\/p>\n<p>Using some cheat codes I was able to add some lights to the more difficult rooms and discovered that there is a lot of cool stuff hidden in the darkness.  The place looked a lot more interesting and I was finally able to get a feel for the area, instead of peering at the world a little slice at a time through my flashlight beam. What is the point of artists making detailed rooms when we can&#8217;t see any of it?  Might as well make the rooms simple empty cubes.<\/p>\n<p>They did a wonderful job of preserving the original industrial feel of the Strogg homeworld established in Quake 2. The games are generations apart in terms of graphics engines, and I wondered how well the original would translate.  By borrowing just a few sound effects and some architectural cues, they really managed to capture the gritty style of the original.  <\/p>\n<p><strong>Five Months Later:<\/strong> Looks like I was wrong about how the engine worked:  After a graphics card update, I see that the pitch-black areas are not pitch black any longer.  Dark, sure.   But the game doesn&#8217;t have the perfect shadows in broad daylight effect it had before.  I assume this was a result of some wacky settings somewhere along the line.  <\/p>\n<p>The game is a lot more fun now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few words about the visuals in Quake 4: The graphics are good, but that&#8217;s a given. Saying a first-person game has good graphics is like trying to sell a guy on the idea of a blind date by telling him the girl doesn&#8217;t smell bad. Of course the graphics are good. These days, even [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-602","post","type-post","status-publish","format-standard","hentry","category-reviews","tag-quake"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=602"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/602\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}