又是一周,又是一次我的 procedual generation 工具 OctoShaper(八角切割器) 的 demo।

使用圆盘采样(disc sampling)散布岩石聚集群,使用环形采样(annulus sampling)围绕草坪。

斜坡最陡处,只有草坪才能用基于图形的物理光线探测(physics raycast methods from the graph)方法来生长。

聚集群由图形定义,并且主图形沿着 spline(曲线)生长出聚集群。