GithubHelp home page GithubHelp logo

mapbuilding's People

Contributors

patrickmurphy avatar

Watchers

 avatar  avatar

mapbuilding's Issues

Vector3 Class not needed

Need to refactor out the Vector3 Class as processing has its own PVector class that is more powerful

Add more building types

Right now it really can only generate sky scrapers

Need to make:

  • Houses (one or two squares with roof)
  • Large house (more complicated, sometime 2 stories looks nicer)
  • warehouse/industrial (large short buildings)
  • stores (gas station size etc)
  • more?

Random Building Shape Overlap Z-Fighting (Better building generation algorithm)

The random building logic just creates random Circles and Rectangles until it finds 1 to 3 shapes that pass through the mid point of the cell the building is on.

Some times two rectangles are drawn on the same plane, and create Z fighting for the textures, ugly as well as overlapping/hidden geometry could be removed to increase generating and rendering efficiency

Zfighting on side of the middle building
image

Shows the bottom of a building, but shows how those faces in the inside are drawn but can never bee seen
image

Buildings and Trees not placed on the ground

The trees are placed at the Vertex height of one of the corners of the cell, if it is going down slope it floats above it etc. Either extend models lower, or find point on terrain between slope. Could ray cast a ray up and down at the center point of the cell and find the intersection with the terrain.

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.