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!

Creating multiple 3D cubes just giving xyz coordinates

843799May 16 2008 — edited May 16 2008
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2008
Added on May 16 2008
6 comments
372 views