Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap #1

Open
2 of 18 tasks
Aljullu opened this issue Feb 28, 2018 · 0 comments
Open
2 of 18 tasks

Roadmap #1

Aljullu opened this issue Feb 28, 2018 · 0 comments

Comments

@Aljullu
Copy link
Owner

Aljullu commented Feb 28, 2018

Big features

  • Make Nordic-style roofs.
  • Gardens.
  • Procedural decorative elements.
  • Procedural textures.
  • Generate a polygon tree from a random shape. That would allow taking a map and generating a building for each plant.

Current features improvements

  • Roof textures rotation.
  • Improve camera
  • FloorGeometry's insertRoofElements should be more intelligent and generate random positions based on the bounding box, so collisions against the border are less usual.
  • Load meshes in parallel.
  • Unnecessary polygons rendered when floors are smaller than the previous one, since all roof is rendered but only a small part is visible.
  • FloorGeometrys should have strict rotations (0, 45, 90 degrees...) instead of any value.
  • Make demo work in all modern browsers.

Code style

  • Add tests.
  • functions.js should be merged into BuildingUtils.js.
  • createBuildingGeometry function in Building.js is huge. Split it in smaller functions.
  • Replace id selectors with class selectors in style.css.
  • texturePath -> atlasIndex relation should be saved in Atlas instead of Building.
  • Investigate why all meshes must be rotated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant