Register / Login
Win a copy of
Cross-Platform Desktop Applications: Using Node, Electron, and NW.js
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Other JSE/JEE APIs
Java3D: Simple question: How to set a different image to each side of a 3D cube?
Alejandro Rodríguez González
posted 2 years ago
I'm very new in the use of
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:
Boost this thread!
Software rendering and zbuffering.
Texturing a matrix
Tricky Java 3D questions
Rotating individual elements within a Batch of Quads (Open GL ES 2.0)
3D rotating rectangle