Above: The graph hiearchy. The intemediary geometry found in order to find grammar rules.
This is an implementation of the core of the paper Example-Based Procedural Modeling Using Graph Grammars by Paul Merrell.
This program was implemented as a Houdini plug-in.
My program takes in example geometry, and finds grammar rules in order to construct procedural versions of similar geometry.
Above: grammar rules found. These rules convert similar geometry to the ones on the bottom to geometry like the top and vice versa randomly, this generates the procedural geometry.
Image from the paper Example-Based Procedural Modeling Using Graph Grammars by Paul Merrell.