C++ Graphics Modeling

Procedural Building Generator

Academic 2-PERSON-TEAM project (w/ Guillem Pérez)

Description

Procedural generator based on shape grammar built in C++.

Lab project for the advanced 3D modeling course in MIRI, at UPC.

Demo


Features

  • Instancing of primitive shapes.
  • Rules composition: a rule can contain non terminal shapes which can be defined later.
  • Spatial transformation of the scope.
  • The current state of the scope can be saved (push) and restored (pop).
  • Any parameter of the operations that transform a scope can be randomized inside a given range.
  • Rules can contain more than one execution path, each one with user-defined probabilities.
  • Subdivision of the space represented by the current scope into several parts along one of its axis.

More information and examples available in the project’s Github repository.