In different aspects of computer graphics, such as game level design, computer animation, and architectural visualization, visual models of trees are highly demanded. This project develops a program through Unity and C#, in which users can generate tree models from their customized tree crown shape. In this project, the space colonization algorithm (SCA) is applied to procedurally generate tree models. Users are able to customize the overall appearance of the generated tree by configuring the parameters like attraction points which are uniformly generated within defined volumes by users through ray-casting, together with influence range and kill distance.

A webplayer version of the application can be tried below. Press "ESC" to restart the process.

Contribution

This is a group project cooperated with 2 other KTH students. In this project, I mainly contributes to the attraction point generation algorithm as well as the creation of corresponding UI, improvements of the branch mesh generation, and the LATEX typesetting of the final report.