Iy your data in quads or triangles?


ArtMotion wrote:

> I'va a VRML File that follows:
>
> ========================
>
> DEF OBJ_KLASSE Transform
> {
>    children
>    [
>       Shape
>       {
>          geometry IndexedFaceSet
>          {
>             colorPerVertex FALSE
>             color Color
>             {
>                color
>                [
>                   0.8 0.63 0.22,
>                   1 1 1,
>                   1 1 1,
>                   0.75 0.98 0.59,
> ....
>                ]
>             }
>             coord Coordinate
>             {
>                point
>                [
>                   -3 0 -4.75
>                    3 0 -4.75
>                   -3 0  4.75
>                    3 0  4.75
> ....
>                ]
>             }
>             coordIndex
>             [
>                4, 6, 7, 5, -1,
>                4, 5, 7, 6, -1,
>                12, 13, 15, 14, -1,
>
>                0, 8, 42, 40, -1,
>               2, 53, 55, 10, -1,
>   ......
>             ]
>          }
>       }
>    ]
> }
>
> ===================
>
> okay, it is longer, ... mean more values.
>
> Now I need to write this object PURE Java3D, I think GeometryArray, or
> IndexedGeometryArray would do the trick, but I don't know how to do it?
>
> Does anybody have an example for me? - please?
>
> Why do I get this 3 block into Java3D classes... ?
>
> ===========================================================================
> 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".

Reply via email to