Slashdot Mirror


Intel Shows Off Quake Wars, Ray Traced

An anonymous reader writes "At the Research@Intel Day 2008, Intel showed a ray-traced version of Enemy Territory: Quake Wars. Compared to the original game, a water with reflections and refractions and a physically correct glass shader were added. Also, a camera portal with up to 200 recursions to itself has been demonstrated. To show off this ongoing research in the topic of real-time ray tracing, a four-socket system with quad cores has been used that allowed rendering the enhanced visual effects in 1280x720 at 14-29 fps. Just two years before, early versions of Quake 4: Ray Traced ran only at 256x256 with 17 fps. Even though Intel's upcoming Larrabee will be primarily a rasterizer, the capabilities for also doing ray tracing on it should deliver interesting opportunities."

42 of 368 comments (clear)

  1. Voxels? by Xanavi · · Score: 4, Interesting

    What ever happened to voxels?

  2. Height maps by tepples · · Score: 4, Insightful

    What NovaLogic called a "voxel space" in Comanche was really just a height map. I guess the reasoning is that a height map is just a run-length-encoded representation of a voxel space.

    1. Re:Height maps by billcopc · · Score: 5, Interesting

      Self-modifying assembly is a long-lost art. If you have a strong stomach, a long long time ago I used to use QuickBasic as a ghetto scripting tool, loading in various assembler modules to do the dirty work. I later switched to Pascal.

      Back then, most of my hardware-control loops used self-modifying bits and bobs... sometimes to save a byte, sometimes to avoid a fetch. A few times I used true self-modifying code where the outer loops would reprogram the inner loops on-the-fly. It was the most CPU-efficient way to do realtime multichannel sound synthesis on a 486, and of course it gave me the opportunity to refer to it as a dynamic synth compiler :) The bitches were all over me, dawg!

      All that lovely code died a quick, silent death when Windows 95 came along. It wreaked all sorts of havoc and Windows would kill the app as soon as it tried to self-mod. It's a shame I didn't keep up with the skills, I could be one rich despicable virus writer today :)

      It's times like this I miss the 90's, I still have that 386 programming manual somewhere safe.

      --
      -Billco, Fnarg.com
    2. Re:Height maps by Anonymous Coward · · Score: 5, Insightful

      I miss the 90's too, when geeks ruled the internet and programming was an art.

      Now children rule the internet, and programming is a dead end job.

      What a shitty decade this is.

    3. Re:Height maps by Anonymous Coward · · Score: 4, Funny

      you forgot to add "get off my tubes!"

    4. Re:Height maps by Tyger · · Score: 4, Informative

      Back in the 6502 days, self modifying code wasn't just a trick, it was how some things were done. For example, there were no 16 bit indexed memory access methods. The main method for indexed memory references used one of the 8 bit registers for the low 8 bits of the address, and an immediate value for the high 8 bits. To loop over more than 256 values, you had an outer loop that modified the immediate value of the instruction every 256 iterations.

  3. Why? by Iamthecheese · · Score: 5, Funny

    A lot of power for some eye candy. IANAG(gamer) but it seems to me that more investment into the story line and playability would go a lot further than raising the system requir --oooh shiny!

    --
    If video games influenced behavior the Pac Man generation would be eating pills and running away from their problems.
    1. Re:Why? by shermo · · Score: 5, Insightful

      Certainly more gameplay and a decent storyline would make it a better game. But sadly, fancy graphics will probably sell more on opening day. (See spiderman sequels)

      --
      Insanity: voting in the same two parties over and over again and expecting different results
    2. Re:Why? by Anonymous Coward · · Score: 5, Insightful

      Some very nominal special purpose hardware would eat this alive. Remember intel is using unaccelerated general purpose processors to do this!

    3. Re:Why? by Anonymous Coward · · Score: 5, Funny

      A lot of power for some eye candy.

      Only sixteen cores?! For real computing power, you'd could run even more cores-- perhaps (Beowolf?) cluster several million machines so that each is responsible for a single ray/pixel.

      Ultimately, this massively parallel distribution will provide data from an even bigger experiment-- what happens when you trace rays from the sun, bounce them off the earth, hit the CO2 layer, bounce back to the earth, back to the atmosphere, back to the earth...

    4. Re:Why? by Sabz5150 · · Score: 5, Insightful

      Certainly more gameplay and a decent storyline would make it a better game. But sadly, fancy graphics will probably sell more on opening day. (See spiderman sequels) Really? See: Wii.
      --
      "Who modded this informative? Whoever it is must've been smokin' some of that martian pot!"
    5. Re:Why? by Keyper7 · · Score: 5, Interesting

      Actually, I believe real-time ray tracing open up some very interesting gameplay possibilities if people know how to use it.

      Imagine a FPS, for example, on which you could notice a sneaking bastard on an unusual angle behind you because you saw his reflection on the doorknob you were about to pull. Or maybe cursing at the newbie because he didn't pay attention to the position of a specific lamp and now your team is screwed because your shadows have been noticed.

      Then again, I think the whole FPS genre is saturated. Examples of other types of games are welcome here.

    6. Re:Why? by vadim_t · · Score: 5, Informative

      I see two things here:

      1. It runs on 4 x quad core. Which is about just 4X the CPU power a normal user could have right now. A 4X speed improvement isn't probably that far away. They may be hoping to reach a point where a dedicated video card is no longer needed. With the required performance level being so near, adding some extra support to the CPU may be enough.

      2. Raytracing scales differently than methods currently used in games. With raytracing, increasing resolution is what adds the processing time, while adding detail is very cheap. Which I'm guessing means that as soon as you get raytracing going in real time at a decent resolution, adding extra quality is cheap. This would radically change the current situation, and possibly drastically bump the quality level.

      3. Raytracing implements effects like shadows and transparency in a straightforward manner, which should make it easier to code. Game developers should like that. Also, in my understanding, raytracing also doesn't need to decompose things like spheres into lots of triangles, so the engine can test a ray's collision with a sphere directly. If you can specify parts of a scene as objects like spheres, toruses and such, it'd result in much finer detail.

      What I think Intel is trying to do here to ATI/AMD and nVidia is the same thing fast CPUs did to soundcards. There's no longer a real need to have specialized hardware to play MIDI or add effects to sounds, since the CPU is quite capable of doing it itself. In fact, IIRC, Creative had to *blackmail* John Carmack into supporting EAX, because he could implement the same effects faster using the CPU.

    7. Re:Why? by nschubach · · Score: 4, Insightful

      One odd case in many. How many people go to the store and look at the back of the box for pictures of the game. How many game sites have screenshots... Graphics sell.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    8. Re:Why? by Brian+Gordon · · Score: 4, Insightful

      Except the graphics kind of look like crap. If it's going to run at 16fps it better look a LOT better than traditional optimized rendering. But.. well, they're very low-res screenshots and the texture detail is Quake III at best. I kind of raised my eyebrows at a few of those ET:QW shots; the environments seem very sparsely populated by anything except solid geometry and the near-solid white skies reminded me of Halo 1.

    9. Re:Why? by CastrTroy · · Score: 4, Insightful

      Can you even tell what the game looks like from the shots on the back? 1.5 inch square photos don't give you much of an idea of the graphics quality of a game. Especially when you don't know if the screenshot is from a cutscene or from actual gameplay.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    10. Re:Why? by Zerth · · Score: 4, Insightful

      And yet Dwarf Fortress/Nethack/etc is so much fun, despite being ASCII. Perhaps even because of being ASCII.

    11. Re:Why? by Anonymous Coward · · Score: 5, Interesting

      Fancy graphics don't make a good game, but poor graphics (as relative to the times) does make a game poorer.

      every ps3 owner tells me this same thing. Yet they always are at my house playing my Wii.

    12. Re:Why? by DeathCarrot · · Score: 5, Informative

      A reflection on a doorknob and shadows are already quite easily achievable by current raster-based techniques. The former with dynamic cube-map FBO/PBO reflections (not perfectly accurate reflections, but given the size of a doorknob, more than acceptable). For the latter, per-fragment shadows (maps and volumes) have been around for quite some time (granted, in certain extremely high detail scenes ray tracing shadows might be faster).

      The biggest immediately noticeable pros of ray tracing from what I've seen are reflections in arbitrarily complex geometry (current generation raster shadows are only viable for planar and some spherical reflections, unless there's a technique I'm not aware of). This, however isn't a good enough reason to switch to a purely ray traced paradigm IMO.
      From a gameplay perspective it all seems a bit niche, but I'm sure there's someone out there with an idea that could make use of it. I just don't see FPS du jour picking it up any time soon.
      Having said that, ray tracing may be a good utility to use alongside rastering techniques for things like sub-surface scattering or ambient occlusion.

      .. Not sure that was entirely on-topic, but there's my tuppence on the near future adoption of ray tracing. Of course eventually everything will be done with unbiased rendering (basically just firing photons around and making them behave just like real photons would, see Maxwell Render. Currently, still extremely time consuming)

    13. Re:Why? by beav007 · · Score: 5, Funny
    14. Re:Why? by Bodrius · · Score: 4, Interesting

      Not sure why this is only moderated as funny - it is quite true.

      But that's because the Wii graphics are not really poor - they're just adequate for the games people really play.

      Of course, if you try to put something like Assasin's Creed or GTA IV on the Wii - the graphics will suck and affect the sense of immersion and gameplay.

      But that's also why no one is really playing those kind of games in the Wii.

      --
      Freedom is the freedom to say 2+2=4, everything else follows...
    15. Re:Why? by William+Baric · · Score: 4, Interesting

      I bought Oblivion, looked at the pretty graphics and stop playing this extremely boring game pretty fast. I only did the mage's quests, the arena and went as far as to escort Martin to Bruma in the main quest. That's it. As I wanted to play a CRPG at the time, what I did was play again with Ultima Underworld, which is probably your definition of "eyesore".

      Personally, after countless bad experience, I'm to a point where I'm very worry with good graphics. I almost automatically associate good graphics with poor gameplay and I tend to simply overlook those games.

      As an example, a year and a half ago I discovered the Gothic series with Gothic 3. It was a fun game, much better than Oblivion, but I also got bored with the game after a while. I read a lot that the previous title were better, so I bought a copy of Gothic 1 on ebay. Of course, graphics were a lot worse, but the game was also a lot better and it was one of the few games I finished. I also bought Gothic Universe simply to have Gothic 2 NOTR.

      Of course, the same game would be better with good graphics than with bad graphics, but graphics are still secondary to gameplay. I'd prefer an "eyesore" with good gameplay than a beauty with an average gameplay.

    16. Re:Why? by WeblionX · · Score: 5, Funny

      Yeah, but the sequels would suck.

      --
      (\(\
      (=_=) Bani!
      (")")
    17. Re:Why? by billcopc · · Score: 4, Interesting

      I fail to see why we can't have both.

      I loves me a good plot, with rich writing and character development, but I also loves me some 27" max-detail graphical virtuosity. Mass Effect is getting a lot of love from me right now, because it delivers a healthy balance of plot and visuals.

      Crysis, of course, is a rather sexual experience at 1920x1200. Every now and then I'll perch myself atop a cliff and gaze at the breathtaking imagery... then I go back into cloak mode and snipe the mofos back to hell! I'm not a big FPS fan, but Crysis is one of the few titles that give me a sense of immersion, like I'm actually a gun wielding superhero instead of some synthetic alien cannon fodder.

      Would I play Crysis if it looked like ass ? Probably not, because that particular experience hinges on the realistic graphics and all the fine details.

      Would I play Quake if it looked like ass ? Hell yes, I would! In fact I did, it was called Quake 1-2-3... They're ghetto by today's standards, but the action was solid and I happily pissed away countless hours railing goddamned teenagers on instagib maps. Just give me a pixel to shoot at and I'm set!

      I'm trying to think of a gorgeous game that sucked... memory is failing me right now, but there have been many. Actually, at the risk of getting flamed to death, I'd say Oblivion was one such stinker (for me). The graphics were pretty nice for its time, but I found the actual gameplay sluggish and clumsy. The sandbox concept worked well, but I spent most of my time walking around those stupid hell dimensions looking for stuff to kill, and then dicking around towns waiting for some NPC to come out of hiding at a specific time of day. Much like GTA, I quickly got bored of the storyline and started playing randomly, killing innocents and all the guards I could handle. I stopped playing it after maybe two weeks... epic fail.

      --
      -Billco, Fnarg.com
    18. Re:Why? by aarmenaa · · Score: 4, Informative

      Actually, with your standard raster renderer, they're mostly cheating to make this stuff work. Yes, you can get away with it in very specific scenes, but it's really kinda annoying to have to count how many doorknobs the player can cram into their field of view at one time, to make sure performance doesn't drop to crap when they're suddenly staring at 10 doors instead of just one or two. What happens when you start running around a hotel? Whaddya know - none of the doorknobs reflect anything anymore! Why? Because PowerPoint isn't in the games section at your local BestBuy.

      Dynamic shadows are still optional in just about every game that features them. Why? Because only really fast, expensive cards can do it, and even that's stretching it. Some engines will only render dynamic shadows from one light, and the ones that do it for more than one have to be very careful about not placing too many light sources too close together. This will get better as games finally drop support for DirectX 8 fallback (DX8 is generally not able to do dynamic lights at all), but the other restrictions will likely remain for quite some time.

      There's a lot of shortcuts, hacks, and arbitrary map design rules to make this type of thing work. Even things that we're pretty good at these days like water are often more restricted than they seem. You know that nice water in Valve's Source engine? You can't have more than one body of that high-quality water on the screen at the same time, or you're liable to get "unexpected behavior." In other words, it doesn't work. This is specifically mentioned in some of the map making tutorials. So you'll find nowhere in a decently designed map where you can have two different pools with that nice high-quality, reflective, refractive water. You can use the "cheaper" water, though. The cheaper stuff still looks OK, but it's not the real deal and looks strange to see the two side by side. This is mostly an issue where the level of the water is different between two pools of water, such as having a diving pool next to a raised water tank or something. If they're the same height, you can just cheat and use one one body of water clipped through the intervening area for both both bodies of water. This only works, of course, in places where the area in between is unimportant - water floating in mid-air just might be an unexplainable phenomenon in the context of some story lines.

      The way I read this, raytracing makes solutions for these types of problems more universal (ie. you just have water, no BS about what kind of water it is and where it can be), and the performance hit for doing it several times in a scene is way less. I'm in no way involved with graphics engines, but I would assume that most of these features require rendering the scene multiple times with different deformations, and that raytracing is somehow faster at this.

      --
      "I do a grep for shit, bollocks, and tits before checking in code. I'm professional..." -RECURSIVE_META_JOKE, reddit.com
    19. Re:Why? by Yetihehe · · Score: 4, Interesting

      And now imagine a beowulf cluster of those! I'm actually working on it, Amazon EC2 is going to really rock for some advertisers. Imagine walking through newly designed casino, with all visual details. Only thing required would be laptop with internet connection sufficient for hdtv stream. Heck, you could even send small video to iphone. Imagine realtime raytracing on beowulf cluster with output to your iphone...

      --
      Extreme Programming - Redundant Array of Inexpensive Developers
    20. Re:Why? by dintech · · Score: 4, Funny

      I'm actually working on it

      Imagine realtime raytracing on beowulf cluster with output to your iphone...
      Ah, finally! An interview with a Duke Nukem Forever developer!
    21. Re:Why? by RulerOf · · Score: 5, Insightful

      I'm trying to think of a gorgeous game that sucked...
      Your short term memory must be failing you as well, because you mentioned Crysis not two paragraphs ago.
      --
      Boot Windows, Linux, and ESX over the network for free.
  4. No Caps? by Steauengeglase · · Score: 4, Insightful

    No screen captures, just pics taken with a camera? Um, Ok.

  5. Huh by gadzook33 · · Score: 5, Funny

    With enemeies like that, who needs frames.

  6. Congratulations Intel! by lowlymarine · · Score: 4, Funny

    Intel, you've done what only you can do! With $6,000 worth of top-of-the-line processors, you've almost duplicated the performance of a $60 RADEON 2400XT. Except with better reflections. Although even pixel-perfect reflections of crappy textures are, by definition, crappy textures. You're going to crush nVidia any day! I feel it, keep smack-talking!

    1. Re:Congratulations Intel! by bigtangringo · · Score: 5, Insightful

      I predict that you'll eat those words one day.

      --
      Yes, I am a smart ass; it's better than the alternative.
    2. Re:Congratulations Intel! by Cathoderoytube · · Score: 5, Interesting

      It's just a first step. Give them some time and I'm sure they'll be producing much more impressive stuff. Though I don't really give a rats ass about the applications real time raytracing has for video games. I'm more interested in what it can do for 3D graphics and animation. As it stands now in 3D you have to render everything out to see what it looks like properly lit. It'd mainly be a workflow improvement, but it'd be a welcome one. It's extremely annoying and time consuming to render out a test image that can take 10 minutes just to see how everything looks. That would also cleave through final render times. As it stands now with most projects it can take weeks or even months to render everything out. In theory with this a single desktop computer could be on par with a render farm. Suddenly all those jerks over at CORE won't be so smug.

      --
      I have nothing compelling to say
  7. Meh by saikou · · Score: 4, Interesting

    I know it's all computationally intensive and impressive in that aspect, but pictures in the article don't really look much better than your average videogame. Same triangular shapes, ugly, clearly "rendered" landscapes.

    I wonder if anyone tried to do hardware acceleration with, say, splines or something other than triangles.

    1. Re:Meh by JustinOpinion · · Score: 5, Interesting

      I've always wanted a realtime graphics engine based on something like the POV-ray ray-tracer (or other procedural modeling). The POV-ray syntax is all "exact". Rather than approximating shapes using subdivision into triangles, exact shapes are created by specifying things like "spheres" or "cylinder" or unions, intersections, and differences thereof. More complex objects can be specified by arbitrary mathematical equations, and complex sequences of operations (e.g. take a spline, sweep it along a path, intersect it with another shape, apply a certain matrix transform, ...). Having done some modeling both ways, I much prefer the "exactness" of procedural definitions, rather than approximation. (I inevitably wish I could go back and add resolution to a triangulation, but that isn't easy to do properly.)

      The neat thing is that the resulting objects (if properly defined) have "infinite" detail. The roughness on a surface, for instance, can be based on a noise function, so you can zoom into it without ever seeing triangulation or other artifacts.

      The obvious downside is that the computation here is intensive. Objects can be arbitrarily complicated. Calculating the intersection of a ray with a mathematically-defined surface involves very complex calculations. Rendering POV-ray scenes on modern hardware, for instance, can take minutes to days (depending on complexity).

      One upside is that the rendering can be tuned to available resources. On older hardware, the number of light-sources (or the intersection accuracy, etc.) can be reduced. This would mean that video game graphics would get arbitrarily "better and better" on newer hardware, without any need for someone to change the code. Having said all this... I think our hardware is not yet powerful enough to make this kind of thing practical. (There are some neat examples that have been coded, but as a general technique we're not there yet.)

  8. Ray Tracing and Pixel Shaders by Quabbe · · Score: 4, Interesting

    The images clearly show that they are using simple colour mapping for the textures (especially the helicoptor). What I want to know is, can pixel shaders be used with ray tracing?

  9. Re:Why do i feel that ... by Stan+Vassilev · · Score: 5, Informative

    Ray tracing mimicks how real world works.

    Raytracing doesn't mimic how real world works. In fact it does exactly the opposite of what happens in real world. In real world you have bazillions of light particles, doubling also as waves, shoot out of many area light sources and bounce/be absorbed by objects around them.

    Whatever photons end up hitting your retina, is what you see.

    Raytracing instead shoots a ray out of your (virtual) retina straight forward to the scene and may refract/reflect off objects, until it's "absorbed" (means, hits a surface where refraction/reflection isn't calculated).

    Rendering a single frame of 3D as it is in the "real world" (with just a fraction of the rays) would mean days on even the fastest hardware out there.

    What raytracing gives you is sharp reflections, refractions and shadows, while introducing a bunch of other limitations on the rendering that rasterization doesn't have. It also can't do soft shadows, reflections, refractions, efficiently, nor subsurface scattering, or radiosity.

    Best models for rendering in the future will likely be hybrid models similar to what is now used in professional renderers by movie studios. But then again, it's a game, who cares about mathematicaly accurate reflections, when you can fake it close enough with reflection/refraction maps in a fraction of the processing time.

  10. Reflective spheres by manekineko2 · · Score: 5, Funny

    Every time ray tracing technology is shown off, I can't help but marvel that the long held dream of games filled with reflective spheres can finally be enabled.

    1. Re:Reflective spheres by Siridar · · Score: 5, Funny

      Don't forget! Those spheres need to be on a chessboard!

  11. Re:Why do i feel that ... by blueg3 · · Score: 4, Interesting

    For classical optics, modeling the scene in either direction (castings rays from lightsources and only counting ones that hit the viewer vs. casting rays from the viewer and only counting ones that hit lightsources) is valid.

    I assume you didn't mean for "efficiently" to be an item in your list, which is the way you wrote it, but raytracers can do all of those things. (I'll make no claims about efficiency.)

    "But then again, it's a game, who cares about mathematicaly accurate reflections, when you can fake it close enough with reflection/refraction maps in a fraction of the processing time."

    That argument is no more valid that if you say "it's just a game, why don't you just do raycasting, which takes a fraction of the processing time". "Faking it close enough" isn't close enough; it's obvious that you're faking it, and it requires that you either live with it or design your game to minimize the impact of faking it.

  12. Still need dedicated hardware. by argent · · Score: 4, Informative

    Phillip Slusallek was demonstrating full screen real time raytracing using a custom RPU (raytrace processing unit) in 2005, and that unit was running at less than 100 MHz. For a fraction of the hardware cost of a quad quad core system, you could do real time raytracing with less hardware investment than a modern GPU.

  13. Take that, John Carmack! by OMNIpotusCOM · · Score: 4, Funny

    pfft... and John Carmack said that they were going the wrong direction with ray tracing. Shows how much he knows. And they only pulled it off with 4 quadcore processors at 15 FPS. That'll show you! Maybe someone should tell Carmack to go back to developing new shades of black instead of dealing with the light! /sarcasm