Hopson fits a voxel vertex into four bytes
The OpenBuilder tutorial is drawing the most daily views on Hopson's channel in a week without a new upload.
Voxel Game Mesh Optimizations
Up nextTrari.com home page ›
Why this story? The channel's weekly summary: what went up this week, what is drawing views now, and where the channel stands among similar channels.
Hopson starts "Voxel Game Mesh Optimizations" with the triangles that make up a game world, then shows how quickly the information attached to their corners fills up video memory. In OpenBuilder, even a flat world takes up a surprising amount of space. His fix is to store less information at each corner: a vertex only needs to know where it sits within its own chunk, not where it is in the whole world. With similar savings on texture and lighting data, each vertex goes from 28 bytes to four. In Hopson's test, the frame rate didn't budge.
Subscribers held steady in a week with nothing new on the channel, though daily views are running a little above Hopson's usual pace. Speedify and Bijan Bowen had much busier weeks for views among similarly sized tech channels. On Hopson's channel, the OpenBuilder tutorial is drawing more daily views than even his most-watched upload, the 2017 challenge "Coding Minecraft in One Week - C++/OpenGL Programming Challenge".
The other videos drawing the most daily views show what Hopson does when he isn't building with blocks. In "Recreating The Time Piece From Dishonored Using C++ and OpenGL", he makes a circular window in Blender that lets him peek at a ruined version of the scene, his take on the device in Dishonored 2's "A Crack in the Slab". And in the wordless "Old Projects - 3D Pong using C++/SFML", he revives a shader experiment, cranks up the neon glow and then switches off the terrain until there's little left but a paddle, a ball and the blue edges of a tunnel.
Published on Trari.com
Go back to Trari.com home page
Where next?
Things we can learn from the video
Press to jump
- 1:37The original mesh uses 168 bytes per block face, enough for a flat test world to take around 176 MB.
- 3:13Storing positions relative to each chunk cuts the position data to 18 bits per vertex.
- 3:48Texture arrays and vertex shaders bring the texture data down to 11 bits per vertex.
- 5:07Lighting takes just three bits instead of a four-byte floating-point value.
- 6:03The packed vertices bring video memory use down to about 25 MB in Hopson's test, with no frame-rate drop.
A professional in this field? Want to write about Tech on Trari? Tell us ›
What do you think?
Want to know when somebody answers you?
The videos drawing views on Hopson right now
- Channel
- Hopson
- Subscribers
- 81,700
- Channel views, last 7 days
- 555
- Videos published this week
- 0
The numbers
Here's how Hopson's views and subscriber count moved this week.
💡 Test your knowledge
What does Dishonored 2's Timepiece let you see through its window?
The Timepiece lets you look between past and present versions of Aramis Stilton's manor.



