Pixel City - Procedurally generated city

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 685

  • @iamdivan7368
    @iamdivan7368 2 года назад +27

    This man really was great at videogames in much more ways than one.
    Rest in Peace, Shamus. Thank you so much for everything you've done

  • @vexfidel4127
    @vexfidel4127 2 года назад +24

    I found out about Shamus's passing yesterday. It's taken the better part of a day for me to process it.
    This was my favourite one of Shamus's projects, and I can't count how many times I fell asleep to this pretty little city wooshing around on the monitor nearby. In the middle of some really rough patches in life, it was comforting. I really should've told him thank-you or something.
    Thank you, Shamus. At the going down of the sun, in the morning, in light and in word, we will remember you.

    • @oxfordeducatedhighschoolhe6989
      @oxfordeducatedhighschoolhe6989 Год назад +4

      God Bless you.

    • @NeilRoy
      @NeilRoy 7 месяцев назад +1

      Oh wow. I used to watch a lot of his videos and websites on how he would program well over a decade ago. Didn't know he died! That's really sad. Thanks for letting us know. 😥

    • @DuneJumper
      @DuneJumper 5 месяцев назад

      Wow that's sad

  • @FishKungfu
    @FishKungfu 8 лет назад +57

    It's June 25, 2016 and I still love this.

    • @minkshaming
      @minkshaming 4 года назад +7

      It's January 17th, 2020 and i still love this.

    • @theshagidelicgamers4232
      @theshagidelicgamers4232 4 года назад +1

      @@minkshaming same

    • @samerm8657
      @samerm8657 4 года назад +2

      @@SquidsTv indeed! 😃

    • @EBTS-3
      @EBTS-3 4 месяца назад +1

      It's 2024 and I'm still visiting

    • @FishKungfu
      @FishKungfu 4 месяца назад

      @@EBTS-3 Holy cow, eight years later!

  • @Xires012
    @Xires012 8 лет назад +26

    I have been programming for nearly 30 years. This is still one of the most amazing things I've ever seen.

  • @firstpersonletsplays1141
    @firstpersonletsplays1141 9 лет назад +22

    I'm just picturing this kind of thing being used in an open world Rampage-style game, where you control a giant monster causing havoc in city after city to your hearts content.

  • @TheSolitaryEye
    @TheSolitaryEye 8 лет назад +81

    Traffic was moving. Immersion = ruined

  • @xCrossBite
    @xCrossBite 7 лет назад +41

    For those people looking for the program! - code.google.com/archive/p/pixelcity/downloads
    Give this comment a thumbs up so more people can find it, please.

  • @NekoiNemo
    @NekoiNemo 9 лет назад +51

    "Kinda pretty"?? Very pretty! Just take a panoramic shot of it and you got yourself very nice Deus Ex skybox!

    • @BNHSoftware
      @BNHSoftware 7 лет назад +5

      Or just port the whole thing into Deus Ex and use it as a skybox

  • @thomasgraham5840
    @thomasgraham5840 4 года назад +3

    having this as a screensaver made me want to take up programming as a kid

  • @Jender42
    @Jender42 13 лет назад +2

    This is the simplest, yet one of the coolest virtual cities I have ever seen. Now that is an achievement...

  • @davidsirmons
    @davidsirmons 10 лет назад +25

    If you could incorporate this into the Unity engine somehow, you'd likely make a killing. It takes tons of time to make cities by hand, and this procedural method would be a good seller. Believe it.

    • @davidsirmons
      @davidsirmons 10 лет назад +1

      Seriously consider making this for Unity. It would be incredibly useful for tons of game efforts.

    • @woodchoppers9663
      @woodchoppers9663 5 лет назад +1

      Mhm.

    • @rtxarkham8912
      @rtxarkham8912 5 лет назад +1

      yeah here I am watching this video to find a way to make it in Unity for my game. Wait for me bro

  • @onlyeyeno
    @onlyeyeno 4 года назад +10

    Oct. 2020 and still very pretty :)
    In my humble opinion this "city generation" in many ways still beats much that I have seen even now. Especially considering how "automatised" the generation appears and how "lean" the results appears to be. And if it's possible to "generalise" the "algorithms" I could well see this still worth while either as a plugin or a small standalone "city generator" for 3D modeling (and texturing)
    But realising that this is a more than 10 years old project, I'm well aware that the likelihood of happening is somewhere between zero and none :)
    Still if You didn't find any other "use" of it, I can report that "at least" it works very well as an "inspirational piece" to show what You can do if You can program.... (as well as You that is).
    And I actually came here after testing a "WebGL implementation" that credited this "piece" as it's inspiration.. So Yea.. :)
    Best regards.

  • @RubberRoss
    @RubberRoss 15 лет назад +16

    Best application I can think of this is for animation. City enviroments can be generally tedious to deal with.

  • @felynecomrade
    @felynecomrade 3 года назад +1

    "Have you ever stood and stared at it? Marveled at its beauty? Its genius? Billions of people just living out their lives. Oblivious."

  • @SiliconPrairie
    @SiliconPrairie 2 года назад +5

    RIP Shamus Young

  • @Benjuthula
    @Benjuthula 11 лет назад +8

    A superb effort - congratulations. Have you considered variety in the rooftops for helicopter pads, pools, ariels and gardens? Parks, malls and public transport might add to variety in the main streets..and finally historic and outliers would make the cityscape feel more matured and organic. But a fine return on 50 hours, very well done.

  • @johnmarston4012
    @johnmarston4012 3 года назад +3

    for something this old I'm very impressed even today

  • @theblackwidower
    @theblackwidower 10 лет назад +13

    Really good work. One problem: I don't think simple lights work that well for street lights and cars. Perhaps add simple models to go with them.

  • @neoaikon
    @neoaikon 15 лет назад +1

    I love the description, anyone with a basic knowledge of graphics programming should be able to produce similar results. Your results are wonderful! It'd be great for a flight sim, most just have flat textures for "cities".

  • @bnagybalint
    @bnagybalint 13 лет назад +1

    Nice work! You could even play with the arrangement of buildings with difference style and height as higher/newer buildings tend to be built close to each other (like a business district or something). Or you could create a random city grid with short and long streets. But this is a really amazing work!

  • @VladStaicu
    @VladStaicu 14 лет назад

    Awesome video, Shamus! I just read the entire series and downloaded it as my screensaver. I love your blog and your projects, keep it up.

  • @rne1223
    @rne1223 14 лет назад

    Amazing how little details makes the whole scene so much better. Thanks for the inspiration.

  • @Djungelurban
    @Djungelurban 15 лет назад +1

    Awesome stuff! Totally the way of the future. To hand make every single aspect of every single game is ludicrous, procedural generation is what's gonna have to take over a lot of the time. And this is another very important step towards that.

  • @allthatyousee18
    @allthatyousee18 15 лет назад +1

    This is amazing. I'm a first year Computer Science student, and this kind of thing really inspires me. I hope I could do something this cool one day.

  • @DrunkenDwarfIron
    @DrunkenDwarfIron 15 лет назад

    Dude. I'm beginning to study urban modelling for a PhD. Your program is bloody awesome. Better than many I've seen published in academic journals. Well done!

  • @tonyledford5323
    @tonyledford5323 7 лет назад +1

    This is a great demo. I like the high level overview steps. I'm learning opengl programming and something like this would be a good goal and I'd learn a lot about textures and stuff. Each step you did was a good next step in the evolution of the model. Your model doesn't really have to be anything, it's just an excellent example of what you can do when you set your mind to something.

  • @EvanHowell101
    @EvanHowell101 9 лет назад +1

    This is beautiful, the fact that it was 2009 makes it considerably more impressive.
    Oh Shamus, you shame us!

    • @letsdeduce
      @letsdeduce 9 лет назад

      Evan Howell Not really more impressive. An algorithm is an algorithm. It will still look good further down the road.

    • @Sicaine
      @Sicaine 9 лет назад

      Evan Howell what? We had already Quadcores in 2009. Why would you say something like this?

  • @whateverwhynosymbols
    @whateverwhynosymbols 13 лет назад +26

    You say "Release it as: Damn I have no idea what this is for"
    I say it's a demo. It is art, it is bragging rights, it is fairly awesome.
    I say release it at a demoparty.

    • @ChadDidNothingWrong
      @ChadDidNothingWrong 3 года назад +1

      Yeah I hear they have those in Finland and Norway when everyone isnt hibernating

    • @BlackStarEOP
      @BlackStarEOP 2 года назад +1

      @@ChadDidNothingWrong Revision in Saarbrucken Germany is basically the biggest demoscene only event.

  • @igotsomespace
    @igotsomespace 11 лет назад

    Amazing, had watched this video 8 months ago, spent 30 minutes going through bookmarks to try and find it again. Glad I did. So very inspiring.

  • @vmg89
    @vmg89 15 лет назад

    yeah it would be pretty cool to see, I'm still amazed on how much detail there is and made by just 1 guy.

  • @MadMullet81
    @MadMullet81 13 лет назад

    Its amazing the complexity you can get just from a simple set of procedures.

  • @russ838
    @russ838 8 лет назад +9

    Anyone got a copy of this tune? The "Around" by Oursvsince that I keep finding isn't the same as this one..

  • @HouseholdHacker
    @HouseholdHacker 15 лет назад +3

    SWEET program.

  • @jakeharmon1118
    @jakeharmon1118 10 лет назад +1

    It's the program Pixel City deserves... But not the one it needs right now.

  • @PixelOutlaw
    @PixelOutlaw 13 лет назад

    Great job with this project! People just don't realize how powerful procedural generation is. If you need a city simply have the computer do the work, things like this save quite a lot of disk space.

  • @tvastar
    @tvastar 12 лет назад

    I could imagine this in a city sim game, where you run a city, but you don't have to bother placing every building, the city build itself up, as you manage it. Or city simulator in a strategy game, where you don't want to spend time on macro management, you go to war or something like that., meanwhile your city grows.
    Fantastic work Shamus!

  • @Nanorobotic
    @Nanorobotic 15 лет назад

    That's awesome! Nevermind the screen saver, patent or copyright this thing (I dunno which you do for programs) and sell it to game developers. This takes the random level design to a whole new level. Nevermind a randomly generated dungeon, nevermind randomly placed enemies or weapons, imagine a free roaming game that put you in a new city EVERY TIME you played it! It could place new missions and everything at key points, you could save it until you finished that one and have it make a new one!

  • @JPDillon
    @JPDillon 15 лет назад

    Very cool Shamus! Can't wait for the screen saver to be posted.
    Everyone, go read the project notes on the twentysidedtale site. Very interesting!

  • @skaruts
    @skaruts 10 лет назад

    I envisioned a game in the style of Shadowrun being made out of this. Amazing work.

  • @1lapmagic
    @1lapmagic 12 лет назад

    Looks great. Love things with that hand-programmed touch that are graphically unique.

  • @DrNemmo
    @DrNemmo 10 лет назад +6

    This looks like the intro for Ghost In The Shell ! Yes. I like it. MOAR.

  • @antimundo2646
    @antimundo2646 8 лет назад +150

    Instructions unclear. Accidentally i cured cancer instead.

    • @nickvallejos5258
      @nickvallejos5258 8 лет назад +3

      Thank you? Lol

    • @lucie3d
      @lucie3d 7 лет назад +1

      Isn't it a dead meme ?

    • @monomii2841
      @monomii2841 7 лет назад +3

      "Accidentally i cured cancer"
      good grammar

    • @elbretto6062
      @elbretto6062 5 лет назад

      @@monomii2841 Great comment

    •  5 лет назад +1

      @@elbretto6062 it could be a standard douche comment on the interwebs or... or it could be a very cool inside joke, as the buildings here are probably generated using proc gen grammar, so, if you actually used those grammars to cure cancer they would, indeed, be an example of VERY GOOD GRAMMAR! Maybe I try too hard to see the good in people, what do I know :)

  • @tribemaster101
    @tribemaster101 9 лет назад +6

    You could pull a really neat game out of this. If I were you, I'd be making it as we speak.

    • @protheu5
      @protheu5 8 лет назад +1

      +Helder de Vontaire What sort of game are you talking about? There is no gameplay unless you suggest some. This procedural city is only good as a screensaver or a city for a flight simulator.

    • @tribemaster101
      @tribemaster101 8 лет назад

      Aidar K
      An rpg, for instance. Or, pursuing and destroying cars in an arcade style racer. Idk, that's up to the creator.

    • @protheu5
      @protheu5 8 лет назад

      Helder de Vontaire This particular generated city doesn't have any considerable amount of detail for an RPG or a racing game. It looks good only from a distance. You don't want to walk around cubes with blurry textures and moving light sprites.

    • @tribemaster101
      @tribemaster101 8 лет назад

      Aidar K
      Well, it's just the base. Obviously you gotta improve it.

    • @protheu5
      @protheu5 8 лет назад

      Helder de Vontaire My point was that you don't build a game around some background, you have a game idea, a gameplay and create a background around it.

  • @jaybruce593
    @jaybruce593 8 лет назад

    Hi Shamus - "Pixel City" is an incredible piece of work, really well done...

  • @CosmicD
    @CosmicD 15 лет назад

    this is truely hitting close to my soul. Its a contrast between our abilities and the computer's. NOt to mention that it has a high production efficiency boost and if done with high end quality in mind, could generate entire virtual cities for movies or games. Spore is a game that already endeavors on this.
    Imagine if something like terragen and pixel city could be used simultaneously to create huge city worlds :)

  • @Jugglerman
    @Jugglerman 15 лет назад +1

    Very awesome, can't wait for the demo of this. It looks very realistic (which is kind of scary when you think about it....)

  • @Raystm2
    @Raystm2 8 лет назад +6

    this would be clever as scenery in an open source flight simulator, like flightgear

  •  12 лет назад

    Would add randomly generated advertising panels, displays(dynamic), texts in limited level of height. Another thing: making some logical "landscape" of buildings. There could be random placement of "downtowns" where buldings make hills. But not absolutely random, but slightly growing to the center. And those adwertisings I mentioned before, could become more concentraded in the downtown "hill" then around lower buildings.
    Make gradients to vertical unwindowed strypes - upward illumination.

  • @superb150
    @superb150 11 лет назад

    Mostly because the concepts of the games that used the equations was limited, but check for example the game ELITE that's being developed, it's pretty amazing how they are reviving the procedural generation in a new and fun way :)

  • @youmayfindithere
    @youmayfindithere 15 лет назад +1

    You've managed to evoke a city very well with the minimum details. Conservation of detail at its finest.

  • @N8north
    @N8north 15 лет назад

    Some of these video responses are pretty amazing as well

  • @vimesx
    @vimesx 12 лет назад

    Best video I have seen this year. This is amazing.

  • @morco83
    @morco83 14 лет назад +1

    That's very impressive, both the coding and the video. Good job!

  • @TheRealNici
    @TheRealNici 13 лет назад

    This is amazing. I first heard of shamus young when he wrote articles for the escapist, but I didn't know that he was a coder.

  • @funmeister
    @funmeister 13 лет назад

    Impressive. Reminds me of Greeble, only different and really cool in its own way.
    More than a screensaver, this can be a tool that saves thousands of man hours in game, art and other contextual applications.

  • @JetSimon
    @JetSimon 2 года назад +6

    RIP

  • @ElMesaMola
    @ElMesaMola 11 лет назад

    Screensaver? No man, just pure inspiration to gamedevelopers wannabes like me. Glad you shared this. Thanks mate.

  • @OvaltinePatrol
    @OvaltinePatrol 15 лет назад

    This is very cool, folks should check out the article series explaining how he put it all together.

  • @Tyshark9
    @Tyshark9 10 лет назад

    Damn, that's very impressive! you could probably use this as a tool to create many different levels and they wouldn't even have to be cities of buildings.

  • @YukonExpatriate
    @YukonExpatriate 15 лет назад

    Beautiful to finally see it in motion Shamus!

  • @MartyJames23
    @MartyJames23 6 лет назад +1

    You guys can check out his blogs, he is remaking this in Unity.

  • @KlayySOC
    @KlayySOC 15 лет назад

    procedurally generated maps for mirror's edge would be awesome :)
    and yes, I am well aware that it is well beyond the scope of this project, but I thought of it when I read step 7.

  • @richardtibbitts3841
    @richardtibbitts3841 10 месяцев назад

    This was excellent! Sorry you're gone.

  • @NeilRoy
    @NeilRoy 12 лет назад +1

    Very nicely done! I want to do an outdoor nature style generator, like this, but with all organics, trees, lakes, rivers, Maybe with roads and small towns or ruins. You should make this so it is a world that is of unlimited size, so it generates the world as you travel. Make it so a seed for the RNG can be input and you always see the same world, but it generates it in sections as you travel. Work on an indoor generator so buildings can be explored too. Nice work anyhow!

  • @svensbasteltisch
    @svensbasteltisch 12 лет назад

    Remembers me a little bit on Dark City. Respect for your coding capabilities.

  • @SweRaider1993
    @SweRaider1993 8 лет назад

    With procedural planets becoming the norm for space sims (Star Citizen, Elite Dangerous, No Man's Sky, Infinity Battlescape, etc.) this is the next step :)

  • @Justinbond29
    @Justinbond29 15 лет назад

    I was reading his posts as he made this. He actually spent a while making some more complex AI for the cars, but scrapped it because the extra work wasn't really that noticeable, and took too much processing power (not to mention time needed to program proper movement patterns for cars).
    Some fast-moving sirens would be interesting, but I think he wants more attention paid to the high-up buildings than the street-level details. Still, it'd be cool to see.

  • @honse246
    @honse246 3 года назад +1

    going through my old bookmarks and found this and just realizing this is originally why i subscribed to you haha

  • @Portablet2
    @Portablet2 12 лет назад

    This is pure beauty. No other words for it.

  • @Somtaaw7
    @Somtaaw7 15 лет назад

    Until I started learning programming I never appreciated how long things like this took. Good job.XD

  • @VulpisFoxfire
    @VulpisFoxfire 15 лет назад

    Beautiful work. What the people complaining about lack of features/detailing and such fail to realize is that this is fundamentally a weekend (well, long weekend anyway. ;-) ) hack to demonstrate the technique, and isn't *meant* to be a fully-fleshed out work. Still...makes you wonder what game programmers keep spending years on, you know? :-)

  • @ErgonomicChair
    @ErgonomicChair 8 лет назад

    If the buildings can have bouncing boxes applied to them, this could be used to QUICKLY create flight simulators, or old Armored Core like games ixnay the fake vehicle dots. It wouldwork pretty neat for low intensive graphics projects and independent devs if they can set their own height maps too and it could work around height maps.

  • @apalanka0
    @apalanka0 15 лет назад

    Awesome, you should release a demo with it , the demoscene comunity will be very grateful.

  • @BOLL7708
    @BOLL7708 11 лет назад

    w00t... how funky. I found your channel by the Rage mega-texture reset-button video after searching for more videos of Carmack showing off the Rift prototype. Then as I decided this was interesting I pressed PLAY ZE ALLZ! The fun part is, I've seen this video before :D Stuff like this has happened to me a few times now, bumping into old videos I had no idea what they belonged to before, haha. It's always a bit odd and fascinating. Thanks for nice videos :D

  • @fernwood
    @fernwood 15 лет назад

    Wow, this would be quite an amazing screensaver.

  • @rock00dom
    @rock00dom 9 лет назад +1

    That's it, I absolutely must program this!

  • @MrC0MPUT3R
    @MrC0MPUT3R 8 лет назад +20

    Instructions unclear. Accidentally built a shelf instead.

  • @shoseki
    @shoseki 15 лет назад

    Step 7 : You post this on the internet, together with an up to date CV and you start applying to game companies.
    Its a nice demo and I'm sure will generate interest.

  • @Volatar
    @Volatar 15 лет назад

    As the company representative for Monolith Enterprises Unlimited, I salute you for your awesomeness.

  • @tsartomato
    @tsartomato 9 лет назад +17

    would be superhard to make european city

    •  9 лет назад +5

      tsartomato Yup, you would have to model history and have that affect the evolution of the city. Not impossible but very tough indeed.

  • @TripleBarrel06
    @TripleBarrel06 15 лет назад

    Dang this is so good! seems useful for scene fillers in games too. I was watching and wondering why this seemed so familiar, and realised that an Xbox Live Arcade minigame called "Boom Boom Rocket" uses panning through a city just like this, but I think it was Sydney though, because the Opera House was visible in one song.

  • @Croatianraider
    @Croatianraider 15 лет назад

    Very awesome.
    And I would actually love to have this demo be my screensaver. It's quite mesmerizing.

  • @ununium
    @ununium 13 лет назад

    Awesome work! Love how it looks so real but still its randomly generated.
    My only critic is the street lights. They are too close from each other and there is no random factor in them. Perhaps some spacing and some light emission at different hues or intensity would definitively look better.
    Love your ideas and videos!. Keep the great work!

  • @iljadenisovs4659
    @iljadenisovs4659 2 года назад +4

    Still impressive.

  • @Piliponful
    @Piliponful 9 лет назад +10

    this is the 2015 and it is stil awsome mate!

  • @Lethn
    @Lethn 12 лет назад

    Must learn how to do this, this kind of stuff is what's inspiring me to learn OpenGL.

  • @Ploskkky
    @Ploskkky 11 лет назад

    Fascinating.
    I would love a little program that procedurally generated cities just for the fun of it.

  • @zapwow
    @zapwow 15 лет назад

    I enjoyed following your progress on this. Fantastic work.

  • @LordMcGray
    @LordMcGray 14 лет назад

    Definitely release this as a screensaver, I would love this on my desktop!!

  • @drwalen
    @drwalen 13 лет назад

    you can add some street lightings, neons on walls of buildings and anti air crush marking lights on top of higher buildings - it should look more realistic.
    but now this is amazing ;)

  • @HerrBlonde
    @HerrBlonde 15 лет назад

    The last step clearly reflects the nature of us computer geeks: we do cool things and then ask ourselves what they can be used for. Imagine what we could do with good ideas in our hands.

  • @thecriticallyilldrinker6214
    @thecriticallyilldrinker6214 7 лет назад

    Just found this. Makes me think of Syndicate Wars. I think it's the textures on the buildings.

  • @Isiahkan
    @Isiahkan 15 лет назад

    Agreed. This would be so cool as a screensaver.

  • @matthew798
    @matthew798 8 лет назад

    This is really cool! Looks like it could have been used for older shows like Law and Order, you know, to make the intro video!

  • @goodgoodgoodful
    @goodgoodgoodful 13 лет назад

    if the lights can be animated using musical input, this can make a great music visualization. kind of a disco city.

  • @ThePCSnob
    @ThePCSnob 11 лет назад

    Shamus left the source code available for free. If you want you could probably take it and make a screensaver out of it, though it'd take some code-savvy. The code was even taken outright and made into an app.

  • @Darkfrost101
    @Darkfrost101 15 лет назад

    Holy crap dude, You wrote this in FIFTY hours?
    You're a genius.

  • @Vampier
    @Vampier 14 лет назад

    nice demonstration how to build a nice looking city with some 'easy' building blocks.

  • @Techischannel
    @Techischannel 8 лет назад +1

    The City looks like its taken out of a Distopian Cyperpunk Age ... and i must admit i like that the most ... here take a like.

  • @przemekk810
    @przemekk810 11 лет назад

    Thank God, there are still people who create such things : a one man solutions, people who create such things for joy to show that it is possible :)