r/GraphicsProgramming • • 15h ago

Fully Neurally Rendered object - ~2.7 ms average GPU frame time (256*256)

Fully neurally rendered asset (RGB, Normals, and Depth) rendered at an average of ~2.7 ms frame time on 8 GB RTX 5070 Laptop GPU by a custom model architecture in custom inference engine made with Rust, TensorRT, and CUDA kernels. Check out the README in this repo for details. I spent months working on it, the main bottleneck being compute for training, which I solved by making a custom data flow pipeline (the details of which can also be found in the repo) that allowed me to train these models locally. Do you think such tech would be able to make it to mainstream game dev?

AI Disclosure: This project used AI to create the GUI, and the product is an AI system

31 Upvotes

9 comments sorted by

4

u/Worth-Competition134 8h ago

"Look we can reinvent the wheel we already have it's just way slower!" - Neural Rendering

ALUs are faster than matrix multiply units for everything other than matrix math, it's just how the hardware works. And variations on neural networks themselves are the only thing matrix multiply units are fast at, if it's for literally anything else it's slow. The entire job of realtime graphics rendering is "Make go fast", if you use ALUs for the same rendering algorithm the rendering will go faster.

Learning to do the actual job is infinitely more more useful than thinking something is cool just because it's novel

2

u/ConsistentFox567 8h ago

neural rendering is more than that. specifically, this implementation is for impostor billboards, not for replacing close range assets. and then too, there comes a complexity point where neural rendering surpasses rasterization in performance. also, the first gpu prototypes were often slower than cpus at graphics, just saying. you can't discredit an entire research field by lowballing its current achievements

2

u/PoopyDootyBooty 4h ago

Neural rendering gets swept up in a lot of anti ai hate train stuff. It’s very interesting and a totally valid application of the technology (you could theoretically learn an infinitely complex object this way, instead of optimizing it by hand by lowering polycount etc)

1

u/1c3Type 10m ago

And your ability to output it would still be expensive and still look ass

1

u/1c3Type 11m ago

What's the fucking point in an impostor billboard that takes 1/6 of your frametime budget at 60fps.

1

u/AutoModerator 15h ago

Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:

  • No showcases.
  • Disclose AI usage in post or project.
  • Present a topic to talk about, e.g. how something works.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/mmmniple 9h ago

It is very interesting, Thanks for sharing. I belive you Will like to see this : https://x.com/EtiennePinchon/status/2118592292680618480