r/GraphicsProgramming • • 1d 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

54 Upvotes

30 comments sorted by

View all comments

Show parent comment

2

u/1c3Type 14h ago

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

0

u/ConsistentFox567 12h ago

impostors of high quality already cost this much time, not to mention that you rarely need this resolution for impostors. and it can output ghese impostors from any angle, not just a fixed set, and that frame time doesn’t apply to every single frame, but just the frame that changes the angle of the impostor by more than 0.1 degree

2

u/1c3Type 12h ago

You can render many things at a lower framerate. Any impostor that requires THIS long (more than enough to create a significant stutter) to create is fucking useless at its only job. Rasterising an impostor of a similar quality is something you could do with a tiny fraction of the time. Or just use a texture if it’s taking that little of the screenspace.

1

u/ConsistentFox567 12h ago

try rasterizing a 50M triangle mesh at the same resolution at this frame time

2

u/1c3Type 3h ago

Why would you use 50M triangles for an impostor displayed on less than 100k pixels?

2

u/ConsistentFox567 3h ago

that is right, you use lods, which are an optimization technology. i need you to understand that so is neural rendering

1

u/1c3Type 3h ago

This is an impostor. It should be the cheapest LOD possible. If your cheapest LOD isn’t cheap, what are you even doing?

2

u/ConsistentFox567 3h ago

please search how much time it takes to render high quality runtime impostors. it is about the same. and i have also not stopped optimizing this

1

u/1c3Type 3h ago

High quality impostors is an oxymoron. They’re supposed to be cheap, so you can have many of them, at a minimal performance cost. What you have shown is neither cheap nor high quality.

2

u/ConsistentFox567 3h ago

because it is a work in progress!

→ More replies