Hi, I am not quite sure what your question is but I did notice this:
> I override this method to change the values in floatVerts > and set the new geometry to the Shape3D. I am not sure if this is what you are doing, but it sounds like you are calling setGeometry() or similar on your shape3D once you have made your changes. You do not need to do this. Updating your floatVerts[] using this method automically updates the geometry of your Shape3D. Cheers, Brad Jefferson Samuel wrote: > > Hi All! > > Thank u Brad & Jack for ur valuable advise. > > How to deform Shape3D with smooth animation?? > > I created my Shape3D like this: > > QuadArray qa2 = new QuadArray(4, QuadArray.COORDINATES > | QuadArray.COLOR_3 | QuadArray.BY_REFERENCE); > qa2.setCoordRefFloat(floatVerts); > qa2.setColorRefFloat(floatClrs); > qa2.setCapability(GeometryArray.ALLOW_REF_DATA_WRITE); > > In my custom behavior (processStimulus method) I call > ((GeometryArray)(qa2.getGeometry())).updateData(this). > UpdateData() is a method of GeometryUpdater Interface. > I override this method to change the values in floatVerts > and set the new geometry to the Shape3D.Though the Shape3D > is deforming from one state of Points to another > state of Points this animation is not smooth. > The Shape jumps from one state point to another b’coz > I have only two point states. > > I have created my own interpolater to move the > coords to the new positions over time. > The movements from say one point of the shape to > another new point to deform the same shape is very fast. > > Any kind of help is greatly appreciable. Thank u. > > With regards > Jeffy > > ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ > 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". ---------------------------------------------------------------------------- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. ---------------------------------------------------------------------------- =========================================================================== 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".