ftp.nice.ch/pub/next/graphics/3d/Tree3D.3.1.README

This is the README for Tree3D.3.1.NIHSA.bs.tar.gz [Download] [Browse] [Up]

                                Tree3D_3.1

Purpose:
    Displays a 3D Tree constructed with a simple algorithm.
    Allow simple real-time variation and exploration of the generation     
        parameters.

Algorithm:
    All branch-points (where subranches sprout from branches) are controled
        by the same set of parameters, which control the number of subbranches,
        the angle each subbranch makes with the extension of the branch, the
        twist of the branch, and how much smaller the subbranches are from 
        their parents.
    Randomness may be introduced in all parameters. Again, the algorithm hasn't
        been optimized too much.

Revisions:
    Tree3D_3.0: 5/15/93     -- first release (to sonata)
    Tree3D_3.1: 5/22/93     -- adds missing files (Branch.h,m, ForestCamera.h)
                            -- obsoletes Tree3D_3.0
    
Requirements:
    NextStep 3.0, with 3DKit
    Optimized and debugged on a '040 ColorStation. (It's seen nothing else.)

   This was a simple hack which I did to get into the 3DKit, and it turned out 
good enough to share (even though it still has a few bugs). It took about 40 
hours, and I have no more time to play with it. Please feel free to do what you 
want with it. Also I'd like to hear from you about neat modifications you've 
done.
   
   Enjoy,
                Allen King
                aking@bbn.com



Also included are sources for the objects used:
    ForestCamera.m
        Displays 1 (or someday more) 3-D trees in 2-D view.
    Branch
        a component of a tree
        renders as a cylender
    Tree
        a collection of branches
        contains the generation parameters for the tree

My list of possible enhancements include:
    Leafs
    Colors
    Lighting
    Multiple Trees
        A more sophisticated algorithm which prevents branches from collideing

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.