Creating multiple 3D cubes just giving xyz coordinates
843799May 16 2008 — edited May 16 2008Hi there,
I'm not really familiar with java 3d but I wish to create an xyz environment (with axes) in order to put cubes in the places I want, just reading from a coordinates vector.
E.g. I wish to put 3 cubes with coordinates x[1]: 0 y[1]:0 z[1]: 0 and x[2]: 1 y[2]:0 z[2]: 0 x[3]: 1 y[3]:1 z[3]: 0
And the cubes are displayed on xyz space
Then I wish to distinguish two kind of cubes (eg. cube rear view e front view) by using different colors or better, by using images.
Can anyone help me?
Stefs