Now start doing the basic content of the relevant terrain.
The first is to add a terrain object class
Block category class BlockPixel then added terrainrenderitem classes and class terrainrendermanager
Wherein TerrainObject classes for all terrain data management system. Defined as follows
Internal height data, the normal data, block attribute data. Lot elements of data management and drawing elements and textures management.
Finally put all the content added by the terrain. Look effect.
OK, see the terrain has been rendered out. It was quite smooth. The next step is to add a terrain editing.