Hi Alessandro, I can put image to one face of a cube now.
But after I load more than one image, can I use buffered images to store and paste all these images in one face ?? Through this method:: set public void set(java.awt.image.BufferedImage[] images) Sets the array of images in this image component to the specified array of BufferedImage objects. If the data access mode is not by-reference, then the BufferedImage data is copied into this object. If the data access mode is by-reference, then a shallow copy of the array of references to the BufferedImage objects is made, but the BufferedImage data is not necessarily copied. > You can : > * prepare a texture image tiled with several smaller images (easy); > * create a box (your own) with more than one shape3D per box face;(not so > easy); > > The old Box can have a different texture in each face, by setting a > different appearance in each face/shape3d, by using getShape(Box.TOP) > (read javadocs) > > Alessandro > > "H. Ding" <[EMAIL PROTECTED]> wrote: > > Hi, > > I am new to Java 3D, and read sample code from Java demo. > > The sample only show one image in all the surface of the cube, but what I > want is implement the two or more images in one face. And other images in > different face. > > This the sample code. > ... > > <cut> > > > > --------------------------------- > 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".