Sign in to follow this  
Asheh

Procedural Trees

Recommended Posts

There are also a number of other methods for procedural generation that dont use L-Systems..I have read a number of papers on such things. One method involves tracing the 3D paths of a series of particles, with gravity, wind, randomness, etc, and making the branches from these paths...If you provided for collision detection and avoidance, I'd imagine this could work very well.

Also, there are image-based methods that attempt to create an acceptable mesh from a photo or series of photos...such things exist in research papers and test implementations, I have not seen anything like this available publicly.

-----------------------------------------------------------

Depending on how "procedural" you want, you can make a number of prefab parts and write a script that assembles them together in a tree-like fashion.

I would use for example, a large trunk, big branches, small branches and leaves. Just make sure each model has a the origin point at the best connection point, and then somehow define some nodes for each model where the next piece will be attached.

Then you can assemble, scale, rotate, etc each part using parameters and so on. I have written such a program and it worked fairly well after I spent a while tweaking the rules.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this