Shore detection by Zezo
Post by iconPost by Ventura_317 | 2021-04-13 | 17:35:24

Should be interesting for many players to know how Shore detection is technically managed so rapidly by our Good Friend Zezo (what is the Reference Map used by Zezo / longitude map pixel size / ... /...) and main differences with VR detection if any.
Thanks in advance to Cvetan (and sorry of this topic was already covered)!

commenticon 1 Comment
Post by iconPost by zezo | 2021-04-13 | 18:03:17
I use rasterized GSHHS data.

One bit, 30 pixels/degree 10800x4800 image. The idea is for the resolution to be comparable the game and router steps - 10 minutes at 20 knots.

The collision check is just an array lookup. Problem is that it that only the end point is checked which can lead to router sailing over up to 30 miles of land in the worst case.

I also touch few pixels when needed - blocking narrow places and digging holes in other places to fix the route.

Topics list
Copyright 2009 by ZEZO.ORG. All Rights Reserved.