Page 1 of 1

minetest engine material about terrain ,mesh rendering etc.

PostPosted: Thu Oct 29, 2015 05:17
by jiangfan3
Hi,
Minetest is very good project.I am now study minetest.
Does have any about minetest engine technology material such as its terrain generate,mesh rendering ,occlusion removal etc.

Re: minetest engine material about terrain ,mesh rendering e

PostPosted: Thu Oct 29, 2015 11:32
by PilzAdam
You may find some answers in our development wiki.

We use Irrlicht as a rendering engine, so most of the graphics stuff isn't done here. For mesh generation refer to mapblock_mesh.cpp.

For map generation architecture start looking in emerge.h, for the actual creation of the content for the individual map generators refer to the makeChunk() functions for them (e.g. here for mapgen v6).