Welcome, Unregistered.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
Old 26-Jan-2009, 09:58   #1
JPT
Senior Member
 
Join Date: Apr 2007
Location: Oslo, Norway
Posts: 1,086
Default Intel .pdf on Ray Tracing implementation of Quake Wars

I haven't seen this posted, Quake Wars redone with Ray tracing by Intel.

http://games.slashdot.org/article.pl.../01/26/0336245

It probably fits better in another sub forum, but I don't dare venture outside the Console parts, so I stuck it here.

Its a pdf (http://www.intelsoftwaregraphics.com...2224&siteid=32) with a rundown on what and how etc.
JPT is offline   Reply With Quote
Old 26-Jan-2009, 16:58   #2
Nano
Member
 
Join Date: Dec 2007
Location: London, England
Posts: 287
Default

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.
Nano is offline   Reply With Quote
Old 26-Jan-2009, 18:45   #3
maze
Registered
 
Join Date: Jun 2007
Location: Vienna, Austria
Posts: 4
Default

A few days ago, the German website computerbase.de posted an article by Intel's Daniel Pohl who already made Quake 4 work with ray tracing. There is a short video:
http://www.computerbase.de/artikel/h...rs_raytracing/
maze is offline   Reply With Quote
Old 26-Jan-2009, 22:07   #4
Davros
Darlek ******
 
Join Date: Jun 2004
Posts: 9,496
Default

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 ?
__________________
Guardian of the Most holy Two Terabytes of Gaming Goodness™

Last edited by Davros; 26-Jan-2009 at 22:19.
Davros is offline   Reply With Quote
Old 26-Jan-2009, 22:48   #5
homerdog
hardly a Senior Member
 
Join Date: Jul 2008
Location: still camping with a mauler
Posts: 3,637
Default

Quote:
Originally Posted by Davros View Post
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 ?
I think it goes camera -> object -> light source.
homerdog is offline   Reply With Quote
Old 26-Jan-2009, 23:33   #6
Tim Murray
chaos dunk
 
Join Date: May 2003
Location: Mountain View, CA
Posts: 3,274
Default

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.
Tim Murray is offline   Reply With Quote
Old 27-Jan-2009, 00:03   #7
Davros
Darlek ******
 
Join Date: Jun 2004
Posts: 9,496
Default

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
__________________
Guardian of the Most holy Two Terabytes of Gaming Goodness™
Davros is offline   Reply With Quote
Old 27-Jan-2009, 00:36   #8
homerdog
hardly a Senior Member
 
Join Date: Jul 2008
Location: still camping with a mauler
Posts: 3,637
Default

AFAIK angle doesn't matter, you just trace a ray from the object to the light.



Angle matters for reflections/refraction, obviously.
homerdog is offline   Reply With Quote
Old 27-Jan-2009, 01:24   #9
mitran
Junior Member
 
Join Date: Jan 2009
Posts: 30
Default

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.
mitran is offline   Reply With Quote
Old 27-Jan-2009, 02:51   #10
homerdog
hardly a Senior Member
 
Join Date: Jul 2008
Location: still camping with a mauler
Posts: 3,637
Default

Quote:
Originally Posted by Daniel Pohl in his paper
Creating correct shadows from partially transparent quads is not an easy task for a rasterizer. The most commonly used algorithms for calculating shadows in rasterization (called “shadow mapping”—see http://en.wikipedia.org/wiki/Shadow_mapping) does not deliver additional information that might help in the case of shadows from transparencies.
This brings a question to mind: how do modern (rasterized) games pull off correct shadows from transparent textures?
homerdog is offline   Reply With Quote
Old 27-Jan-2009, 02:59   #11
Richard
Mord's imaginary friend
 
Join Date: Jan 2004
Location: PT, EU
Posts: 3,506
Default

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.
__________________
The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true. - James Branch Cabell
Richard is offline   Reply With Quote
Old 27-Jan-2009, 07:46   #12
crystall
Member
 
Join Date: Jul 2004
Location: Amsterdam
Posts: 149
Default

Quote:
Originally Posted by homerdog View Post
This brings a question to mind: how do modern (rasterized) games pull off correct shadows from transparent textures?
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/SIGGRAP...tarCraftII.pdf
crystall is offline   Reply With Quote
Old 27-Jan-2009, 12:08   #13
homerdog
hardly a Senior Member
 
Join Date: Jul 2008
Location: still camping with a mauler
Posts: 3,637
Default

Thanks! I'm about half way through and so far it's been a great read.
homerdog is offline   Reply With Quote
Old 27-Jan-2009, 14:35   #14
trinibwoy
Meh
 
Join Date: Mar 2004
Location: New York
Posts: 9,809
Default

Quote:
Originally Posted by crystall View Post
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/SIGGRAP...tarCraftII.pdf
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.
__________________
What the deuce!?
trinibwoy is offline   Reply With Quote
Old 27-Jan-2009, 15:07   #15
homerdog
hardly a Senior Member
 
Join Date: Jul 2008
Location: still camping with a mauler
Posts: 3,637
Default

Quote:
Originally Posted by trinibwoy View Post
Nice read, they really highlight a lot of hardware and API limitations. Looks like they're maxing out DirectX9.
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?
homerdog is offline   Reply With Quote
Old 27-Jan-2009, 16:02   #16
crystall
Member
 
Join Date: Jul 2004
Location: Amsterdam
Posts: 149
Default

Quote:
Originally Posted by homerdog View Post
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?
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.
crystall is offline   Reply With Quote
Old 27-Jan-2009, 16:34   #17
Richard
Mord's imaginary friend
 
Join Date: Jan 2004
Location: PT, EU
Posts: 3,506
Default

Quote:
Originally Posted by homerdog View Post
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?
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.
__________________
The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true. - James Branch Cabell
Richard is offline   Reply With Quote
Old 27-Jan-2009, 17:01   #18
homerdog
hardly a Senior Member
 
Join Date: Jul 2008
Location: still camping with a mauler
Posts: 3,637
Default

Quote:
Originally Posted by Richard View Post
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.
I am inclined to think that as the game gets older, supporting GPUs that were old at its time of release becomes less important.
homerdog is offline   Reply With Quote
Old 27-Jan-2009, 19:37   #19
sebbbi
Member
 
Join Date: Nov 2007
Posts: 938
Default

Quote:
Originally Posted by crystall View Post
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/SIGGRAP...tarCraftII.pdf
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).
sebbbi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:15.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.