12 ms·
Nothing, they are just drawing and shading quads as a practical GPU benchmark. Each pixel could be shaded with a pseudorandom color generated as the hash of its
by desertrider12 5y ago
Nothing, they are just drawing and shading quads as a practical GPU benchmark. Each pixel could be shaded with a pseudorandom color generated as the hash of its screen coordinates.
- da39a3ee 5y agoI see, thanks. But there is a link between graphics and hash functions, e.g. (First sentence of abstract of linked paper[1]) > In many graphics applications, a deterministic random hash provides the best source of random numbers. So, why do people need cheap random numbers in graphics? Is that to create some sort of fuzz/texture/visual effect? Or is it to implement stochastic animations? (I know nothing about graphics) [1] http://jcgt.org/published/0009/03/02/ http://jcgt.org/published/0009/03/02/
- pixel_fcker 5y agoGraphics uses a lot of Monte-Carlo integration, for which you need (pseudo) random numbers. You want your random numbers to be fast to generate, and have completely uniform so as not to introduce bias in the result.