Unity的程序花生成器

网友投稿 621 2022-10-14

Unity的程序花生成器

Unity的程序花生成器

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().sharedMesh = mesh;}

Sources

The Algorithmic Beauty of Plants - http://algorithmicbotany.org/papers/#abop

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Struts2_Struts2的处理流程与Action的管理方式
下一篇:Struts2_全局类型转换器
相关文章

 发表评论

暂时没有评论,来抢沙发吧~