> All I did was construct QuadArray objects:
>
> QuadArray topQuadArray = new QuadArray((int)length,
> QuadArray.COORDINATES|QuadArray.NORMALS|QuadArray.COLOR_3);
>
> Then I passed my Point3f[], Vector3f[], and Color3f[] arrays into the
> QuadArray:
>
>          topQuadArray.setCoordinates(0, topPoints);
>          topQuadArray.setNormals(0, topNormals);
>          topQuadArray.setColors(0, topColors);
>
> Then made my Shape3D object:
>
>          Shape3D topShape = new Shape3D(topQuadArray, appearance);
>
> And added it it the TransformGroup:
>
>          transformGroup.addChild(topShape);
>
> I hope this helps.
>

Hi Don, I think I did it similar now, but I still get no shading!
Desiree

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