Hi Florin, As I have mentioned earlier my Java3D program loads a scene by reading values from a data file. To draw a scene my data file has got three important information. 1)Four points to draw a Quad & the fifth point to denote the PART to which this shape3D belongs. 2)Three points to draw a Triangle & the fourth point to denote the PART to which this shape3D belongs. 3)Number of Parts in the whole scene.
A single PART in the scene might contain Quads & Triangles. My data file presents lot of parts (approx. 15), quads (approx. 1000) & triangle (approx 700). I�m creating all these shapes using 1)QuadArray(4, QuadArray.COORDINATES) 2)TriangleArray(3, TriangleArray.COORDINATES) So this constitutes the whole scene. Then come the deformation of the all the shape3D�s in the scene... I�m having another data file to read that has all the new values for each Quad & Triangle. Now that I have the old values of the Shape3D and also the new values of the Shape3D I need to deform the Shape3D between these two values. One important issue is that the deformation of the Shape3d�s is an animation (with frames and animation rate). So If I want to animate the deformation of a shape3D in 10 frames I generate 10 intermediate values between the old & the new values. I�m applying different colors to the Shape3D�s in each frame. The whole process is working fine, but I would like to know form anyone of you whether there is any other good way to improve my performance. 1)Animation is very slow b�coz of the larger number of shape3d�s. 2)Applying color-using setAppearance doesn�t look impressive. I think I can�t use morphing in my case for two reasons. 1)I need to create a duplicate copy of all these Shape3D�s, which might slow down the process further. 2)I want to change the appearance of the shape3d during deformation. Can Contours help me in this?? Pls correct me if I�m wrong. With regards Jeff ==========================================================================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".
