Intel .pdf on Ray Tracing implementation of Quake Wars

Discussion in 'Rendering Technology and APIs' started by JPT, Jan 26, 2009.

  1. JPT

    JPT
    Veteran

    Joined:
    Apr 15, 2007
    Messages:
    1,904
    Likes Received:
    281
    Location:
    Oslo, Norway
  2. Nano

    Regular

    Joined:
    Dec 7, 2007
    Messages:
    288
    Likes Received:
    0
    Location:
    London, England
    I didn't realise they converted quake wars too. Makes for interesting stuff, but goes to show how computationally hungry the ray traced renderer is at the moment.
     
  3. maze

    Newcomer

    Joined:
    Jun 30, 2007
    Messages:
    4
    Likes Received:
    0
    Location:
    Vienna, Austria
  4. Davros

    Legend

    Joined:
    Jun 7, 2004
    Messages:
    14,891
    Likes Received:
    2,307
    If we ever get raytracing hardware it'll mean wavetraced audio will be easy to do

    I have a couple of noob questions:
    1. you shoot rays from every light source to the camera ?
    2. if yes how many ?
     
    #4 Davros, Jan 26, 2009
    Last edited by a moderator: Jan 26, 2009
  5. homerdog

    homerdog donator of the year
    Legend Veteran Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,153
    Likes Received:
    928
    Location:
    still camping with a mauler
    I think it goes camera -> object -> light source.
     
  6. Tim Murray

    Tim Murray the Windom Earle of mobile SOCs
    Veteran

    Joined:
    May 25, 2003
    Messages:
    3,278
    Likes Received:
    66
    Location:
    Mountain View, CA
    If you shot from light sources, only a minuscule portion of rays would actually contribute anything to the scene, so you shoot from the camera.
     
  7. Davros

    Legend

    Joined:
    Jun 7, 2004
    Messages:
    14,891
    Likes Received:
    2,307
    ahh, how many rays ?
    ang on how do you know what angle to shoot the rays at
    and if you shoot out a ray how do you know it will eventually end up at the light source
     
  8. homerdog

    homerdog donator of the year
    Legend Veteran Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,153
    Likes Received:
    928
    Location:
    still camping with a mauler
    AFAIK angle doesn't matter, you just trace a ray from the object to the light.

    [​IMG]

    Angle matters for reflections/refraction, obviously.
     
  9. mitran

    Newcomer

    Joined:
    Jan 26, 2009
    Messages:
    30
    Likes Received:
    0
    Nice but thay still use "normal " res texturs, also there seems to be none of the bigest ray trace benefit to lightening. However reflections look realy nice.
    I did test the IRT real time ray tracer on 1 Ps3. And the car "Ferrari" was 500k polys had transparent windos and reflections on both the car windows and rear-view. Also 4x AA@720p FPS was @1-2FP/s turn of AA and frame rate went up to 5-10FPS turn of reflections and i got ca 20FP/S. Strange thing is according to IRT if you use 3 PS3 you will get 20+FP/s even if you have reflections and AAx4 on. realy strange ?
    But still ingame real time ray traceing is many moons away i think.
     
  10. homerdog

    homerdog donator of the year
    Legend Veteran Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,153
    Likes Received:
    928
    Location:
    still camping with a mauler
    This brings a question to mind: how do modern (rasterized) games pull off correct shadows from transparent textures?
     
  11. Richard

    Richard Mord's imaginary friend
    Veteran

    Joined:
    Jan 22, 2004
    Messages:
    3,508
    Likes Received:
    40
    Location:
    PT, EU
    If any of you missed it the first time, you can check the movie here.

    This report was disappointingly light on implementation details though. Oh well.
     
  12. crystall

    Newcomer

    Joined:
    Jul 15, 2004
    Messages:
    149
    Likes Received:
    1
    Location:
    Amsterdam
    They don't; shadows cast from transparent objects are tricky to get right and can be done only under a specific set of constraints. Blizzard's implementation of transparent shadow-casters is an interesting example:

    http://ati.amd.com/developer/SIGGRAPH08/Chapter05-Filion-StarCraftII.pdf
     
  13. homerdog

    homerdog donator of the year
    Legend Veteran Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,153
    Likes Received:
    928
    Location:
    still camping with a mauler
    Thanks! I'm about half way through and so far it's been a great read. :smile:
     
  14. trinibwoy

    trinibwoy Meh
    Legend

    Joined:
    Mar 17, 2004
    Messages:
    10,430
    Likes Received:
    433
    Location:
    New York
    Nice read, they really highlight a lot of hardware and API limitations. Looks like they're maxing out DirectX9. Maybe in the next 10 years they can max out DirectX 15 or something with SC3.
     
  15. homerdog

    homerdog donator of the year
    Legend Veteran Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,153
    Likes Received:
    928
    Location:
    still camping with a mauler
    That was my impression as well. It seems like they were really making sacrifices for the lowest common denominator. How important is it for a mid-late 2009 game to support <SM3.0 cards?
     
  16. crystall

    Newcomer

    Joined:
    Jul 15, 2004
    Messages:
    149
    Likes Received:
    1
    Location:
    Amsterdam
    I guess it depends on what kind of market you are targeting. Blizzard has always developed games that scaled very well on lower-end hardware and that must have had a very positive effect on their bottom line (you can run WoW on pretty much anything albeit lowering the detail a lot). The PC gaming market is shrinking and we're in the middle of the worst economic downturn most of us can remember which will inevitably slow down the upgrade cycle. Under these circumstances supporting PS2.0 cards will probably yield a nice ROI. Besides it could also serve as a fallback for people with PS3.0+ cards but without the necessary performance to run the PS3.0+ code paths.
     
  17. Richard

    Richard Mord's imaginary friend
    Veteran

    Joined:
    Jan 22, 2004
    Messages:
    3,508
    Likes Received:
    40
    Location:
    PT, EU
    Perhaps that's one of the differences that allow Blizzard to keep a 4 year old game on the first spot of the PC charts while nearly every other developer cries about piracy? I still have an SM2.0(b) card on one of my 'puters and my gf still has an SM2.0 one.
     
  18. homerdog

    homerdog donator of the year
    Legend Veteran Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,153
    Likes Received:
    928
    Location:
    still camping with a mauler
    I am inclined to think that as the game gets older, supporting GPUs that were old at its time of release becomes less important. :???:
     
  19. sebbbi

    Veteran

    Joined:
    Nov 14, 2007
    Messages:
    2,924
    Likes Received:
    5,288
    Location:
    Helsinki, Finland
    We are using basically the same technique as Blizzard is using for their transparent shadows. We are using the technique also on soft shadow impostor geometry additionally to transparent surfaces. Unlike Blizzard we store both depth and the transparent filter color (greyscale in our case) in the same shadow map texture. This way the shadow map sampling requires only one tfetch and the shadow map requires less memory (and bandwidth). G16R16 texture has been enough for our shadow (linear) depth value and the transparency filter value. It's a good and fast format for bilinear filtered texture fetching (we also need the depth value to be bilinear filtered as we use modified ESM on our shadow depth comparison).

    This is a good and fast transparent shadowing technique and combines very well with depth buffer based shadow mapping (when proper care is taken when both are bilinear filterered together - use sub instead of mul to blend the both maps together or you get subpixel gaps at depth edges). The only constraint of this technique really is that the transparent objects cannot cast transparent shadows to other transparent objects. However standard opaque shadows can still be cast on transparent objects (and particles if needed).
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...