Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Simple question: How to set a different image to each side of a 3D cube?

7d76df18-bffb-4357-ad93-3abe8eb450d4Nov 26 2014 — edited Nov 27 2014

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/sexBx57K

Any clue?

Thanks!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2014
Added on Nov 26 2014
0 comments
895 views