Assets of The Season
Assets updates
Building Generator

Building Generator

Updated
2024-02-01
Free
Blueprints
Engine version
5.0
Download type
Asset Pack
File size
2.7 MB
Registration required
Description

Procedurally generate a single building or a city with a click of a button. Control the shape of the building using a simple spline system then add your meshes and let the algorithm handle the rest!

Building Generator is a blueprint-based building generator which can be used to quickly generate buildings. It only requires meshes and then the spline-based algorithm will take care of the rest. Because it is based on splines you have full control over the primary shape of the building. The blueprint is also capable of generating several buildings at once which are based on a grid making it possible to create entire blocks or cities quickly. Floors and stairs can now be generated as well! Generate the buildings at runtime or bake them using Unreal's merge tool.

 

The buildings are generated from the ground up during each cycle based on the properties given. The generation method is deterministic (seed based) meaning that the exact generation can be regenerated given the same seed and properties. Building length, width and height can be determined prior to generation whilst adding random values. Likewise, the properties of each building can be altered. These properties include, but are not limited to, roof, cornice, curb, gutter, entrances, signs etc. Both Lumen and Nanite are compatible, and collision can either be simple or complex. Generation during runtime is possible. The buildings are game ready in terms of draw calls as they are utilizing Unreal's HISM (Hierarchical Instanced Static Mesh) which also support LODs. The roofs, curbs, sidewalks and cornices are all generated using procedural meshes.

 

Features:

  • All meshes are interchangeable (note, not the procedural meshes - curbs, cornices and roofs).
  • Single or multiple building generation.
  • Easy to control spline system that dynamically adjusts to the terrain.
  • Adjust building height, width and length.
  • Four procedural roof types, gable, hip, shed and flat roofs.
  • Courtyards.
  • Terraced buildings.
  • Spawn as BP option for certain meshes.
  • Free-form mode allowing for control over each individual spline point allowing for a custom building footprint.
  • Simple interior support - Floors and Stairs.
  • Async generation during runtime.
  • Automatically scale meshes to fit perfectly or utilize the non-scale circle-circle intersection method for non-scaled building meshes.
  • Custom data on building meshes, signs and socket meshes.
  • Slanted or flat procedural mesh roofs.
  • Curb and cornice custom profiles using curves.
  • Spawn meshes per building mesh based on sockets.
  • Balconies, gutters, roof meshes, curbs, signs, trees, street meshes and more.
  • Per building procedural meshes allow for variance in materials.
  • Bake buildings down to static meshes using Unreal's merge tool.
  • Automatic forward axis on building meshes.

 

Limitations:

  • Tri-planar texturing is advised on the procedural meshes due to the UV-unwrapping method (per face).
  • Roofs are procedurally generated meaning that you cannot use your own mesh. The types of roofs are as follows: Gable, Hip, Flat, and Shed.
  • Roofs do not support smooth shading or beveled edges.
  • Procedural meshes do not support Mesh Distance Field Generation and can produce non-optimal Lumen results when inside a building.
  • Roof tile generation is yet an experimental feature and can produce some wacky results if the buildings angles are not right.

 

Noteworthy:

  • When generating large cities, it can be required to increase the "Maximum Loop Iteration Count" in the project settings.
  • The included meshes are meant as placeholders and are low poly.

 

Technical Details

Features:

  • Spline based building generation.
  • Deterministic (seed based generation).
  • Modular (add your own meshes).
  • HISM (LODs and few draw calls).
  • Procedural Mesh generation for roofs, cornices, sidewalks and curbs.
  • Export buildings using Unreal Engine's Merge/Export.

Number of Blueprints: 1

Number of Meshes: 55

Number of Materials: 3

Network Replicated: No

Supported Development Platforms: All platforms should be supported (only Windows has been tested).

Comments
Comments is not yet
Add Comment
Please register
Other interesting assets