New answers tagged minecraft
2
This is not a simple question - but the philosophy is simple - seek out like things and bundle them together so that the pipeline never starves for data nor stops to change gears.
Secondly, do NOT create the same thing again and again - if you have a cube, build the vertex buffer and index buffer once - use instancing, and use the world matrix to change ...
1
Start here: Really nice noise library because using noise in a meaningful way takes a little work.
Most of your "what octaves, persistence... etc..." questions are answered by trying values and sticking with what works for you, there is no universal truth otherwise all maps in all games would look the same. In fact, the best way to get up to speed is to ...
2
I think this is how it works in Minecraft. Each worm has a maximum length (let's call it M). The heads of each worm are calculated based on the chunk position. When you render each chunk, you have to check all chunks within an M radius, and follow all of their worms. It's not ideal in terms of performance, but it does work.
Top 50 recent answers are included