Results 1 to 2 of 2

Thread: Generator of random trees

Share/Bookmark
  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,776
    Blog Entries
    3
    Rep Power
    690

    Generator of random trees

    Hi all,

    after some time, here is newer TBGL project.
    It is generator of 3D polygonal trees for use in games, for example.

    You just call function with parameters and new tree will grow in few milliseconds.
    Attached ZIP file contains both "generator" and "reader" sample.

    The trees can be saved in special format, which contains link to used texture, parameters to function and "genetic code" of the tree.

    The genetic code is just serie of characters, which determine, how the tree will grow.

    The results are not always perfect, but if you'll be patient, you can get some usable trees. Sometimes just decent modification of input parameters can cause to born monster, try to experiment


    Have fun !,
    Petr
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	GoldenTree.jpg 
Views:	244 
Size:	21.1 KB 
ID:	3540   Click image for larger version. 

Name:	GrayTree.jpg 
Views:	220 
Size:	20.9 KB 
ID:	3541   Click image for larger version. 

Name:	OldAndEvilWillow.jpg 
Views:	219 
Size:	20.1 KB 
ID:	3542  
    Attached Files Attached Files
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,113
    Blog Entries
    2
    Rep Power
    10

    Re: Generator of random trees

    The objects this script generates are really very nice and ipnotic.
    Looking at the generated trees is like been in front of a fire, you get addicted

    Thanks
    Eros

    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

Similar Threads

  1. abc test generator
    By sandyrepope in forum thinBasic General
    Replies: 1
    Last Post: 03-06-2007, 20:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •