You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Big features
Current features improvements
FloorGeometry
'sinsertRoofElements
should be more intelligent and generate random positions based on the bounding box, so collisions against the border are less usual.FloorGeometry
s should have strict rotations (0, 45, 90 degrees...) instead of any value.Code style
functions.js
should be merged intoBuildingUtils.js
.createBuildingGeometry
function inBuilding.js
is huge. Split it in smaller functions.style.css
.texturePath
->atlasIndex
relation should be saved inAtlas
instead ofBuilding
.The text was updated successfully, but these errors were encountered: