Premium Only Content
Implementing field of view on a hexagonal grid
This is a continuation of map visibility that was started in the video on fog of war:
https://rumble.com/v3xrzvn-a-simple-implementation-of-fog-of-war-on-a-turn-based-grid.html
Insights on how to implement the field of view algorithm were taken from here:
https://forums.roguetemple.com/index.php?topic=3675.0
How to determine whether two circle sectors overlap:
https://stackoverflow.com/questions/11775473/check-if-two-segments-on-the-same-circle-overlap-intersect
How to merge overlapping circle sectors:
https://stackoverflow.com/questions/23618704/merge-all-overlapping-sectors-on-the-same-circle
I adapted the above merge algorithm to do intersections, which turned out to be similar to this solution that I found afterwards:
https://stackoverflow.com/questions/9800829/intersection-between-two-arcs-arc-distance-between-pair-of-angles
Commit: implement field of view on the adventure map (2023-11-29 23:12:54)
-
7:00:42
NellieBean
8 hours ago🔴 LIVE - trying some COD maybe Pals later
28.4K -
1:47:46
SpartakusLIVE
6 hours agoThe Master RIZZLER has entered the building, the 95% REJOICE
16.4K -
29:53
MYLUNCHBREAK CHANNEL PAGE
1 day agoOff Limits to the Public - Pt 1
72K106 -
16:03
Tundra Tactical
8 hours ago $10.44 earnedNew Age Gun Fudds
89.5K15 -
8:22
Russell Brand
13 hours agoThey want this to happen
175K366 -
2:06:43
Jewels Jones Live ®
1 day ago2025 STARTS WITH A BANG! | A Political Rendezvous - Ep. 104
96.2K38 -
4:20:41
Viss
13 hours ago🔴LIVE - PUBG Duo Dominance Viss w/ Spartakus
76.5K9 -
10:15:14
MDGgamin
16 hours ago🔴LIVE-Escape From Tarkov - 1st Saturday of 2025!!!! - #RumbleTakeover
62.8K2 -
3:54:19
SpartakusLIVE
12 hours agoPUBG Duos w/ Viss || Tactical Strategy & HARDCORE Gameplay
74.5K1 -
5:54:54
FRENCHY4185
12 hours agoFRENCHY'S BIRTHDAY BASH !!! THE BIG 40 !!!
83.6K3