Settings

Theme

I Optimised My Game Engine Up to 12000 FPS [video]

youtube.com

37 points by Orochikaku 2 years ago · 9 comments

Reader

mpwoz 2 years ago

This was a really cool deep dive into various optimizations that apply specifically to voxel-based games.

I especially enjoyed how the author packed progressively more information into the bits of a single integer using some clever tricks, and it stayed approachable the whole time even for those who don’t do a lot of low level bitwise optimizations in their day to day (me)

mcraiha 2 years ago

High engine FPS is also super important for stress testing the potential servers and/or doing some machine learning inside the game.

jokoon 2 years ago

he should rather invent a screen with a higher refresh rate

  • naikrovek 2 years ago

    That’s not going to improve rendering speed. FPS here is used to gauge how quickly the scene is being sent to the GPU.

    For a given rendering quality, faster is always better, even if your display can’t show frames that fast. In such a case you render as fast as the display can go and no faster, to save energy and allow the computer or your game to handle other tasks within the frame time.

01HNNWZ0MV43FF 2 years ago

I mean it's voxels so

Could have also not used those

naikrovek 2 years ago

None of these things are secrets or even hard to learn on one’s own.

I am not a developer (not a real one, anyway) and I am definitely not a game developer but I wrote a ton of 3D stuff for work and learned all of these optimization techniques along the way.

Once one learns the basics of how data is sent to GPUs, these techniques all become obvious, though some are much more difficult when you don’t restrict yourself to a world built with axis-aligned cubes.

  • laserbeam 2 years ago

    > None of these things are secrets or even hard to learn on one’s own

    They don’t have to be. This is just an absolutely great educational video, not a phd paper.

  • Art9681 2 years ago

    So things are obvious to those who spent N amount of time learning about things. Got it.

  • NinoScript 2 years ago

    You have developed pieces of software. You are a real developer.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection