Project

General

Profile

Download (23.2 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / objects / RubikCube.java @ b0a56742

# Date Author Comment
ee35e63c 09/16/2020 11:55 PM Leszek Koltunski

Beginnings of support for the Helicopter.

eab9d8f8 09/14/2020 08:46 PM Leszek Koltunski

Progress with the Skewb.

fb52fae9 09/14/2020 01:38 PM Leszek Koltunski

Beginnings of support for the Skewb.

231771f3 09/09/2020 12:58 AM Leszek Koltunski

Convert RubikPyraminx to the new MeshPolygon - better quality of the mesh and less vertices!

c0b37c89 09/08/2020 10:21 PM Leszek Koltunski

Convert RubikCubes to the new MeshPolygon - better quality of the mesh and less vertices!

efa8aa48 08/28/2020 12:37 AM Leszek Koltunski

Rename Meshes.

49595e4b 08/26/2020 02:53 PM Leszek Koltunski

Fix for one bug seen in Firebase and additional debugging for another.

6b6504fe 08/26/2020 12:55 PM Leszek Koltunski

Finally fix the Dino's 'isSolved()' - Dino can be mirrored and then it is also solved!

1ebc4767 08/19/2020 09:10 PM Leszek Koltunski

Fix detecting if an Object is solved. Before, the generic Cubit.thereIsNoVisibleDifference(0 would not work correctly in case of the Dino.

7c969a6d 08/16/2020 06:34 PM Leszek Koltunski

Adjust randomizing new rotations so that:

1) it works for basicAngle=5 (Megaminx) (so now basicAngle=2,3,4,5 supported)
2) it leaves the decision as to what can be the next rotation to the Object class, as in case of certain Objects (the Dino, or the Helicopter, the Megaminx) the next rotation doesn't have to 'intersect' the old rotation always when oldRotAxis != newRotAxis (that's so simple only in case of the Cube and - only partly - the Pyraminx!)

fb377dae 08/11/2020 02:19 PM Leszek Koltunski

Major progress with Dino; rotations (almost?) work now.

c7e79b69 08/10/2020 09:31 PM Leszek Koltunski

Progress with Dino Movement

faa3aed0 08/10/2020 06:01 PM Leszek Koltunski

Introduce separate ROT_AXIS and FACE_AXIS ( step 2 )

ad38d800 08/09/2020 10:01 PM Leszek Koltunski

Introduce separate ROT_AXIS and FACE_AXIS ( step 1 )

f6d06256 08/07/2020 11:09 PM Leszek Koltunski

Move the knowledge about colors of individual cubit faces down to each Object subclass.

8f53e513 08/01/2020 09:37 PM Leszek Koltunski

Progress with the Dino.

42803ba0 06/28/2020 09:11 PM Leszek Koltunski

Introduce three sizes of UI images: small, medium, large.

fbca0033 06/27/2020 10:00 PM Leszek Koltunski

Re-introduce possibility to dynamically create object mesh: part 2.

5b893eee 06/26/2020 12:08 AM Leszek Koltunski

Object node: size of screenWidth.

4da7d87a 06/19/2020 06:19 PM Leszek Koltunski

Simplify dragging. Now there's only 1 Quat, rather than the old way with two (Accumulated, Current).

ccf9fec5 06/13/2020 10:43 PM Leszek Koltunski

Read the meshes from .dmesh files (rather than compute them dynamically).
This (along with single-mesh mode) hopefully makes the rendering much faster, while keeping the time needed for Object Change low.

The only downside: this increases the size of the release APK from 6 MB to 9.6 MB.

55fa2499 06/10/2020 10:49 AM Leszek Koltunski

Speedup for rendering: cubes 2,3 contain better quality cubit faces (more vertices) than cubes 4,5.

10585385 06/07/2020 08:42 PM Leszek Koltunski

More progreess porting RubikCube.

470820a7 06/06/2020 11:28 PM Leszek Koltunski

Begin porting RubikCube to the new SingleMesh library. This will make rendering much faster - e.g. in case of Cube 5, instead of 98 renders of individual Cubits, there will be one render of the whole Mesh.

e82f3f9c 06/05/2020 11:40 AM Leszek Koltunski

Port RubikCube to the new library.

226c8cfa 05/29/2020 03:48 PM Leszek Koltunski

Progress making it possible to apply Vertex Effects only to some Components of a Mesh.

14bd7976 05/26/2020 12:53 PM Leszek Koltunski

1) Cube: convert it to the latest library. Main difference: objects are rendered better, individual cubits have rounded corners.
2) Examples: some adjustments to MeshJoin & Predeform
3) Library: fix a bug in main_vertex_shader's 'degree' function, which didn't work proprely in case of a vertex which was exactly at the center (i.e. vector PS was zero)

40ab026e 05/24/2020 09:03 PM Leszek Koltunski

In library: allow a mixture of a deep and shallow copy of a Mesh ( mVertAttribs1 might be copied deeply or shallowly, mVertAttribs2 are always copied deeeply).
Port RubikCube to the new library.

5cf34c5f 04/10/2020 12:46 PM Leszek Koltunski

Make chances to randimoze a given row when scrambling dependant on the type of Object.

The point: in case of the Cube, all rows should have equal chances. In case of the Pyraminx, the smaller the row, the smaller the chance should be. In particular the trivial 4 corners of the tetraherdon should have a very small chance to be selected.

fa0f7a56 04/07/2020 11:18 PM Leszek Koltunski

Progress with the Solver - RubikCube.retObjectString() finished.

What remains to be done here: ban changing colors of the centers of 3x3x3 faces, this shouldn't be allowed!

a304ee64 04/06/2020 10:18 PM Leszek Koltunski

Progress implementing RubikCube.retObjectString()

20931cf6 04/06/2020 01:08 PM Leszek Koltunski

Progress making the Solver state more abstract.

f0336037 04/06/2020 11:17 AM Leszek Koltunski

Make the Solver state more abstract.

9621255f 04/05/2020 10:45 PM Leszek Koltunski

Progress with the 3x3x3 Solver.

1f9772f3 04/05/2020 02:10 PM Leszek Koltunski

More support for the 3x3x3 Solver: more of the actual 3x3x3 solver mechanism.