Silentor / InfluenceTerrainDemo

Some experiments with zone-based terrain generation
4 stars 2 forks source link

Implement simple visualization of object blockmaps #90

Closed Silentor closed 5 years ago

Silentor commented 5 years ago

Visualization in Block mode is very simple - just rectangular blocks, from base height to topmost height. Visualization in Terrain mode is a more interesting - top mesh like a terrain, bottom mesh - like a flipped terrain, sides - like a Block mode.

Silentor commented 5 years ago

Implemented Block mode visualization

Silentor commented 5 years ago

Implemented funny mesh generation for objects with blockmap ("map objects"). I want to use map objects to enrich main terrain with overhangs. Map-object

Todo: more accurate align with main heightmap. Some blocks of map object need to be marked as coincide blocks for seamless transition from/to main heightmap.

Silentor commented 5 years ago

The next step - good-looking blending of main and object heightmaps

Silentor commented 5 years ago

Ok, now map object snaps for main map blocks. Still need calculate common normals and resolve z-fight (need to discard occluded main map blocks from meshing) Unity 2018 3 8f1 Personal - Main unity - TestBlock InfluenceTerrainDemo - PC, Mac   Linux Standalone_ _DX11_ 2019-03-15 01 58 16