r/GraphicsProgramming • u/NamelessFractals • Apr 07 '25
Very slow clouds, time to optimise
Very basic clouds using a multiscattering approximation from a paper for the Oz movie
62
4
u/Patient-Trip-8451 Apr 08 '25
Are you using blue noise to randomize your sample offsets yet?
2
u/NamelessFractals Apr 08 '25
No not yet
5
u/Patient-Trip-8451 Apr 08 '25
https://momentsingraphics.de/BlueNoise.html in case you don't know about it yet. high quality blue noise in different formats and dimensions.
1
u/NamelessFractals Apr 08 '25
Ooooh looks interesting, thank you :D
4
u/arycama Apr 08 '25
STBN (Spatio temporal blue noise) is a newer approach which makes noise that is blue over time as well as space, would recommend. https://github.com/NVIDIA-RTX/STBN
However it can be a challenge to fully de-noise. Another approach is FAST Noise. (Filter-adapted spatiotemporal) which attempts to optimise the noise distribution for the denoising approach, rather than just focusing on how blue it is. https://github.com/electronicarts/fastnoise
I haven't used FAST noise yet but it's likely to result in the best performance when combined with an optimal denoiser, though maybe less accurate than blue noise. (Blue noise is still biased however, white noise is uniform so will give unbiased results, but takes too long to converge/is too hard to denoise properly for realtime use)
2
u/NamelessFractals Apr 08 '25
I mean if I'll have to denoise either way I might as well also go for a hybrid approach where I do incorporate a little monte carlo, while still using the multiscattering approximation.. thanks for the links I do think, since I'll have to do clouds at work that I might try the FAST noise
4
1
u/roofitor Apr 09 '25
I’ve seen Disney release cloud research in the past. I’ve only ever seen the other cloud research and this. Is this their “thing”? xd
1
u/NamelessFractals Apr 09 '25
Not really, haven't really read into other stuff other than the multiscattering approximation for the Oz movie. What do you mean by their "thing" xD?
1
u/roofitor Apr 09 '25
Like the other cloud research paper was fabulous but it’s a few years old now, prolly 2020, neural rendering. Just wondering if cloud rendering is their contribution to the research community?
1
u/NamelessFractals Apr 09 '25
Hmm, well the thing is that their clouds are most likely path traced, I do believe that guerilla games with horizon zero dawn had a small paper that did contribute a bit as well as a presentation from frostbite EA also had some useful information regarding clouds.. Other than that I am aware of restir having a volumetrics version that is also nice. I should at some point look at some research papers by disney as you said, but yeah
1
u/roofitor Apr 09 '25
Oh, I thought you meant these clouds were a Disney paper and were the technique used in the Oz movie. Anyways, nice work, that’s very impressive! Good luck!
1
1
1
25
u/NamelessFractals Apr 07 '25
Just saying I made them 2x faster with a small tweak to my code