Hi Vincent,
The QuadArray objects takes a continuous array of coordinate data, where each
set of four coordinates define a Quad. You are creating 6 arrays and setting
the coordinates 6 times. You should create an array of 24 coordinates and set
the coordinates once. An example of doing this is in the ColorCube utility.
Doug Twilleager
Java 3D Team
> X-Sender: [EMAIL PROTECTED]
> Mime-Version: 1.0
> Subject: [JAVA3D] Quad Array
> To: [EMAIL PROTECTED]
>
> Hi,
>
> I try to do a box (cube in this case) with QuadArray but I want to
treat
> each face independantly. For that, I use one object QuadArray with six
> vertex. I attached my class and some pics of the results. Could you tell me
> what is wrong?? How to use correctly QuadArray or other class for do what I
> want.
>
> I know how to do a box with one vertex only, but I really need that treat
> each face independently in my project.
>
> Thanks,
>
> Vincent
===========================================================================
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".