Procedural Generation of a Cityscape – Fly-Away Controls

I have managed to implement simple ‘fly-away’ controls for the camera. This is just to make it easier when exploring the city and to monitor the outcome. Clamps have been implemented on the Y axis to stop the user being able to rotate the whole way around, this will come in useful when the camera view is changed to be first-person with gravity.

Before I change it to first-person I will looking into adding in some kind of algorithm to consider a ‘centre’ of the city. This will add in a percentage chance of picking out each type of building (Large, Medium and Small) so that Larger buildings are more congregated towards the middle of the centre whereas the smaller buildings will appear more towards the edges of the city.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s