You might want to check out the Rubik's Cube here:
http://www.frontiernet.net/~imaging/java_games.html
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Inaam Khan
> Sent: Monday, October 25, 1999 7:18 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Logical problem using Java3D for Making Rubik Cube
>
>
> Hello i am using Java3d for the first time and am having trouble with
> a method to pick up specific layers of the cube. If any of you understand
> the cube you would know that there are nine layers which we can choose to
> rotate in any direction. I have made the cubelets by using the Box utility
> class. Given them the appropriate color and arranged them in their proper
> places.I have so far made three layers which i can manipulate through the
> key boards but as you know i can only manipulate three layers as they are
> transform group with simple behaviour classes for 90 degrees rotation. I
> can rotate the whole cube by choosing to enable the behavor for the
> branchgroup containing all three transform groups.Now my problem is that
> java3d does not allow cubelets to be put into more than one transform
> group.Or share the cubelets in more than one transform group.If i could do
> so i might update other transform group when ever i rotate a layer but
> this is not possible.
> Just what should i do to be able to pick up any of the nine layers through
> mouse making them rotate only in one axis.Pls i need help and i am very
> desperate if you guys can please send me any
> additional reading material apart from what is given by Java3d i would be
> greatfull.
> I need help fast,some code would do better. I am currently looking in the
> possibility of redoing the cube with geometry classes if their is no way
> around.
> Please i have a deadline approaching in a day any help would be welcome.
> Thanks in advance.
> Inaam Afzal Khan
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".