Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home

Go Back   BeyondUnreal Forums > Mods > Infiltration > Off Topic

Reply
 
Thread Tools Display Modes
Old 7th Jun 2004, 10:19 PM   #1
Derelan
Tracer Bullet
 
Derelan's Avatar
 
Join Date: Jul. 29th, 2002
Location: Toronto, Ontario
Posts: 2,626
Real-time raytracing on Quake 3

As a scientific study, a group of students at Saarland University developed, in cooperation with Erlangen University, the worlds first completly ray traced 3D FPS.

To skip the task of designing a game, they chose Quake 3 for their base.

The game runs at approximately 20fps on a decent, modern computer. A 36 GHz array of 20 AMD 2000+'s, 512x512 resolution, with 4xFSAA)

Features include:
  • realtime 3d raytrace engine
  • realtime per-pixel shadows
  • possible resolution up to 16384x16384x32
  • real glass with reflection and refraction (thanx to Tim Dahmen)
  • real mirrors
  • colored realtime per-pixel shadows (thanx to Tim Dahmen)
  • realtime soft shadows
  • colored lights
  • flashlight
  • ground fog
  • some walls replaced with high polygon displaced walls
  • reflecting water
  • mipmapping
  • wireframe mode
  • B/W filter
  • camera portals




Everything seen here and a raytracing movie can be found at:
http://graphics.cs.uni-sb.de/~sidpohl/egoshooter/
__________________

Derelan is offline   Reply With Quote
Old 7th Jun 2004, 10:22 PM   #2
GenoOfTheCrayon
l33t 14 year old with an iron sight RC50
 
GenoOfTheCrayon's Avatar
 
Join Date: Sep. 30th, 2001
Location: Middleof Nowhere
Posts: 936
What's ray traced?
__________________

Morp.
GenoOfTheCrayon is offline   Reply With Quote
Old 7th Jun 2004, 10:32 PM   #3
OICW
Reason & Logic > Religion
 
OICW's Avatar
 
Join Date: Mar. 18th, 2000
Location: New South Wales, Sydney Australia
Posts: 2,374
Hehehe, too bad they couldn't find some decent monster models. Also, the link is down for me.
__________________


"If there is a country that has committed unspeakable atrocities in the world, it is the United States of America" - Nelson Mandela, at the International Women's Forum
OICW is offline   Reply With Quote
Old 7th Jun 2004, 11:04 PM   #4
LifesBane[4C]
Registered User
 
LifesBane[4C]'s Avatar
 
Join Date: Sep. 27th, 1999
Posts: 3,096
http://graphics.cs.uni-sb.de/~sidapohl/egoshooter/
LifesBane[4C] is offline   Reply With Quote
Old 7th Jun 2004, 11:18 PM   #5
GenoOfTheCrayon
l33t 14 year old with an iron sight RC50
 
GenoOfTheCrayon's Avatar
 
Join Date: Sep. 30th, 2001
Location: Middleof Nowhere
Posts: 936
I still don't know what the fuck ray tracing is.
__________________

Morp.
GenoOfTheCrayon is offline   Reply With Quote
Old 7th Jun 2004, 11:24 PM   #6
Zundfolge
Registered User
 
Join Date: Dec. 13th, 1999
Location: USA
Posts: 5,703
heres a definition http://www.siggraph.org/education/ma...ce/rtrace0.htm

Basically it simulates in a 3D environment the way light really works in the real world (tracing each ray of light from the source objects to your "eye")

Last edited by Zundfolge; 7th Jun 2004 at 11:25 PM.
Zundfolge is offline   Reply With Quote
Old 8th Jun 2004, 12:09 AM   #7
jaunty
If you disagree with me, you're wrong.
 
jaunty's Avatar
 
Join Date: Apr. 30th, 2000
Location: Sydney, Australia
Posts: 2,506
I garauntee you it's not proper raytracing. Just some smart-arse workaround that looks vaguely like raytracing.

