Week 5


Week 5

Here is my new code to generate buildings. On each loop the function has a chance to create something other than the regular cube building.

In the future I can expand this functionality to create new building types such as parks or different style skyscrapers.

Additionally, I have removed this function from its clas as the class served no real purpose.


I am working on generating more intricate skyscrapers so I have added subdivisions to the buildings. The number of divisions changes based on height. This has broken the street generation code which uses the same face for extrusions.

An example building made by me:


To Do:

  • Fix street code
  • Create various buildings
  • Place cars in city

Leave a comment

Log in with itch.io to leave a comment.