Andrian: This sounds like a bug. Please send us a test case. Thanks -Uma Java3D Team > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > X-Priority: 3 > X-MSMail-Priority: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 > Date: Tue, 16 May 2000 14:43:23 +1000 > From: Guyver <[EMAIL PROTECTED]> > Subject: [JAVA3D] Problem (bug!) using setValidVertexCount() > To: [EMAIL PROTECTED] > > 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". =========================================================================== 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".