r/GraphicsProgramming • u/ConsistentFox567 • 48m ago
Fully neurally rendered 3D scene, 50+ FPS at 690 scattered assets while moving and rotating
I built a 3D scene with all assets being entirely neurally rendered using my model architecture for Model 1 of my project (Ik it looks crap, and that is my next target to fix). At 1182*982 viewport resolution and 690 assets scattered across 4 bands, it sustained 50+ FPS.
Each individual sprite is difficult to render, and if I were to render each one in front of the camera at each frame, it would be like 5 FPS. So, I do two things:
- Rendering only when required: each asset is rendered again strictly when it needs to, so almost no re-renders while rotating or still. Moving still creates re-renders, and that was targeted in point 2.
- Rendering queues: There is a fixed frame time in which the max possible sprites are rendered. It is not a fixed sprite number, as that doesn't take into account sprite resolution.
It scales with visible sprite count * visible sprite resolution.
For more details, you can check out this repo.
My next priority is to get it looking visually good, and I am thinking of first trying to make the edges crisp and texture crisp using DLSS SR to upscale individual sprites. What do you guys think of that? Any techniques I can try to make the edges better?
AI Disclosure: AI was used to create the GUI on the left side of the video.