Author Topic: Q2VKPT - Quake 2 real-time raytracing using RTX  (Read 687 times)

Offline quadz

  • Phenomenally Prodigious Member
  • **
  • Posts: 3853
    • View Profile
  • Rated:
Q2VKPT - Quake 2 real-time raytracing using RTX
« on: January 18, 2019, 09:55:27 AM »
As a research project, someone's added real-time raytracing to Quake2.

http://brechpunkt.de/q2vkpt/

Quote
Q2VKPT is the first playable game that is entirely raytraced and efficiently simulates fully dynamic lighting in real-time, with the same modern techniques as used in the movie industry (see Disney's practical guide to path tracing). The recent release of GPUs with raytracing capabilities has opened up entirely new possibilities for the future of game graphics, yet making good use of raytracing is non-trivial. While some games have started to explore improvements in shadow and reflection rendering, Q2VKPT is the first project to implement an efficient unified solution for all types of light transport: direct, scattered, and reflected light (see media). This kind of unification has led to a dramatic increase in both flexibility and productivity in the movie industry. The chance to have the same development in games promises a similar increase in visual fidelity and realism for game graphics in the coming years.
This project is meant to serve as a proof-of-concept for computer graphics research and the game industry alike, and to give enthusiasts a glimpse into the potential future of game graphics. Besides the use of hardware-accelerated raytracing, Q2VKPT mainly gains its efficiency from an adaptive image filtering technique that intelligently tracks changes in the scene illumination to re-use as much information as possible from previous computations. ↑

The project is released as open source on GitHub, integrating our Vulkan path tracer into the Q2PRO client. The project was spawned by the need for fast-paced test content in computer graphics research, and was motivated by the first intriguing results of an experimental path tracing renderer in 2016.

Why Quake II?

Since Quake II is open source and has a long-standing modding tradition, it is a great sandbox for putting academic research to the test in the real world. Particularly, the game has fast-paced action and is played competitively, setting high standards for the performance and robustness of any implemented rendering techniques.

Why are there no particles? I want my flies and rail gun sparks back!

Unfortunately, we ran out of time to add lights for the rail gun. As to other particles, the decision to fully raytrace everything in the game made rendering particles a bit less trivial. If we find the time, we might fix it in the future!



Note that ray-tracing is not fully realized yet across the board (e.g. reflective glass pane, muzzle flashes, etc.) but, the parts that work are at least intriguing:


https://www.youtube.com/watch?v=vrq1T93uLag

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and... satire. He was vicious."

Offline quadz

  • Phenomenally Prodigious Member
  • **
  • Posts: 3853
    • View Profile
  • Rated:
Re: Q2VKPT - Quake 2 real-time raytracing using RTX
« Reply #1 on: January 27, 2019, 11:13:14 AM »
Further details on the Q2 raytracing project:


https://www.youtube.com/watch?v=BRCAfdBMe2Y
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and... satire. He was vicious."

Offline M0us3

  • Newbie
  • *
  • Posts: 25
    • View Profile
  • Rated:
Re: Q2VKPT - Quake 2 real-time raytracing using RTX
« Reply #2 on: June 06, 2019, 11:13:16 AM »
 :o


Offline quadz

  • Phenomenally Prodigious Member
  • **
  • Posts: 3853
    • View Profile
  • Rated:
Re: Q2VKPT - Quake 2 real-time raytracing using RTX
« Reply #3 on: June 06, 2019, 09:54:18 PM »
Managing about 20 FPS at maximum quality on my non-RTX 1080ti, rendering at half-resolution. (That is, the viewport is 2560x1440, but 3D view is scaled up from 1280x720.)

About the same FPS I was getting in 1998. :D

:dohdohdoh:


  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and... satire. He was vicious."

Online Sgt. Dick

  • Brobdingnagian Member
  • ***
  • Posts: 4685
    • View Profile
  • Rated:
Re: Q2VKPT - Quake 2 real-time raytracing using RTX
« Reply #4 on: June 08, 2019, 06:28:54 AM »
About the same FPS I was getting in 1998. :D

 :lolsign: and  :raincloud:

A lot of people including me would need a computer upgrade to play this the way I would want to.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
aka IOU

Offline haunted

  • Inexorably Palaverous Member
  • ******
  • Posts: 7973
  • I am hollywood.
    • View Profile
  • Rated:
Re: Q2VKPT - Quake 2 real-time raytracing using RTX
« Reply #5 on: June 08, 2019, 01:57:28 PM »
It's a good thing I played on such a good setup.

 :evilgrin:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline quadz

  • Phenomenally Prodigious Member
  • **
  • Posts: 3853
    • View Profile
  • Rated:
Re: Q2VKPT - Quake 2 real-time raytracing using RTX
« Reply #6 on: June 08, 2019, 04:10:40 PM »
It really does produce some nice-looking imagery on some maps.

I like the little details, how the glowing hyperblaster cells cast a greenish tint to nearby surfaces.

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and... satire. He was vicious."

 

El Box de Shoutamente

Last 10 Shouts:

QwazyWabbit

July 07, 2019, 12:04:38 AM
 

The Dreaming Dragon

July 06, 2019, 05:27:25 AM
How do you get to the personal webpages that this site hosts? I need to find mine.
 

Shogun

June 28, 2019, 09:50:27 AM
Rectum! Damn near killed em! hahahahahaha

 

Shogun

June 15, 2019, 08:10:43 PM
Whose Franlkin? Players aliasing this day in age. haha
 

quadz

June 10, 2019, 01:51:13 PM
More detailed look at Q2 RTX


https://www.youtube.com/watch?v=r9vXz9-C-AY
 

quadz

June 09, 2019, 07:47:06 PM

[BTF]Defiant!

June 08, 2019, 09:02:37 AM
Good video overview Quadz!
 

quadz

June 07, 2019, 03:08:21 PM
Reasonably informative Q2 Ray Tracing video:


https://www.youtube.com/watch?v=sFhc951RhfI
 

Shogun

June 07, 2019, 12:03:42 PM
I don't have the golden ticket.
 

quadz

June 06, 2019, 03:19:00 PM
Yes, if you're fortunate to have one of the new RTX video cards. (I don't, so I'm watching people stream raytraced Q2 on twitch instead.)

Show 50 latest
Welcome, Guest. Please login or register.
July 23, 2019, 07:44:25 PM

Login with username, password and session length