I have a LineArray defined which is supposed to represent a tree like
object. I am trying to display each line segment in the array at a certain
time so that the tree would look like its growing.

Now I initially use setValidVertexCount( 0 ) so that nothing is displayed,
then make the scene live.
I have a Behaviour which triggers each second an uses setValidVertexCount()
and increments the number of vetices used. This does not seem to work at
all, I still see nothing.

However if I modify some part of the LineArray, for example the color of a
single vertex, and then do a setValidVertexCount() it works!! Could this be
a bug, or am I doing something wrong. Do I have to do anything else after I
do setValidVertexCount() to get it to update the scene?

Also if anyone has better suggestions on how to animate tree growth apart
from the method mentioned above I would be very greatfull.

I'm using JDK1.3rc3 and Java3d 1.2beta2 on Windows 2000, Celeron 400, TNT2
if thats of any help.

Regards,

Andrian

===========================================================================
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".

Reply via email to