r/GraphicsProgramming • u/GreenFire317 • Oct 02 '22
Question GPU Testing and Rendering
Whats the difference? Why does it take minutes to render a picture, but a video game can render 60 pictures a second?
Also, what makes a GPU stress test "hard"? Is it the amount of objects in scene, the quantity of light sources and shadows, colors of objects/lights, is it textures? What makes one render stress test harder/better?
7
Upvotes
1
u/wrosecrans Oct 02 '22
When making a video game, it has to render fast, so you wrote fast code and accept whatever sort of build steps, pre-processing, hacks or limitations are involved in staying within the time budget.
When making a movie, it has to be pretty. So you write code to do whatever visual effects you need in the most practical and flexible way, accepting whatever reasonable slowdown/overhead that implies, because spending millions of dollars of developer time to figure out how to get something to render in real time wouldn't actually accomplish anything for the movie.