Now I used TriangleStripArray to construct a so called "box" which has 4 faces(not 6 but it's not a box), and when I fill with texture, it doesn't fill up the triangles, instead, it fills the lines...I set MODULATE and Polygon_fill already but still, any hints please?
Many thanks Andy ----- Original Message ----- From: "David Yazel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 9:12 PM Subject: Re: [JAVA3D] Texture > Set the PolygonAttributes.setPolygonMode(POLYGON_FILL ); > > Dave Yazel > http://www.magicosm.net > > ----- Original Message ----- > From: "Andy" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, August 12, 2002 10:25 PM > Subject: [JAVA3D] Texture > > > When I create a shape3d object(e.g. linearray), how do I apply a texture(2d > image) to the shape? I tried to create a 2d box and apply a texture, but it > just fills the line with the texture, not the space inside the 2d box, how > do I fill the 2d box with texture or color? Thanks > > Andy > > =========================================================================== > 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". =========================================================================== 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".