Week 2
Maya Scripting - City Generation » Devlog
Week 2
Following on from last week I will continue with building generation. I will implement a function that takes user input for min and max building heights.
Here is the interface for controlling building height.
Building generation code.
Next I import my car generation code which I wrote last term and modified it to work with my existing script.
Here is a picture of the cars placed in the city. I created some roads with polyCube's to get an idea of how I want the streets to look.
Next I worked on the coordinate system to make the grids conform to both positive and negative coordinates.
Here is the code that mitigates the error when using negative coordinates.
To Do:
- Create street and pavement generation code
- Place cars in city
- Give more control to user ( number of cars etc.)
Maya Scripting - City Generation
Status | In development |
Category | Other |
Author | up2115462 |
Leave a comment
Log in with itch.io to leave a comment.