Panel Creation File
The file dgnTiles.py creates the panels used as walls, ceilings, floors. Both ceilings and floors are just one big piece, which optomizes performance. This file works with dgnDungeon.py to create the dungeon.

This file is strictly for creating the geometry . . . . the walls, ceilings and floors. The walls are necessarily built using small individual squares, while the floors and ceilings are all one big piece, which optomizes the code. Another optomization is the wall tiles are all made based on their location, so rotation or translation is not necessary. Making rotation and translation unnecessary optomizes the performance.

Image not available

Because most of the bottom section of this code was taken from the Blender cookbook, I will not get into explaining it much, instead I am providing a link to the relevant page where I found the code.

image not available

Image not available