Whatever you do the texture needs to be square and have a side of binary length ( 32, 64, 128 etc ) in order to be passed to the hardware. If you want to use multiple images you will probably want to use normal Java2D techniques to combine them into a single square image file and then use that as a texture. You can make sure they line up correctly by using TextureCoordinates.
It's not the only way to do it but it is a relatively easy and efficient one. -ben -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of H. Ding Sent: 10 March 2005 05:12 To: JAVA3D-INTEREST@JAVA.SUN.COM Subject: Re: [JAVA3D] more than two images in one face of a cube and every face with different images Hi Alessandro, I read the one as you mentioned. But what I want is to combine several images to one image, so I can paste all the images to one face of the 3D box. Can I use the public ImageComponent3D(int format, java.awt.image.BufferedImage[] images) set method to combine several images to the object, then use getImage() to get the combined one image ?? Best, > You can change the image texture from time to time, as seen on > TextureByReference demo, but one after one. > Check TextureByReference demo. I guess it works as you wish. > > Alessandro > > > > --------------------------------- > Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador do > Yahoo! agora. > > =========================================================================== > 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".