top of page
bitmap.png

Minecraft Infinite Terrain with Blender Geometry Nodes

  • Writer: mylo pinto rizvi
    mylo pinto rizvi
  • May 24, 2022
  • 1 min read

Updated: Jun 4, 2023


ree

The idea of creating an infinite landscape is something which I have attempted before. The idea stemmed from desire to create a world where I could explore infinitely but have complete parametric control. This is by far the most successful attempt.

Previous attempts used a noise texture to displace to the surface but that gave limited results as I wanted something that had concave geometry rather than convex.

To achieve this I created an array of grids. This was done by using the line node to instance grid objects.

ree

I then made got this array to follow the camera. I made the its only follow the X and Y axis so it wasn't following the cameras height. Due to problems of consistency and performance I added a Snap operation in between the vectors so it would only generate if it moved 5 metres forward.

ree

To make the terrain actually look like terrain I then realized the instances and then deleted the geometry through a noise texture mixed with a gradient generated by the vertical axis of the object.

For performance I also created a frustum culling system. I used a tutorial to achieve this.

ree

This though didn't remove all of the elements outside of view as the raycast seemed to be mirroring itself.

ree

To create the voxel like result I turned the grids into points then instanced a cube on them

This process isn't perfects as there is a lot of unseen geometry that is being used. I'm definitely going to experiment more with this technique.








Comments


bitmap.png

© 2022 by Mylo Pinto Rizvi

  • Linktr.ee
  • 1024px-Mastodon_logotype_(simple)_new_hue_edited
  • YouTube
  • Vimeo
  • Behance
  • Artstation
  • Peertube
  • GitHub
  • BlenderArtists
bottom of page