5 ms·
CityDreamer: Compositional Generative Model of Unbounded 3D Cities
- mycall 3y agoDoes anyone use these generative city modeling compositions that align to a vector base map of actual cities? It would be fun to see these 3D cities as fictional versions of known locations. I could see city planners use it for "what-if" scenarios.
- PaulHoule 3y agoAn awful lot of cities have a "digital twin" of some sort in the planning department and frequently the data is public. It would be pretty neat to be able to work from this material.
- dagw 3y agoAn awful lot of cities have a "digital twin" I work in the field, and the truth is that an awful lot of cities _claim_ to have a digital twin. When what they actually have us a big pile of random GIS data and some 10 year old 3D models someone made once and never updated.
- lukasgraf 3y agoCityEngine [1] does that. It's a procedural city generation engine first presented at SIGGRAPH 2001, by Procedural Inc., an ETH Zürich spinoff that was later acquired by ESRI (ArcGIS). At its core is a shape grammar based on L-Systems [2] that is used to define how a road network is subvided into lots, then buildings etc.. with increasing level of detail and contextual constraints. You give it a vector road network and the grammar rules, and it subdivides it spacially into e.g. Lots > Buildings > Roofs > Stories > Facades > Windows > Frame > Glass pane > Ledge etc., according to the desired level of detail. Context dependent rules control that e.g. doors may only be placed on the ground floor, or the the roof goes on top of the top floor. The original paper and presentation at SIGGRAPH described the simplicity of the core idea quite beautifully, but I'm having a hard time finding them now. This old tech demo video [3] should give an idea of how it works though. [1] https://en.wikipedia.org/wiki/CityEngine https://en.wikipedia.org/wiki/CityEngine [2] https://en.wikipedia.org/wiki/L-system https://en.wikipedia.org/wiki/L-system [3] https://www.youtube.com/watch?v=SxyOTUzm2qw https://www.youtube.com/watch?v=SxyOTUzm2qw
- andybak 3y agoSounds like an implementation of a Shape Grammar: https://en.wikipedia.org/wiki/Shape_grammar https://en.wikipedia.org/wiki/Shape_grammar with some geospatial hooks. Shape Grammars are interesting. Closely related to L-systems but usually with a more approachable syntax. Also see https://github.com/stefalie/shapeml https://github.com/stefalie/shapeml
- lainga 3y agoThis is kind of weird tying-together comment, but Townscaper (referenced in btbuildem's comment []) was partly inspired by an (deterministic non-NN) application, which the creator was working on for someone else, that did just that. I can't find the tweet, but if you go back through @OskSta's history, he discusses it. [] https://news.ycombinator.com/item?id=37466936 https://news.ycombinator.com/item?id=37466936
- zimpenfish 3y agoHe covers his work on "Night Call" which was generating Paris on-the-fly from about 8:15 to 13:30 in https://www.youtube.com/watch?v=5xrRTOikBBg https://www.youtube.com/watch?v=5xrRTOikBBg
- tetris11 3y agoThe actual gallery: https://infinitescript.com/project/city-dreamer/ https://infinitescript.com/project/city-dreamer/ Youtube video: https://www.youtube.com/watch?v=te4zinLTYz0 https://www.youtube.com/watch?v=te4zinLTYz0 Thoughts: I'm probably missing it, but SceneDreamer looks like it generates geometries on the fly as the viewer walks through the city, and CityDreamer looks like it generates a whole real city first and then lets the user walk through it. I'm wrong, right?
- deleted 3y ago[deleted]
- coldcode 3y agoWhat would be fascinting is to combine City Skylines 2 (if it had some kind of API which it doesn't) with a model generator like this. CS2 already has all of the necessary graphic elements and positioning, just not the automated design logic.
- btbuildem 3y agohttps://www.townscapergame.com/ https://www.townscapergame.com/ does a great job of this, even if the agglomerations it produces are more cartoony than not. For me, this is a really good example of a generative approach: basic rules with well-tuned interactions, producing a great range of complex outcomes that are all coherent despite a large variety of actual layouts.
- Cognitron 3y agoOskar Stålberg has some great talks on YouTube about how the systems in Bad North and Townscaper work. https://www.youtube.com/watch?v=0bcZb-SsnrA&list=PL-YtA8ie-DQGXT-4X2QM3ff6cN-A01tb4 https://www.youtube.com/watch?v=0bcZb-SsnrA&list=PL-YtA8ie-D... https://www.youtube.com/watch?v=6JcFbivo8dQ&list=PL-YtA8ie-DQGXT-4X2QM3ff6cN-A01tb4 https://www.youtube.com/watch?v=6JcFbivo8dQ&list=PL-YtA8ie-D... https://www.youtube.com/watch?v=5xrRTOikBBg&list=PL-YtA8ie-DQGXT-4X2QM3ff6cN-A01tb4 https://www.youtube.com/watch?v=5xrRTOikBBg&list=PL-YtA8ie-D... https://www.youtube.com/watch?v=Uxeo9c-PX-w&list=PL-YtA8ie-DQGXT-4X2QM3ff6cN-A01tb4 https://www.youtube.com/watch?v=Uxeo9c-PX-w&list=PL-YtA8ie-D...
- DonHopkins 3y agoHere's some comments and links about Wave Function Collapse I wrote recently: https://news.ycombinator.com/item?id=34561910 https://news.ycombinator.com/item?id=34561910 [...stuff about SandSpielStudio and block visual programming languages like Scratch and Snap!, Long Now talk between Will Wright and Brian Eno about Cellular Automata, etc ...] The other really cool rabbit hole to explore for generating tiles and even arbitrary graph based content (I'm sold: hexagons are the bestagons!) is "Wave Function Collapse", which doesn't actually have anything to do with quantum mechanics (it just sounds cool), but is actually a kind of constraint solver related to sudoku solvers. https://escholarship.org/content/qt3rm1w0mn/qt3rm1w0mn_noSplash_f68c38783c93e2a50047925fa9471286.pdf?t=qwgn02 https://escholarship.org/content/qt3rm1w0mn/qt3rm1w0mn_noSpl... Maxim Gumin's work: https://github.com/mxgmn/WaveFunctionCollapse https://github.com/mxgmn/WaveFunctionCollapse Paul Merrell's work: https://paulmerrell.org/model-synthesis/ https://paulmerrell.org/model-synthesis/ https://paulmerrell.org/research/ https://paulmerrell.org/research/ Oskar Stålberg's work: https://twitter.com/OskSta/status/784847588893814785 https://twitter.com/OskSta/status/784847588893814785 https://oskarstalberg.com/game/wave/wave.html https://oskarstalberg.com/game/wave/wave.html There's a way to define cellular automata rules by giving examples of the before and after patterns, and WFC is kind of like a statistical constraint solving version of that. So it's really easy for artists to define rules just by drawing! Not even requiring any visual programming, but you can layer visual programming on top of it. That's something that Alexander Repenning's "AgentSheets" supported (among other stuff): you could define cellular automata rules by before-and-after examples, wildcards and variables, and attach additional conditions and actions with a visual programming language. AgentSheets and other cool systems are described in this classic paper: “A Taxonomy of Simulation Software: A work in progress” from Learning Technology Review by Kurt Schmucker at Apple. It covered many of my favorite systems. http://donhopkins.com/home/documents/taxonomy.pdf http://donhopkins.com/home/documents/taxonomy.pdf Chaim Gingold wrote a comprehensive "Gadget Background Survey" at HARC, which includes AgentSheets, Alan Kay's favorites: Rockey’s Boots and Robot Odyssey, and Chaim's amazing SimCity Reverse Diagrams and lots of great stuff I’d never seen before: http://chaim.io/download/Gingold%20(2017)%20Gadget%20(1)%20Survey.pdf http://chaim.io/download/Gingold%20(2017)%20Gadget%20(1)%20S... Chaim Gingold has analyzed the SimCity (classic) code and visually documented how it works, in his beautiful "SimCity Reverse Diagrams": >SimCity reverse diagrams: Chaim Gingold (2016). >These reverse diagrams map and translate the rules of a complex simulation program into a form that is more easily digested, embedded, disseminated, and and discussed (Latour 1986). >The technique is inspired by the game designer Stone Librande’s one page game design documents (Librande 2010). If we merge the reverse diagram with an interactive approach—e.g. Bret Victor’s Nile Visualization (Victor 2013), such diagrams could be used generatively, to describe programs, and interactively, to allow rich introspection and manipulation of software. >Latour, Bruno (1986). “Visualization and cognition”. In: Knowledge and Society 6 (1986), pp. 1– 40. Librande, Stone (2010). “One-Page Designs”. Game Developers Conference. 2010. Victor, Bret (2013). “Media for Thinking the Unthinkable”. MIT Media Lab, Apr. 4, 2013. https://lively-web.org/users/Dan/uploads/SimCityReverseDiagr https://lively-web.org/users/Dan/uploads/SimCityReverseDiagr... [... stuff about AgentSheets, KidSim, Lex Fridman interviews of Michael Levin and Steven Wolfram discussing Cellular Automata, CAM6 simulator, etc ...] More: https://news.ycombinator.com/item?id=34561910 https://news.ycombinator.com/item?id=34561910
- jalino23 3y agothis is so cool!
- TZubiri 3y agoI just dreamed of a city on the shore. I even backtraced it and found a structure I had passed. My brain is pretty good at this.
- wolverine876 3y agoFor low-level (i.e., trees-not-forest) visuals - e.g., where the user can see a block or two from street level - why not use real cities? Don't identify the place, change the names, remove anything especially identifiable (e.g., Eiffel Tower in background), and nobody will know. Someone who lives on that block might find a cool Easter Egg for themselves.
- aabhay 3y agoProcedurally generated environments require very, very little storage space (you essentially need to store a few hundred seeds and parameters) and for most games nowadays, storage is actually the biggest bottleneck of all (not just HDD but temporary buffered storage). Procedurally generated environments basically approach Kolmogorov-optimal compression for a given domain, without any loss of fidelity when done well. And the generation itself is usually not more computation than the polygon rendering.
- wolverine876 3y agoYes, of course. Thanks.
- Animats 3y agoThe images are all tiny, or, in the video, spinning, so you can't easily see how bad they are. It's not that hard to procedurally generate aerial views of cities. Generating a street scene you can walk through is much harder. Generating one where you can go inside the buildings has only been done once that I know of, and there wasn't much interior detail. That makes sense; if you put Google Earth in, you get Google Earth like imagery out. Something that took in StreetView and made storefronts would be interesting. What's impressive about the current Google Earth is that it's good at extracting and texturing vertical buildings. Look at a big city with densely packed tall buildings and look down into an urban canyon. It does a good job, at least until there's some overhang such as a canopy or an underpass. That kind of processing is now open source. Open Drone Map can take drone images and construct a textured 3D model. It's surprisingly good at this.