Hi again!

I tried to do something to get the array of vertex and the array of
triangles but...
I have the geometry of my BranchGroup and I can separate the shapes. Now I
need to read every shape to get those two arrays. I saw what you told me
about IndexedPointArray and so on but I don't know how to use it. Because
all of those classes are abstract and I can't make an instance of this
object and also I can't make another class which extends IndexedTriangle
Array (for example). I can read the array of point but it is not in the
real order.

For example if I have:

P1(x1, y1, z1)
P2(x2, y2, z2)
P3(x3, y3, z3)
P4(x4, y4, z4)
P5(x5, y5, z5)
P6(x6, y6, z6)
P7(x7, y7, z7)

P3, P5, P1;
P2, P1, P7;

I will read:

P3(x3, y3, z3)
P5(x5, y5, z5)
P1(x1, y1, z1)
P2(x2, y2, z2)
P1(x1, y1, z1)
P7(x7, y7, z7)

And I need to have the normal order which is the order I can see in wrl
file.
I tried to use PointArray and TriangleArray but... nothing.
Do you have any idea about this?


*********************************************
*                                           *
* Vlad Valica                               *
*                                           *
* tel:  bureau: 01.60.76.47.02              *
*               01.60.76.44.37              *
*       maison: 01.60.76.64.47              *
*                                           *
*                                           *
*********************************************

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