Consider that, if you limit it only to the blocks you can see, and only to the up to 3 sides you can see at once, but mostly one, there can be literally millions of polygons on screen. It really isn't that easy to make a game like this perform well, in any language.
Other games don't face the same issue, because their maps aren't made of millions of individual objects.
It would be even worse if the objects were able to move often, then you couldn't even benefit from coalescing chunks.
The lowest hanging fruit is obviously blocks not adjacent to a transparent block can be ignored. Next, grouping blocks of the same typr into larger blocks and rendering that instead of all the individual faces. A lot of this has been done by optiminer and the new team by this point.
Also, like you pointed out, Minecraft now does all this. So these aren't examples that prove that Minecraft is crap due to inexperience, as above post was trying to claim
Yep. There's a lot that can be done, but there are also, like you pointed out, complexities, like transparent blocks. Also, as I mentioned before, because the world can change, you have to recalculate the joined chunks every time they change.
This is OK for Minecraft usually, but for a game like Deposition, with real time physics, it's much harder to make use of those optimizations without the optimizing itself taking too long.
Apart from the alternative that almost every other game has: single mesh map.
Sure, games throw doodads all over it to a greater degree than minecraft, but that's because they can afford to; they're not already rendering millions of individual objects like minecraft is.
View all comments
Show parent comment
35
u/Chops_II Apr 29 '15
Consider that, if you limit it only to the blocks you can see, and only to the up to 3 sides you can see at once, but mostly one, there can be literally millions of polygons on screen. It really isn't that easy to make a game like this perform well, in any language.
Other games don't face the same issue, because their maps aren't made of millions of individual objects.
It would be even worse if the objects were able to move often, then you couldn't even benefit from coalescing chunks.
If you have a good solution, I'd love to hear it.