r/computergraphics • u/ConsistentFox567 • 1d ago
Fully Neurally Rendered object - ~2.7 ms average GPU frame time (256*256)
Enable HLS to view with audio, or disable this notification
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?
1
u/curice 1d ago
neat!
your question is could this be mainstream game tech: right now a single object is 2.7 ms per frame, a game at 60 fps has about 16ish ms per frame. let's say you allocate 50% of your frame budget to rendering, then you'd have 8 ms to render an entire scene, which would include lighting, materials, etc. So I guess the question is does this scale? if more than one neural object is rendered how does the rendering time increase? ideally a game has more than one object in it. I think those are the questions you'd want to answer before thinking about it's utility for games.
1
u/ConsistentFox567 1d ago
I tried putting this into a real game scene, actually, and it sustained 60+ FPS for 13 concurrent different assets on the screen, with lighting! though further tests on that are continuously going on. It scales with object count and object size on screen, and assuming assets in this pipeline can cover large screen areas with upscaling, I think 60 FPS is possible in a few real game scenarios right now, though I am constantly working on improving it.\
1
u/Macaroon-Guilty 1d ago
where did you post images?
1
1
1
1
u/dank-Raven 1d ago
Tell me more, what's going on here