home *** CD-ROM | disk | FTP | other *** search
/ Altsys Virtuoso 2.0K / virtuoso_20k.iso / DemoApps / Graphics / 2D_3D / Tree3D_3.1 / README
Encoding:
Text File  |  1993-05-23  |  1.8 KB  |  54 lines

  1.                                 Tree3D_3.1
  2.  
  3. Purpose:
  4.     Displays a 3D Tree constructed with a simple algorithm.
  5.     Allow simple real-time variation and exploration of the generation     
  6.         parameters.
  7.  
  8. Algorithm:
  9.     All branch-points (where subranches sprout from branches) are controled
  10.         by the same set of parameters, which control the number of subbranches,
  11.         the angle each subbranch makes with the extension of the branch, the
  12.         twist of the branch, and how much smaller the subbranches are from 
  13.         their parents.
  14.     Randomness may be introduced in all parameters. Again, the algorithm hasn't
  15.         been optimized too much.
  16.  
  17. Revisions:
  18.     Tree3D_3.0: 5/15/93     -- first release (to sonata)
  19.     Tree3D_3.1: 5/22/93     -- adds missing files (Branch.h,m, ForestCamera.h)
  20.                             -- obsoletes Tree3D_3.0
  21.     
  22. Requirements:
  23.     NextStep 3.0, with 3DKit
  24.     Optimized and debugged on a '040 ColorStation. (It's seen nothing else.)
  25.  
  26.    This was a simple hack which I did to get into the 3DKit, and it turned out 
  27. good enough to share (even though it still has a few bugs). It took about 40 
  28. hours, and I have no more time to play with it. Please feel free to do what you 
  29. want with it. Also I'd like to hear from you about neat modifications you've 
  30. done.
  31.    
  32.    Enjoy,
  33.                 Allen King
  34.                 aking@bbn.com
  35.  
  36.  
  37.  
  38. Also included are sources for the objects used:
  39.     ForestCamera.m
  40.         Displays 1 (or someday more) 3-D trees in 2-D view.
  41.     Branch
  42.         a component of a tree
  43.         renders as a cylender
  44.     Tree
  45.         a collection of branches
  46.         contains the generation parameters for the tree
  47.  
  48. My list of possible enhancements include:
  49.     Leafs
  50.     Colors
  51.     Lighting
  52.     Multiple Trees
  53.         A more sophisticated algorithm which prevents branches from collideing
  54.