I've added functions to the MeshList class that allow for complex animations. I provide the functions with a list of rubik's cube pieces that the animation is to operate on, and I can get the pieces to rotate on any axis for 90 or 180 degree distances (both clockwise and counterclockwise). I intend to use these functions to animate activities that the user performs on the cube.
I am having a little trouble with the emulator. The app launches slowly when I launch it from the emulator's app menu. It launches fine when I launch it from the eclipse IDE. I'm guessing it's an issue with the AndroidManifest xml file, but I'm not sure. I'll have to experiment with it.
Thursday, June 16, 2011
Wednesday, June 15, 2011
2011-06-15 Update
UPDATE:
The code has developed to the stage where I am assembling a cube in the gl environment from predefined rubik's cube pieces. I can define corner, edge, and center pieces, and I am in the process of building a cube from them.
I still have to edit the images of the tiles so that they don't look like smiley faces any more. As it is, I can never get the smileys to line up together facing the same way. This is only an issue of appearance. The cube pieces all seem to work fine regardless which way the smileys are facing.
I added a spinner and a button to the screen, but these won't be used till later when I'm getting the cube faces to turn separately. I can get them to turn now, but the animation is hardwired and not attached to any controls.
The code has developed to the stage where I am assembling a cube in the gl environment from predefined rubik's cube pieces. I can define corner, edge, and center pieces, and I am in the process of building a cube from them.
I still have to edit the images of the tiles so that they don't look like smiley faces any more. As it is, I can never get the smileys to line up together facing the same way. This is only an issue of appearance. The cube pieces all seem to work fine regardless which way the smileys are facing.
I added a spinner and a button to the screen, but these won't be used till later when I'm getting the cube faces to turn separately. I can get them to turn now, but the animation is hardwired and not attached to any controls.
Saturday, June 11, 2011
Saturday, June 4, 2011
Subscribe to:
Posts (Atom)