138 points · by Impossible · 7y ago · 44 comments
https://research.nvidia.com/publication/interactive-reconstr...
Two Minute Papers did a nice explanation of it:
I'm thinking that maybe I should actually write a ray tracer. Is that still a worthwhile thing to do, or has the world moved on?
FWIW, I never solved the ray-oblique cone problem...
Writing them is still really fun, it’s no less useful today for learning things than it was 20 years ago. You can get amazing pictures with not very much code, and the algorithms are really satisfying to understand & implement.
There are also still tons of low hanging fruit. You’d think the easy problems would be mined out by now, but they’re not. New developments are actively happening with intersection primitives, color handling, sampling, direct lighting, shadowing, the list goes on. If you want to do research, you don’t have to dive that deep to find something unsolved that is solveable.
For an oblique cone intersection, I don’t know the right answer, but the oblique cone is a skew transform of a regular cone, right? You might be able to use a regular cone intersector, but pre-transform the ray by the inverse skew transform?
This resource is fantastic for finding intersection building blocks and code examples: http://www.realtimerendering.com/intersections.html
https://github.com/jimsnow/glome/blob/master/GlomeTrace/Data...
One trick is simplify the problem to just doing a ray-intersection test with an axis-aligned cone, and to handle the general case not by complicating the ray-intersection test but rather applying the inverse transform on the ray itself. You can use the same trick to support oblique cones: just figure out what skew transform you want to apply to the cone, and apply the reverse transform on the ray.
There is a switch where you can turn the denoising of the ray-traced output on/off: it shows tremendous difference, to a point where it's hard to even imagine looking at the noisy image that it is even possible to extract the denoised version.
While accurately simulating optics is needfully computationally expensive and gives special-purpose graphics hardware an advantage, it's not clear that psychologically subjective high quality graphics (i.e. generating visuals which are inaccurate but convincing to humans) has such a need.
What you're describing is rasterization, which is what the industry standard is (at least for games) for decades.
Generating visuals with an autoencoder, albeit hinted by noisy physically-based raytracing, is not an optical technique; detail is generated from a visual statistical model, not an optical simulation.
That is an optical simulation :)
Comparing this overview to one of the most basic techniques that is used everywhere and is a given is like reading an article on a modern car engine and dismissing it because you saw someone light some gas on fire 30 years ago.
I understand you know what low discrepancy samples are, but equating the very first demonstration that random sampling wasn't ideal for day tracing, to the state of the art that has evolved over three decades of research is ludicrous.
I don't know why you are desperate to be dismissive but it has no basis whatsoever in reality.