Magnetoculus Database Builder
Construction de bases de données pour Magnetoculus
|
Functions | |
def | RegisterRGCity (session, engine, filename, type) |
Register a RandomlyGenerated city described by a .txt file into the database. More... | |
def RGCityRegister.RegisterRGCity | ( | session, | |
engine, | |||
filename, | |||
type | |||
) |
Register a RandomlyGenerated city described by a .txt file into the database.
The RandomlyGenerated format consists of a building footprint on each line, plus the building height. Thus we create a polygon for each wall of the building, and a roof. On the first line of the file there four vertices that define the city area, we use that to create a floor for the city. There are no texture information.