Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Procedural city (gamma corrected)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,499
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 12, 2008

Test run of procedural content creation.
The terrain and its texture are randomly generated using libnoise, the city layout is generated according to the terrain and the higher buildings are built using branching tilesets.

next : addition of unique buildings, roads and lappost, building selection, not just placement, according to the terrain and city-zones(i.e. docks besides the water)

the framerate of the unoptimized debug version, when there is no recording application running in the background, is around 180-200fps at 1280x1024 on a (single core) Athlon XP 2600+/nVidia 7800GS, rendered using Ogre3D in Linux.

To clear things I've been asked about up, here is how the city is built :

The terrain and its texture are procedural. If no seed is provided I use the time function to generate a new one using a libnoise pipeline. It is generated at runtime

The city layout is random, but adapts to the topology of the terrain. The city has a freely definable core with higher buildings. outside the core the buildings get smaller and smaller until only low level buildings are used.

The Buildings are semi-procedural. The low level ones are single objects, Everything that's higher than one level is built using tiles. The tiles are described in an XML file which also sets branching options. For example : one of the base is slightly S-shaped. it can keep its shape up to the top, or branch off in 3 possible styles, one of which looks like two big towers. this particular segment tile can branch off again so that one of the tower stops and only the second keeps growing.
When and how a particular building branches off is also random/seedable.

Music is Ghost I, track 3 by NIN

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Top Comments

  • Pros:

    nice technology.

    Cons:

    Most annoying sound track ever.

    it distracted me from the video and eventually made me stop.

    Even the mute sound button didn't interest me at that point :)

  • God I despise 009 sound system. Stop picking the first thing in the list.

see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • your algorithmic work seems quite interresting, but it's a shame the video quality is too poor! Pls, post another video not so dark...

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more