Hi, all:
I am working on a Virtual Forest Java3D system for forestry management. I
have a rather strategic question. Since the system will represent huge
numbers of trees for thousands of acres of forest, currently the tree 3D
shapes are generated on fly. The system should feature choices of showing
the trees in different color according to different properties that user
interested without changing the current scene. My question is that what is
the best way to create trees in terms of Java3D programming and keep track
each individual tree information in order to have a good performance? I am
new to Java3D. I would like to have some advice from you and to know
what choices that I have.
My thoughts are either I can use an array to store all the tree shapes.
Whenever I need to assign different color to trees, I go back to the array
and set the color(will I have memory burn here?), or I create different
BranchGroups with different color set for the trees, and rest of the scene
remains the same. I don't know how to switch among the branchGroups (is it
possible and will the performance be acceptable?)
Thank you in advance for any suggestion!
Lan Wu-Cavener
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".