GithubHelp home page GithubHelp logo

Comments (6)

Cervator avatar Cervator commented on June 3, 2024

Good timing! Not only do we like this idea, we've already worked a little on it in the past, or more specifically @skaldarnar has over at https://github.com/Terasology/GrammarSystem and https://github.com/skaldarnar/PAG

Both of those are a fair bit dated by now but should prove some good review material. And on top of that @skaldarnar just ended up with a bit of free time and started clearing out the dust a bit. He was working with another grammar-interested dev last time around so I'm sure he'd love the chance to discuss ideas and implementation again :-)

from cities.

skaldarnar avatar skaldarnar commented on June 3, 2024

Hey @kabbi, I'm reading the blog for some time now, I think that was one of my initial sources to get started - along with all the scientific papers available on the topic.
I started to play around with a Scala-based implementation of the grammar system, just for the fun of it. Where I left off in the old system was the implementation of different shapes and how to handle transformations, such as rotations and scaling. In the end, some kind of rasterization is needed to turn the grammar shapes into blocks...
I would be happy to hear your thoughts on this, it would be great if we could coordinate to work together on this as I think working out a grammar system becomes more usable if there's a second pair of eyes having a look at it.

from cities.

Cervator avatar Cervator commented on June 3, 2024

Yeah grammar in particular probably needs more eyes - that stuff can get confusing :D

from cities.

kabbi avatar kabbi commented on June 3, 2024

Ok, let me have several days (or even a week) to look through all the papers, your modules and source code (I really want to play with it, if it compiles ok), and I'll post my ideas here. Or is there some better place for such discussions?
Anyway, thank you for your fast response!

from cities.

skaldarnar avatar skaldarnar commented on June 3, 2024

Better places for general discussion would be the IRC chat or the forums. I'd like to keep GitHub for discussion source code, e.g., pull requests or some gist snippets.

I'm pretty sure the old module won't compile atm, there were quite a lot changes to the code base of the game since it last worked. I'll try to see what I can do about that, although I'm not sure if it will run at the end of the week or not …

from cities.

Cervator avatar Cervator commented on June 3, 2024

Specifically in this thread :-)

http://forum.terasology.org/threads/procedural-architecture-grammar.586/

And sorta related (more papers!) - http://forum.terasology.org/threads/gsoc-city-generation-and-sensible-land-usage.974

I'll close this issue for now to let discussion continue in the forum, it'll be a while before any code gets to a point where we can integrate with Cities I imagine :D

from cities.

Related Issues (18)

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.