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