Hi i was wondering if someone could tell me how to map a texture image onto the 4 sides (front,back,left and right) of a custom shape. i'm using a geometryinfo and applying a Texture2D with the following code
buildgeom.setTextureCoordinateParams(1, 2) ; buildgeom.setTextureCoordinates(0,texCoord); This works perfectly for the front and back but i'm not sure how to apply the same image on the left and right walls (which go along the z axis so applying a texture image with concern to x and y axis is no good). should i be applying a texture3d or should i be changing the was i set the texturecoordinates above. also what exactly do the fields : int texCoordSet (in the setTextureCoordinates method) and int numSets (in the setTextureParams method) both with reference to a geometryinfo, actually refer to. thanks jason =========================================================================== 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".