Reference; See: Scope lenses in FarCry
__________________
Burn Christians, not books.
jaunty is offline   Reply With Quote
Old 8th Jun 2004, 12:12 AM   #8
Map-O-Matic
Registered User
 
Map-O-Matic's Avatar
 
Join Date: Sep. 8th, 2001
Location: Between her legs
Posts: 929
while the tech sounds pretty impressive, i gotta say the screens dont look as good as most lighting engines out today, that use...normal real time lighting engines=/ cool anyways tho , good to see progress

:edit: havent seen the video (56k) is it pretty impressive?
__________________

Last edited by Map-O-Matic; 8th Jun 2004 at 12:16 AM.
Map-O-Matic is offline   Reply With Quote
Old 8th Jun 2004, 12:22 AM   #9
Cold Killer
I will Kill Bill
 
Cold Killer's Avatar
 
Join Date: Feb. 24th, 2002
Location: Vancouver, BC
Posts: 1,178
Quote:
Originally Posted by jaunty
I garauntee you it's not proper raytracing. Just some smart-arse workaround that looks vaguely like raytracing.

Reference; See: Scope lenses in FarCry
So what was even the point of the experiment?
Cold Killer is offline   Reply With Quote
Old 8th Jun 2004, 12:41 AM   #10
ThunderChunky
L337 Cube H@X0
 
ThunderChunky's Avatar
 
Join Date: Jul. 1st, 2000
Posts: 1,086
Sorry to burst your all knowing bubble, jaunty, but Real Time Ray tracing is rapidly approaching reality. It is entirely possible that this is actual raytracing. While it would be nice if they had included a distinctive raytracing demo (occluded light illuminating a room through indirect lighting), it still looks like it is. Furthermore, most real time engines will smooth polygons, which this one doesn't (look at the hard edges on the models, which aren't present in Quake3), which is probably an optimization for the real time raytracer.

I'd be really curious to see the code for this. Not for the raytracer, as those are pretty much standard, but how they actually resolved the communication problem between a Quake3 environment and 20 seperate machines.

-tc
__________________
Infiltration 3D Artist
ThunderChunky is offline   Reply With Quote
Old 8th Jun 2004, 04:38 AM   #11
Crowze
Bird Brain
 
Join Date: Feb. 6th, 2002
Location: Cambridgeshire, UK
Posts: 3,554
Interesting, although the Q3 engine wouldn't be my first choice of engines to do this with. I seem to recall some project team that was making a hardware realtime raytracer that could, with their test scenes at least, get 30fps at 800x600. I can't find their site any more though .
__________________

Infiltration | Sentry Studios
Crowze is offline   Reply With Quote
Old 8th Jun 2004, 07:18 AM   #12
Derelan
Tracer Bullet
 
Derelan's Avatar
 
Join Date: Jul. 29th, 2002
Location: Toronto, Ontario
Posts: 2,626
Quote:
Originally Posted by ThunderChunky
While it would be nice if they had included a distinctive raytracing demo (occluded light illuminating a room through indirect lighting)
I would assume all that radiosity and photon tracing and stuff would be their next project, but yes it really is real raytracing.

The video basically just shows everything in motion, its not impressive unless you see it first hand.

Quote:
Interesting, although the Q3 engine wouldn't be my first choice of engines to do this with. I seem to recall some project team that was making a hardware realtime raytracer that could, with their test scenes at least, get 30fps at 800x600. I can't find their site any more though .
This team did mention (in some garbled up form of english) that their raytracer wasn't as powerful as a 1ghz machine with a hardware raytracer GPU.
__________________

Derelan is offline   Reply With Quote
Old 8th Jun 2004, 10:24 AM   #13
ThunderChunky
L337 Cube H@X0
 
ThunderChunky's Avatar
 
Join Date: Jul. 1st, 2000
Posts: 1,086
The Quake3 engine is one of the few widely available engines designed for OpenGL, so it's sort of easy to intercept the OpenGL function calls by replacing the dll and implement your own rendering code. I'm assuming this is probably what they did, as it's incredibly doubtful that they had access to the pure source.
__________________
Infiltration 3D Artist
ThunderChunky is offline   Reply With Quote
Old 8th Jun 2004, 12:56 PM   #14
Derelan
Tracer Bullet
 
