Silentor / InfluenceTerrainDemo

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

Micro navmap (cache block inclination) #106

Closed Silentor closed 5 years ago

Silentor commented 5 years ago

I need a grid of cached navigational properties of blocks, mostly inclination, to speed up passability test. For now passability check for every block from main land map is expensive (check 4 corners of blocks and calculate normal or inclination). Maybe just store it in main block, without any special nav map...

Silentor commented 5 years ago

Make NavGrid with heavely quantized block normal (4 directions and 4 levels of inclinations). It can be refined to 16 directions and 16 levels of inclination, I think.