Jump to content

How are video games rendered?

abhay6547

So I work with a lot of 3D applications like Cinema 4D and I know that when I have to render something with a high level of detail, it can sometimes take hours to render a single frame. How do video games manage to render a frame in high detail in mere fractions of a second? I assume it has something to do with pre-rendering and only rendering the visible polygons but I am not sure. I would love it if someone were to explain this to me.

i9-6930X @ 5.3GHz | ASUS Z1007-A | 64TB G.Skill Ripjaw XIV 2400GHz RAM | GTX 1080 Ti | Corsair 900R


Corsair CX2500 W | 15TB WD Green | Noctua NH-D24

Link to comment
Share on other sites

Link to post
Share on other sites

Well, the game is already "prerendered", so to speak. It put the textures in the VRAM, and then the GPU pulls them off, compiles them, and displays them on the screen, in my basic understanding of this.

Main rig on profile

VAULT - File Server

Spoiler

Intel Core i5 11400 w/ Shadow Rock LP, 2x16GB SP GAMING 3200MHz CL16, ASUS PRIME Z590-A, 2x LSI 9211-8i, Fractal Define 7, 256GB Team MP33, 3x 6TB WD Red Pro (general storage), 3x 1TB Seagate Barracuda (dumping ground), 3x 8TB WD White-Label (Plex) (all 3 arrays in their respective Windows Parity storage spaces), Corsair RM750x, Windows 11 Education

Sleeper HP Pavilion A6137C

Spoiler

Intel Core i7 6700K @ 4.4GHz, 4x8GB G.SKILL Ares 1800MHz CL10, ASUS Z170M-E D3, 128GB Team MP33, 1TB Seagate Barracuda, 320GB Samsung Spinpoint (for video capture), MSI GTX 970 100ME, EVGA 650G1, Windows 10 Pro

Mac Mini (Late 2020)

Spoiler

Apple M1, 8GB RAM, 256GB, macOS Sonoma

Consoles: Softmodded 1.4 Xbox w/ 500GB HDD, Xbox 360 Elite 120GB Falcon, XB1X w/2TB MX500, Xbox Series X, PS1 1001, PS2 Slim 70000 w/ FreeMcBoot, PS4 Pro 7015B 1TB (retired), PS5 Digital, Nintendo Switch OLED, Nintendo Wii RVL-001 (black)

Link to comment
Share on other sites

Link to post
Share on other sites

So I work with a lot of 3D applications like Cinema 4D and I know that when I have to render something with a high level of detail, it can sometimes take hours to render a single frame. How do video games manage to render a frame in high detail in mere fractions of a second? I assume it has something to do with pre-rendering and only rendering the visible polygons but I am not sure. I would love it if someone were to explain this to me.

 

Yeah, GPUs nowdays do something called "Z-Culling" I think. Its where the GPU decides what is visible to the "camera" and renders only those polygons and throws away the rest.

 

also from what I've seen, when rendering realtime there are a lot less polygons in general. LoD helps speed up the process a bit by turning far away things into low detail objects. that's why there is annoying popup sometimes.

Old shit no one cares about but me.

Link to comment
Share on other sites

Link to post
Share on other sites

Because the detail in a video game is often an illusion. A lot of fine three-dimensional detail is achieved through two-dimensional means such as normal maps, parallax, or tessellation, which modern graphics cards can render very quickly compared to high-poly meshes. Lighting is usually less detailed and realistic; not all sources will cast shadows, for example.

Link to comment
Share on other sites

Link to post
Share on other sites

a lot of rendering softwares relay on CPU for pre-rendering, in fact all the videoeditors out there want to have 6 cores ivy-E

some programs should be able to use GPU acceleration too, but i'm not into video editing, i can't tell which ones

games, on the other side, use all the GPU POWAH, think of it as a heavily downclocked 2048 cores i7

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×