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

Offline quadz

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5352
    • 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

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5352
    • 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

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5352
    • 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."

Offline Sgt. Dick

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5149
    • 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

  • Irrepressibly Profuse Member
  • *
  • Posts: 10147
  • 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

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5352
    • 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:

 

-Unh0ly-

March 18, 2024, 03:51:45 AM

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

played guitar drums bass and sang cuz everyone too lame to start a band with me

0rbisson

March 14, 2024, 04:29:08 AM
HT1 or whatever the stupid map name is instant server killer. the map is trash, Everyone leaves
 

Costigan_Q2

March 10, 2024, 04:00:02 PM
This is my fave TS post.

And quadz posted it - some ppl must haaate that. :)
 

-Unh0ly-

February 29, 2024, 08:35:47 AM
MONDAY NIGHT RAILWARZ GAMES   74.91.120.171:27910 -- BIG FUCKIN GAMES.... LETS GO!!!!!!!
 

|iR|Focalor

February 29, 2024, 01:19:58 AM
 

|iR|Focalor

February 27, 2024, 12:23:01 AM

0rbisson

February 26, 2024, 11:38:19 AM
player "shogun" known hacker back on ts servers. http://forum.tastyspleen.net/quake/index.php?topic=21160.msg201752#msg201752
 

|iR|Focalor

February 17, 2024, 10:11:59 PM
 

Costigan_Q2

February 16, 2024, 07:45:01 AM
Almost 4 months ey? that's a new record.

Last accepted: profile;u=7126
Date Registered:17-10-2023
WaKy-FeLa

Last registered: profile;u=7150
Date Registered:09-02-2024
damsonpharmacy

0rbisson

February 14, 2024, 10:51:18 PM
pings back up to 400+ on dm

Show 50 latest
Welcome, Guest. Please login or register.
March 28, 2024, 06:10:01 AM

Login with username, password and session length