Simple question: How to set a different image to each side of a 3D cube?
Posted by
alejandrorg on
Nov 26, 2014; 6:39pm
URL: https://forum.jogamp.org/Simple-question-How-to-set-a-different-image-to-each-side-of-a-3D-cube-tp4033645.html
Hi all,
I'm very new in the use of Java 3D and I would like to know how to set, in a 3D cube, for each side a different image.
Currently I've the code to set an image as texture of the cube, but it applies the same image to all the sides. However, I would like to use different images for each side.
This is my code:
http://pastebin.com/sexBx57KAny clue?
Thanks!