News for hackers. Stuff that matters.
Re:Real-Time Ray Tracing Demo by jessewmc on Tuesday May 22, 2018 @04:43PM (#17129261)
> using the latest GPUs and machine learning techniques

I have no expertise in either graphics or machine learning, but is this just buzzword for its own sake, or is there actually any way that machine learning is applicable to a mathematical problem like rendering?

Again, from my position of relative ignorance, it seems like graphics is largely a well defined problem space that needs mathematical ingenuity and bigger/better hardware thrown at it, rather than building a black box function by training it on sample inputs and outputs (what would that even look like?)

Re:Real-Time Ray Tracing Demo by meheleventyone on Tuesday May 22, 2018 @04:48PM (#17129290)
For raytracing it's been used to de-noise images: https://blogs.nvidia.com/blog/2017/05/10/ai-for-ray-tracing/
Re:Real-Time Ray Tracing Demo by John_KZ on Tuesday May 22, 2018 @11:50PM (#17131354)
If you look closely, at around 0:22 it causes some artifacts in the rifle's red light matrix thingy. It could be regular compression artifacts, but they look like denoising artifacts to me.
Re:Real-Time Ray Tracing Demo by faragon on Wednesday May 23, 2018 @02:17AM (#17131778)
Could it be just an intentional focus effect?
Re:Real-Time Ray Tracing Demo by jessewmc on Tuesday May 22, 2018 @05:07PM (#17129421)
TIL, thanks. That's a more prosaic answer than I was expecting but clever and makes sense.
Re:Real-Time Ray Tracing Demo by amelius on Wednesday May 23, 2018 @09:25AM (#17133953)
How "local" are such techniques? Is the DL network doing things like "this is a car, and this is a patch of it, so it must look smooth"? Or is it more like "this patch is noisy, so let's make it smooth and hope for the best"?
Re:Real-Time Ray Tracing Demo by haldean on Wednesday May 23, 2018 @10:23AM (#17134400)
More on the local end. Traditional denoising is edge finding + blur; you find the edges that you want to keep crisp and you blur on both sides of the edges. ML has been really good at somehow replicating and improving upon that result without explicitly building any sort of understanding about what it is that it's denoising.
Re:Real-Time Ray Tracing Demo by moultano on Wednesday May 23, 2018 @12:56AM (#17131560)
I don't think this is what they are actually using, but path tracing can be reduced to a really huge sparse sampling problem. This means that given any predictive model of how much paths through the scene will add light to a pixel, you can make that model unbiased by using https://en.wikipedia.org/wiki/Importance_sampling

So a model trained to take the samples you have so far and predict paths that will also connect eye to light sources could hugely speed up rendering. I don't know of any software that does this, so free idea if someone wants to try it.

Re:Real-Time Ray Tracing Demo by pixel_fcker on Wednesday May 23, 2018 @06:41PM (#17139115)
there was a paper recently caching sparse radiance results and using ML to predict important paths from that. I believe the latest version of Octane might do something like that if you read between the lines of their marketing guff.
Re:Real-Time Ray Tracing Demo by Asooka on Tuesday May 22, 2018 @04:47PM (#17129281)
They're using Nvidia's denoiser which is based on a pretrained neural network.

Edit: look up "optix denoiser"

Re:Real-Time Ray Tracing Demo by Sjenk on Wednesday May 23, 2018 @05:27AM (#17132588)
Take a look at the youtube channel 2minutepapers [0], it covers various ML/DL papers and their results. The person creating the videos has a background in writing rendering software. He has various videos covering papers that use ML to improve rendering and graphics. Not long ago he created a own paper about teaching an AI the concept of metallic, translucent materials and more [1].

I really recommend checking his channel, videos are short and fun and easy to understand even without ML background. You can really sense his passion and excitement for this topic.

[0] https://www.youtube.com/user/keeroyz [1] https://www.youtube.com/watch?v=6FzVhIV_t3s

Re:Real-Time Ray Tracing Demo by VladimirGolovin on Wednesday May 23, 2018 @03:01AM (#17131911)
Their current raytracer is limited by the available compute power, so it's forced to use as few samples per pixel as possible, which results in a noisy picture.

However, there's a synergy between their on-chip ML cores and their raytracing engine: they use ML cores (which are typically useless in graphic workloads) to de-noise ray-traced images.

Re:Real-Time Ray Tracing Demo by Shikadi on Tuesday May 22, 2018 @04:47PM (#17129286)
To my knowledge, it's a buzzword. That being said, I'm also not an expert, and would like to hear from one to be sure, since it would be interesting af if they actually are using machine learning for Ray tracing