Code Monkey home page Code Monkey logo

Comments (6)

skairunner avatar skairunner commented on May 11, 2024 1

Going with #1 with an eye towards making it less artificial sounds like the right choice here.

from egregoria.

Uriopass avatar Uriopass commented on May 11, 2024

What do you mean less artificial ? Find a way to make the zones less rectangular ? My guess is since this is just for zoning, you end up not seeing it on the map since buildings inside those rectangles can have any shape.
Here's a screenshot from C:S, notice how you can't see the grid:

suburbs

I do agree I think I'll go with n°1

from egregoria.

skairunner avatar skairunner commented on May 11, 2024

from egregoria.

Uriopass avatar Uriopass commented on May 11, 2024

From the thread:

This system is completely viable, and could work just fine code-wise (I have spent approximately 200 hours reading through the source and modding for C:S). The lot-generation is likewise pretty trivial, as there are lots of real life papers and information on how to generate them (My major in college was Land Surveying and Civil Engineering).

I wish they'd left a link to those amazing papers !
EDIT: found this in the meantime which I'll have to read some day.

I point my finger at Cities XL where you could just choose from a variety of plazas and fill spots in dire need of beautification.

I think I have to get a look at Cities XL too

Transport Fever doesn't use predefined grids, but uses an algorithm to offset an imaginary grid parallel to the road, meaning that when you select a lot the outline has the same bend as the road. That allows for more space efficiency and a general better look.

And transport fever, which I actually have but didn't get to play it yet

I also need to change my vocabulary:

Parcel: Zone between roads
Lot: Zone where a building/house can be placed

from egregoria.

Uriopass avatar Uriopass commented on May 11, 2024

Quick update;
Looked at Cities XL and the zoning is entirely manual, you chose from differently sized lots and just place them.
They also have an advanced algorithms for filling parcels with roads and zones which looks pretty cool but is super out of scope.

Looked at transport fever, which has a "place city" town as it's a game focused on transportation and not on city management. However I couldn't see anything related to zoning, they just have a cool city generator I guess.

In the end, I think I'll go the C:S route and plop some rectangles with some funky heuristics.

from egregoria.

Uriopass avatar Uriopass commented on May 11, 2024

Looks good to me with the map of Paris:
image

And with some curved roads:
image

from egregoria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.