Procedural tree generation

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
807 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 7, 2010

This is a work in progress engine for a project called Demolish
Try it here: http://forums.tigsource.com/index.php...
(This engine is yet to be added to the game)

The trees are procedurally generated, meaning every tree generated with this method is unique.
There are a lot of settings, so many different kinds of trees can be made - in this demo I tried to make "scary" trees, by bending them in unnatural ways.

Category:

Gaming

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (Gunthermaker)

  • wow! really nice work!

    i also made some procedural trees. But they don't look quite that good.

    But mine have leaves and shadows...

    how did you make that "wrinkly" tree structure?

  • @DasAntiNaziBroetchen

    The trees are made up of points (and in the end I just draw a thick line between each point). Each point has 3 variables: x, y and direction. A point's direction decides where the next point will be placed. Then I add a random value to make them "wiggle" a little ^^

    Do you have a picture or video of your engine?

  • @Gunthermaker

    I see..

    How do you decide then when to stop them growing?

    My nodes are a bit more complex^^ they hold information about how many leaves they can hold, how thick they are, and that kind of stuff.

    They also hold the angle, x and y position. Like yours.

    Of course i have screenshots, But no videos..

  • @DasAntiNaziBroetchen

    I might have oversimplified my explanation, it seems like you know what I'm talking about :)

    There are actually 8 variables, including the x, y and angle, that cooperate in order to create this effect. Together they give the user neverending possibilities when it comes to style. For example, one of them controls whether the branches will "gather" at the middle or spread outwards.

    Limiting the height is a simple matter of setting an arbitrary point-limit

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • so where can i downoad it, the link you provided is BORKEND

  • This is super cool.

  • This is just too sexy for words.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more