The International Simutrans Forum

 

Author Topic: The Procedural City  (Read 2561 times)

0 Members and 1 Guest are viewing this topic.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
The Procedural City
« on: May 10, 2009, 04:12:17 PM »
Great blog series of articles about procedurally generating cityscape at night. Perhaps it isn't loaded with technical gems you could take and use straight away in Simutrans, but... I really liked the narrative style and read through the whole series. And (imho) it's somewhere between extensively technical and "for dummies", readable by both groups.

http://www.shamusyoung.com/twentysidedtale/?p=2940

I haven't checked the rest of the blog, but it seems more goodies hide inside :)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9460
  • Languages: De,EN,JP
Re: The Procedural City
« Reply #1 on: May 10, 2009, 08:58:53 PM »
One the last page there is a download for the screensave, which even runs on this machine with no real 3D accelleration but the onboard chip ... very impressive.

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3649
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: The Procedural City
« Reply #2 on: May 10, 2009, 09:59:41 PM »
That was rather an awesome read, especially for me as I continue down the path of becoming a programmer :) Thanks!

Fred

  • Guest
Re: The Procedural City
« Reply #3 on: May 11, 2009, 03:47:36 AM »
Very interesting.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: The Procedural City
« Reply #4 on: May 11, 2009, 10:33:08 AM »
PS: found through Hacker News. Give that a try, too, but the pace of adding (and disappearing) news is ruthless ;)

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Re: The Procedural City
« Reply #5 on: May 16, 2009, 05:30:06 PM »
A video with the whole process and the final release: http://www.youtube.com/watch?v=-d2-PtK4F6Y&showinfo=0

Offline Kristian

  • Devotee
  • Administrator
  • *
  • Posts: 140
    • economistatwork.com
Pixel city
« Reply #6 on: May 25, 2009, 08:05:55 AM »
This is a video of a dynamically generated city. It's quite nice, actually:
http://www.youtube.com/watch?v=-d2-PtK4F6Y

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Re: Pixel city
« Reply #7 on: May 25, 2009, 08:11:51 AM »
We already talked about this method at this topic, with a link to that video at the end of the thread... :)

Offline Ashley

  • Coder/Patcher
  • Devotee
  • *
  • Posts: 1288
    • entropy.me.uk
Re: The Procedural City
« Reply #8 on: May 25, 2009, 08:48:28 AM »
I wonder how hard it'd be to make it look good in daytime, would likely be a lot more difficult since there's a lot more detail required. Could definitely be used as a basis for generating graphics for a game though, would save a lot on storage of graphics (especially if you used some kind of code to represent a particular building, so that it could be exactly duplicated when you reload the game...)

Offline Kristian

  • Devotee
  • Administrator
  • *
  • Posts: 140
    • economistatwork.com
Re: Pixel city
« Reply #9 on: May 25, 2009, 09:09:04 AM »
Ah, I searched for such a topic, but couldn't find it.. Let me merge this then. :)


Edit: perhaps that wasn't such a good idea, but awell.
« Last Edit: May 25, 2009, 09:13:48 AM by Kristian »

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Re: The Procedural City
« Reply #10 on: May 25, 2009, 09:10:23 AM »
In that case I guess it depends if the building generation algorithm is deterministic or not, I mean if you always get the same results from the same starting set of data.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: The Procedural City
« Reply #11 on: May 25, 2009, 12:43:30 PM »
Just so that you know: We already have something remotely similar in Simutrans - the number of map is seed for perlin noise prng that creates the whole map terrain from it. So it's also procedurally generated :)

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Re: The Procedural City
« Reply #12 on: June 21, 2009, 10:46:43 PM »
I've found this amazing website about a next-gen modular and procedural system for city generation.The video at media section is even more incredible than the previous one posted. It shows that the engine also supports procedural destruccion and buildings with fully exploarable interiors (procedurally generated too, I guess)

The website is http://www.proceduralcity.com/

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4083
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: The Procedural City
« Reply #13 on: June 21, 2009, 10:56:27 PM »
I don't know why, but the word "Matrix" came upon my mind.

(

>_>

<_<

hmmm...!)


Changing avatar....



« Last Edit: June 21, 2009, 11:01:44 PM by IgorTekton »

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3649
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: The Procedural City
« Reply #14 on: June 22, 2009, 04:29:19 AM »
That is truly amazing.

I so seriously want to play.....

One of my favorite things about GTA:SA was that you could just... explore.

WANT.

(and then let's talk Prissi into rewriting Simutrans using their engine... <g,d,r>)

Offline Spike

  • *
  • Posts: 1361
  • First Simutrans Developer and Graphics Artist
Re: The Procedural City
« Reply #15 on: June 22, 2009, 08:27:35 AM »
http://www.proceduralcity.com/

Amazing. For an old project of mine I really would have needed that - space colonies rather than cities, but it's close enough. Ah well. Maybe when I retire from work and have time again for private projects ;D