Hi You'll need to play with the texture coordinates so that it displays once on the whole square. You need to map your 3d points with points on the texture.
If this is your square Pt1/Pt2---------Pt3 | \ | | \ | | \ | | \ | | \ | | \ | | \ | Pt4-------------Pt5/Pt6 And this is your texture (0,1)---------------(1,1) | | | | | | | | | | (0,0)---------------(1,0) (wonderful ascii graphics) (The coordinates are in s,t coordinates) your texture coordinates would go like this Pt1 (0,1) Pt2 (0,1) Pt3 (1,1) Pt4 (0,0) Pt5 (1,0) Pt6 (1,0) Use the setTextureCoordinates() methods to add them to your geometryarray -Bob Dengle >From: Arwiyanto Asrori <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [JAVA3D] texture problem in wireframe >Date: Mon, 21 Jan 2002 19:38:17 +0100 > >Hi, > >I created 6 lines in java3d and made two triangles. I combined these >triangle and became a square. >I tried to put a texture in whole square, but the texture stay in every >triangle. That's not what i want. >How can i solve this problem? it would be helpful if there a simple code >to >make it. > >thanks, >cheers >-RW- > >-- >GMX - Die Kommunikationsplattform im Internet. >http://www.gmx.net > >=========================================================================== >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". _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com =========================================================================== 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".