Block Landscape rendering

Ok, so you experienced members will have seen this same thing a million times by now, but I am just wondering how I would implement a block-style terrain (like Minecraft) whilst still maintaining a high FPS. I started out using some simple for loops but the problem with that was that the frame rate became very slow.

I am not a noob to Java but I am to jMonkey so bare with me.

Thanks for any help or advice that can be given :smiley:

1 Like

search for “voxel” or “voxel engine” in the forum

2 Likes

And the basic counter-intuitive advice: block engines do not render blocks.



…the links will show you that.



Note: block engines are not easier to write than regular engines… in some ways they are harder. Keep that in mind.

2 Likes

Thanks for the replies guys :smiley: I found a nice ‘voxel’ engine that works well but I was wondering what is a voxel and how does it work?

1 Like

Never be afraid to google:

2 Likes
@pspeed said:
Never be afraid to google:
http://en.wikipedia.org/wiki/Voxel

Very true... I need to get started on this now :P
1 Like

Just wondering if a voxel engine was what the Minecraft creator used to make it?

1 Like

Well, since “voxel engine” is a generic term for an engine that renders voxels… and since blocks are voxels, I’m guessing “yes”.



But I don’t know how that’s helpful to know. So maybe you mean something else. On the surface, it seems a bit like asking if Doom is a 3D first-person shooter.

1 Like