Thanks. How many edges do sites in the same location on adjacent layers of a cube share?
For 3D sites, orthogonally adjacent cells (sites) share faces, not edges. Each internal site (cell, not vertex) in a cube layout has 8 vertices and 12 edges. it has 6 orthogonally adjacent cells (N, S, E, W, U, D) that share a face, 12 diagonally adjacent cells (NE, NW, SE, SW, UN, US, UE, UW, DN, DS, DE, DW) that share an edge, and 8 extra-diagonal adjacent cells (UNE, UNW, USE, USW, DNE, DNW, DSE, DSW) that share a vertex.
This may not be the way Ludii currently implements layers. However, when you get around to implementing 3D games, you will need to take a look at these 3D geometry relationships.
For 3D sites, orthogonally adjacent cells (sites) share faces, not edges. Each internal site (cell, not vertex) in a cube layout has 8 vertices and 12 edges. it has 6 orthogonally adjacent cells (N, S, E, W, U, D) that share a face, 12 diagonally adjacent cells (NE, NW, SE, SW, UN, US, UE, UW, DN, DS, DE, DW) that share an edge, and 8 extra-diagonal adjacent cells (UNE, UNW, USE, USW, DNE, DNW, DSE, DSW) that share a vertex.
This may not be the way Ludii currently implements layers. However, when you get around to implementing 3D games, you will need to take a look at these 3D geometry relationships.
Best Regards,
Woody
Woody