Log inGet started
Package

cityGen.package

This package holds more than this page lists. See all of its files in its world.

README.md

buildingStand

The cityGen.buildingStand module manages the runtime instantiation and streaming of buildings in a game world. It takes a list of lots and kits, plans buildings on demand (using cityGen.building.plan), and draws them using cityGen.buildingDraw. To optimize performance, buildings are streamed in tiers based on viewer distance: full detail for near buildings, a simplified shell for mid-range, and nothing for far-off structures. It also generates static colliders and occluders for buildings. This module is called by game systems that need to display and manage a city's buildings dynamically.