Thursday, October 23, 2008
More Automatic City Generation
I'm still playing with my city generator. I now segment the city into districts of different types, resulting in a more diversity. I also have traffic moving around, path-following through the streets and obeying traffic lights. Fun stuff.
For car dynamics, I'm using the Farseer physics engine - a fully managed codebase that is really easy to integrate with XNA.
Subscribe to:
Post Comments (Atom)
I love how this looks - any chance of a very high-level description of how you divide up the city into blocks?
ReplyDeleteHi Mark - the devil is very much in the details, but the main technique is polygon subdivision. I start with a polygon that encapsulates the entire city, and I recursively slice things up smaller and smaller.
ReplyDeleteHey, I was wondering, what happened to this project? You no longer made any mention of it? Have you completed it, abandonned it? I am working on something similar in my free time (albeit less successfully) so I would love to see yours finished!
ReplyDeleteHi Alex - the project is currently on the backburner, but I do plan to revisit it at some point. I'll post about it when I do.
ReplyDelete