News for hackers. Stuff that matters.
Re:Quake II RTX: Re-Engineering a Classic with Ray Tracing E... by seanalltogether on Friday March 22, 2019 @10:03AM (#19462569)
I thought path tracing was just ray tracing with additional random scatters traced, is it not?
Re:Quake II RTX: Re-Engineering a Classic with Ray Tracing E... by dahart on Friday March 22, 2019 @11:46AM (#19463678)
Depends on who you ask, the term is overloaded now.

These days, it does tend to mean doing global illumination using ray tracing.

Originally, the term “path tracing” was used to refer to taking a single random scatter at every step along a path of connected segments, as opposed to the idea of taking multiple random scatters at a point and averaging them, recursively. It’s a way of thinking of Monte Carlo rendering as taking one sample in a very high dimensional space - where a chain of ray segments, or “path” is a single sample - rather than thinking of each ray segment separately as a sample.

Ray tracing, FWIW, can sometimes refer to situations where you’re not even rendering. It has a more general meaning of doing line based visibility queries, which you can use for lots of things.

Re:Quake II RTX: Re-Engineering a Classic with Ray Tracing E... by hellofunk on Friday March 22, 2019 @12:14PM (#19463978)
If I’m not mistaken, for your last paragraph, general visibility tests for lines that does not otherwise involve actual rendering is typically just called ray casting.
Re:Quake II RTX: Re-Engineering a Classic with Ray Tracing E... by dahart on Friday March 22, 2019 @12:18PM (#19464024)
You’re not mistaken, ray casting would be more common, but ray tracing is also used. This is especially true among people that design path tracing renderers where we consider “ray tracing” to be a visibility primitive. “Trace a ray” and “cast a ray” are synonymous. I also think using “ray tracing” for visibility might start become more popular now with RTX hardware since the “ray tracing” hardware only provides the visibility test, not a renderer.
Re:Quake II RTX: Re-Engineering a Classic with Ray Tracing E... by kuzehanka on Friday March 22, 2019 @01:00PM (#19464449)
In the realtime graphics world,

Ray tracing = initiate rays from light sources, bounce them around, accumulate them on camera. This is accurate but incredibly inefficient. This is how pre-baked light mapping and GI works.

Path tracing = initiate rays from camera, induce bounce rays toward light sources. Not quite as accurate but orders of magnitude mode efficient in terms of producing an acceptable image.

Re:Quake II RTX: Re-Engineering a Classic with Ray Tracing E... by hellofunk on Friday March 22, 2019 @01:51PM (#19464999)
This is confusing and not true. The RTX is specifically referred to as "ray tracing" but no one does forward ray tracing which is what you are referring to. Both general Ray Tracing and Path Tracing involve "backwards ray tracing", starting from the camera. The distinction is not where the ray originates, its the algorithm for generating and following those rays.
Re:Quake II RTX: Re-Engineering a Classic with Ray Tracing E... by kuzehanka on Friday March 22, 2019 @02:07PM (#19465191)
This guy is right. I have been inadvertently perpetuating a misconception for the last 5 years.