Use 2 texture files. Create a Appearance for each face. Apply the appearance for the correct side in a Box object:
box01.getShape(Box.Front).setAppearance(app1); Do not forget to set the capability bit ENABLE_APPEARANCE_MODIFY of your box. read the javadocs Box, Shape3D, Appearance, etc... If the all the side are equals you can use a single appearance - and a single texture - for all faces. Preferred texture size: 256x256 pixels. Alessandro --- Ben Logan <[EMAIL PROTECTED]> escreveu: > Hi, > This might sound stupid, but I need help texturing a > box! > I want 2 different textures, one on the front and > one on the back, > In order to simulate a wall, in a house. > Whats the best way to achieve this, one image file > containing inside + > outside textures, > Or two separate files? How do I implement this, I > cant find anything in > my Java3D book... > It mentions wrapping, but not the kind that Im > talking about! > > Thanks in advance for any help > > ******************************************** > Ben Logan - Graduate Software Engineer > RCID > Stephenson Building > Newcastle Upon Tyne > NE1 7RU > www.rcid.ncl.ac.uk > ******************************************** > > =========================================================================== > 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". Yahoo! Mail - 6MB, anti-spam e antivírus gratuito. Crie sua conta agora: http://mail.yahoo.com.br =========================================================================== 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".