Heightmap based terrain loading for bloxel
Last night I finished the first prototype of a heightmap based TerrainLoader.
- I’m using a com.jme3.terrain.heightmap.HillHeightMap to create a 512×512 2D heightmap
- our 3D TerrainChunkLoader (our manager for infinite worlds) map a TerrainChunk (x,y,z) to a region of this 2D map
- here I had some problems to transform the 512×512 heightmap (2D) to the 4×4 terrain-chunks (3D) … but now it works 🙂
Update 20.02.2011 – better textures for grass and dirt
Antworten
Du musst angemeldet sein, um einen Kommentar abzugeben.