Derelan's Avatar
 
Join Date: Jul. 29th, 2002
Location: Toronto, Ontario
Posts: 2,626
Quote:
Originally Posted by ThunderChunky
The Quake3 engine is one of the few widely available engines designed for OpenGL, so it's sort of easy to intercept the OpenGL function calls by replacing the dll and implement your own rendering code. I'm assuming this is probably what they did, as it's incredibly doubtful that they had access to the pure source.
They used the demo.
__________________

Derelan is offline   Reply With Quote
Old 8th Jun 2004, 02:17 PM   #15
Shrap
Beaver
 
Join Date: Oct. 29th, 2000
Posts: 1,013
You know what would be fun with this technology ? Scopes ! You would just have to add the correct lenses in the 3d model so that the light would follow the same pattern that the RL light follows and BINGO. True Scopes !
Shrap is offline   Reply With Quote
Old 8th Jun 2004, 02:20 PM   #16
Derelan
Tracer Bullet
 
Derelan's Avatar
 
Join Date: Jul. 29th, 2002
Location: Toronto, Ontario
Posts: 2,626
Quote:
Originally Posted by Shrap
You know what would be fun with this technology ? Scopes ! You would just have to add the correct lenses in the 3d model so that the light would follow the same pattern that the RL light follows and BINGO. True Scopes !
Thankyou shrap, you just gave me a huge idea for a project in 3dsmax. Fun with ray-tracing doesn't have to be real-time
__________________

Derelan is offline   Reply With Quote
Old 8th Jun 2004, 05:52 PM   #17
ThunderChunky
L337 Cube H@X0
 
ThunderChunky's Avatar
 
Join Date: Jul. 1st, 2000
Posts: 1,086
The Quake3 demo source is available? Where can I download?
__________________
Infiltration 3D Artist
ThunderChunky is offline   Reply With Quote
Old 8th Jun 2004, 11:18 PM   #18
jaunty
If you disagree with me, you're wrong.
 
jaunty's Avatar
 
Join Date: Apr. 30th, 2000
Location: Sydney, Australia
Posts: 2,506
Quote:
Originally Posted by Shrap
You know what would be fun with this technology ? Scopes ! You would just have to add the correct lenses in the 3d model so that the light would follow the same pattern that the RL light follows and BINGO. True Scopes !

I've set up such a thing in 3ds Max before. I couldn't get it to work properly, but this was more because of my not setting the lenses correctly. I did manage to conclude that it's totally 100% possible, so long as you have the patience to adjust things to within a fraction of a millimetre. (I do not. If it isn't a model of a gun, it never lasts more than maybe 20 minutes in my 3ds Max viewports)

Edit: Chunky; Real time anything is possible if you're prepared to dish out enough cash for the hardware to make it happen.
__________________
Burn Christians, not books.

Last edited by jaunty; 8th Jun 2004 at 11:20 PM.
jaunty is offline   Reply With Quote
Old 9th Jun 2004, 07:00 AM   #19
Crowze
Bird Brain
 
Join Date: Feb. 6th, 2002
Location: Cambridgeshire, UK
Posts: 3,554
That's not really the point. Of course it's true to an extent, but that's just a flawed way of thinking. Doing something in real-time is a lot more dependant on reducing the complexity of the task i.e. writing better algorithms.
__________________

Infiltration | Sentry Studios
Crowze is offline   Reply With Quote
Old 9th Jun 2004, 07:24 AM   #20
Derelan
Tracer Bullet
 
Derelan's Avatar
 
Join Date: Jul. 29th, 2002
Location: Toronto, Ontario
Posts: 2,626
Alright i just tried my raytraced scope in 3dsmax and i concluded that its a pain in the ass to do. Damn lenses. Also, i noticed that in 3dsmax, nothing is ever out of focus due to raytracing, its always distorted and in focus.
__________________

Derelan 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 -5. The time now is 10:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer