You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/wiki/bloxels/index.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,8 +72,18 @@ You need to heed just one word: **Compression**
72
72
73
73
**Compression** is the **bread and butter of voxels**, and thus bloxels.
74
74
75
-
Without it our worlds would be smol, our memory full, our CPU cache trashing, frametime climbing, fans screaming... and so on.
75
+
Without it our worlds would be smol, our memory full, our CPU cache trashing, frame-time climbing, fans screaming... you get the idea.
76
76
77
+
So how, and how much, can we compress our bloxels?
78
+
79
+
Let's establish some rules-of-thumb:
80
+
81
+
- Bloxels are mostly static.
82
+
- Bloxels are mostly the same.
83
+
- Bloxels are mostly hidden.
84
+
- Bloxels tend to be 'piled up'.
85
+
86
+
<!--
77
87
So, let's start with the first thing: doing absolutely nothing!
78
88
79
89
#### Bloxels Are Mostly Unchanging
@@ -84,6 +94,7 @@ not doing *anything*, millions upon millions[^mc-block-count] of them!
84
94
85
95
This is not due to the developers being lazy or uninspired with making their bloxels *do* stuff,
86
96
but rather a very important optimization strategy: **doing nothing is highly performant**.
97
+
-->
87
98
88
99
89
100
@@ -109,4 +120,4 @@ but rather a very important optimization strategy: **doing nothing is highly per
109
120
110
121
---
111
122
112
-
[^mc-block-count]: With a default view-distance of 12 chunks, there are approximately +20 million solid blocks surrounding the player.
123
+
[^mc-block-count]: With a default view-distance of 12 chunks, there are approximately **+20 million _solid_ blocks** surrounding the player in Minecraft.
0 commit comments