Procedural flower generator for Unity.
ProceduralFlower can animate.
ProceduralFlower needs 3 PFShape(ScriptableObject) for petal and leaf shapes.
PFShape has control points and you can design its outline by the editor.
PFCombine enables to combine meshes of ProceduralFlower into one mesh.
public ProceduralFlower flower;
void Start () {
var mesh = PFCombine.Combine(flower);
GetComponent<MeshFilter>().sharedMesh = mesh;
}
- The Algorithmic Beauty of Plants - http://algorithmicbotany.org/papers/#abop