Giter VIP home page Giter VIP logo

citygen's People

Contributors

jmespadero avatar sergiofv93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

citygen's Issues

cityGen2D is not deterministic

We have observed that running cityGen2D with the --randomSeed argument create different maps in different computers.
The difference is not in the geometry of the map, but in the order of the vertex. This mean that corners in the map have same coordinates but different index.

Create Random houses

Create pseudo-random houses starting from a basic model and placing doors, windows, etc.
Use models from Daniel74.

Bats overflying the streets.

This issue is for create a specific number of bats which have to be overflying the streets of the city.

All we need to do it is:
1º.- the bat model, as a blender file.
2º.- design a new algorithm to insert the bats into the scene.
3º.- the algorithm will have a behaviour based on RMDF algorithm.

Progress will be posted in this issue.

Set current working Directory

There is a problem with CWD in windows, so blender libraries (cg-library.blend, cg-monsters.blend) are not found even if they are in the same directory.
Please, check and solve value of current working directory.

Clean playerBoy boyMove.py code

Current playerBoy boyMove.py controller is inherited by previous versions and has some small bugs and lack code style.
Please, clean the code and communication between modules boyMove and IA_Manager.

Remove matplotlib dependency

cityGen2D.py use matplotlib module to generate .svg images which show debug information of each step of 2D map. The problem is that python interpreter bundled with blender does not include matplotlib.

We can study to remove that dependency by creating .svg files using pure python, so they can be generated too when executed inside of blender.

Add external elements to the city

Place objects in the exterior of the city. For example Farms, roads, rivers, etc...

The ideas are:

  1. Build a random polyline that begins in the gate of the city and goes far away. Paste a texture of road in the polyline (similar to current streets).
  2. Reuse the same algorithm in 1 to generate a random river near of the city.
  3. Create an horizon line with a landscape with mountains (a trompe l'oeil o trampantojo)
  4. Generate a forest with some trees, stones, dry leaves, etc...
  5. Some random building near of the city. (windmills, serreria, vigilance towers, etc...)

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.