Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / objects @ 59b87d56

# Date Author Comment
59b87d56 12/10/2020 11:12 PM Leszek Koltunski

Adding Rex Cube - take 1 (doesn't work yet)

f9464035 12/08/2020 10:46 PM Leszek Koltunski

Improve the Ivy mesh.

bb490017 11/26/2020 08:23 PM Leszek Koltunski

Fix a long standing bug in the way we detect if a Cube or Pyraminx is solved. The reason for all those 'impossible' records being submitted.

6fd4a72c 10/23/2020 11:51 PM Leszek Koltunski

Preparation for the Object Info popup: add the name, inventor, complexity info to each object.

2113cf12 10/22/2020 12:49 PM Leszek Koltunski

New Ivy mesh.

b6526adf 10/22/2020 12:39 AM Leszek Koltunski

New Ivy mesh.

d1b5ba6b 10/22/2020 12:34 AM Leszek Koltunski

Slight improvement for the Ivy Mesh.

d73de3db 10/20/2020 11:28 PM Leszek Koltunski

Mesh for the Ivy.

af7e562d 10/20/2020 11:21 PM Leszek Koltunski

Icons for the Ivy.

886d1ebb 10/20/2020 10:50 PM Leszek Koltunski

Progress with the Ivy.

9e5b990e 10/20/2020 12:03 PM Leszek Koltunski

Progress with the Ivy.

fc3c5170 10/19/2020 11:36 PM Leszek Koltunski

Even more debugs for the 'failed to restore preferences' mystery.

9f487267 10/19/2020 11:18 PM Leszek Koltunski

Minor.

6a224bdc 10/19/2020 11:14 PM Leszek Koltunski

1) Progress with the Ivy
2) further refine defense against failing to restore preferences.

ab8b600b 10/19/2020 08:29 PM Leszek Koltunski

Progress with the Ivy.

db3b12e6 10/19/2020 04:30 PM Leszek Koltunski

Progress with the Ivy.

18a5f95f 10/19/2020 11:45 AM Leszek Koltunski

Progress with the Ivy

2d9d9d62 10/19/2020 11:01 AM Leszek Koltunski

Bugfix

49cd8581 10/19/2020 12:41 AM Leszek Koltunski

Beginnings of the Ivy Cube.

064ccc31 10/18/2020 12:02 AM Leszek Koltunski

Missing meshes; fix the Solver.

e51599f4 10/17/2020 11:16 PM Leszek Koltunski

New Meshes for all objects.

b3da2f16 10/17/2020 10:55 PM Leszek Koltunski

Icons for the Skewb Master.

25445dcf 10/17/2020 12:00 AM Leszek Koltunski

More error reporting - this time in Scores.

d92030e4 10/16/2020 11:23 PM Leszek Koltunski

Improve the Skewb; set max components to 110 in MeshBase so that all of Professor Skewb's components fit.

ae755eda 10/16/2020 10:26 PM Leszek Koltunski

Make the texture multi-row: avoid the maximum texture size.

a15078bb 10/16/2020 04:31 PM Leszek Koltunski

Report to Crashlytics if we fail to restore preferencees (2)

9bcec50a 10/16/2020 03:49 PM Leszek Koltunski

Report to Crashlytics if we fail to restore preferencees.

c7e23561 10/16/2020 03:43 PM Leszek Koltunski

Report to Crashlytics if the fail to set texture due to it being too large.

b89898c5 10/16/2020 12:11 PM Leszek Koltunski

Progress with Skewb familty; separate StickerFactory class.

d99f3a48 10/16/2020 08:32 AM Leszek Koltunski

Spearate the concept of number of layers of an object and its size.
In case of the Skewb family, this is no longer the same (Master Skewb has 3 layers but it's twice bigger than the 2-layered Skewb)

a97e02b7 10/15/2020 03:11 PM Leszek Koltunski

Objects must explicitly provide a list of offsets specifying where the cut planes are (rather than just a BASIC_STEP - the width of the layer - which is insufficient in case of objects which have layers of vastly different width, like the Master Skewb)

eb389a97 10/15/2020 10:49 AM Leszek Koltunski

Move computation of the rotation rows to the Object from Cubits.

3f3ff476 10/14/2020 03:21 PM Leszek Koltunski

Beginnings of support for any-sized Skewb.

8a494f47 10/13/2020 10:54 AM Leszek Koltunski

New meshes.

2fcfce81 10/13/2020 10:40 AM Leszek Koltunski

CubitFactory: unify creating MeshPolygon bands.

ac722a43 10/09/2020 11:17 PM Leszek Koltunski

More debugging for the case of suspicious submits.

b96a79ff 10/07/2020 09:56 PM Leszek Koltunski

Swap Redi with Helicopter.

55fb45c2 10/06/2020 11:28 PM Leszek Koltunski

More unification in CubitFactory.

8d3cfe99 10/06/2020 10:08 PM Leszek Koltunski

New API for the library: add an empty texture component to a Mesh.
Use this in thr Magic Cube to add empty texture components to some types of cubits.

05cc8075 10/06/2020 09:24 PM Leszek Koltunski

Unification of the way we round the corners of various cubits.

fcd8226a 10/05/2020 01:48 PM Leszek Koltunski

The Redi Cube should be finished now.

659f1180 10/05/2020 12:58 PM Leszek Koltunski

Minor.

c1e85ba4 10/05/2020 12:56 PM Leszek Koltunski

Redi icons.

c7cbf4db 10/05/2020 11:05 AM Leszek Koltunski

Add the Redi Cube: part3.

962437b5 10/05/2020 12:27 AM Leszek Koltunski

Add the Redi Cube: part2.

68f6046c 10/04/2020 11:36 PM Leszek Koltunski

Add the Redi Cube: part1.

1d6c1eea 10/03/2020 12:11 PM Leszek Koltunski

Work around a rare crash on startup

ee526fe0 10/02/2020 08:39 AM Leszek Koltunski

adjust the objects some more.

e06e1b7e 10/01/2020 10:29 PM Leszek Koltunski

- after some time using it, request an App review
- some tweaking for the way the objects look (set internal_color to something slightly lighter than pure black, round the corners of the stickers better)
- set internal_node ratio to 1.42, this way the objects never get cut

db7eb1ad 09/30/2020 08:25 PM Leszek Koltunski

Minor.

76c2bd07 09/30/2020 06:08 PM Leszek Koltunski

Simplify drawing textures.

f18e8fae 09/29/2020 08:33 PM Leszek Koltunski

Simplify drawing textures.

045857e5 09/29/2020 02:31 PM Leszek Koltunski

Minor

30fdccf8 09/28/2020 01:54 PM Leszek Koltunski

New meshes for the Diamond and the Pyraminxes.

d33d0125 09/28/2020 01:40 PM Leszek Koltunski

Icons for the Diamond.

ac940e24 09/28/2020 12:59 PM Leszek Koltunski

Add a CubitFactory and convert all objects to use it. Biggest change is thr Pyramiinx which now uses a lattice of Octahedrons and Tetrahedrons, just like the Diamond.

ad6f6f03 09/27/2020 01:02 AM Leszek Koltunski

Fix Diamond's isSolved()

ee39837d 09/26/2020 11:30 PM Leszek Koltunski

Progress with the Diamond. Everything working except for the isSolved(): turns out the center cubits can end up rotated along the face by multitudes of 120 degrees.

cc99cf91 09/26/2020 08:44 PM Leszek Koltunski

Progress with the Diamond. Everything working, expect one thing: half of the faces are upside down, and computing offset doesn't work on those faces properly.

5581ba2b 09/25/2020 06:33 PM Leszek Koltunski

Progress with the Skewb Diamond.

ab0c28f0 09/25/2020 06:10 PM Leszek Koltunski

Progress with the Skewb Diamond - it is rendered correctly now.

9c2f0c91 09/25/2020 08:35 AM Leszek Koltunski

Rename some classes.

ca3300c3 09/25/2020 08:29 AM Leszek Koltunski

Rename 'RubikMovement' to 'Movement'

ece1b58d 09/25/2020 08:27 AM Leszek Koltunski

1) correction for Dino4's isSolved() [ remember about the mirror! ]
2) beginnings of support for the Skewb Diamond

2067efd8 09/24/2020 09:51 PM Leszek Koltunski

Fully support the 4-color Dino.

eaee1ddc 09/24/2020 08:35 PM Leszek Koltunski

Add the 4-color Dino.

Still one thing needs to be done about it: randomization of Moves (now sometimes in Level 1 the randomized move leads to an already solved position)

3717a94e 09/23/2020 01:28 PM Leszek Koltunski

Slight correction for devices which have scrWidth>scrHeight ( Huawei Mate Xs! )

b30695c6 09/23/2020 11:23 AM Leszek Koltunski

Do not forget the amount an Object has been changed in size when we switch between Objects.

44f95b2a 09/18/2020 12:13 PM Leszek Koltunski

DMesh for the Helicopter.

475cbfe7 09/18/2020 11:56 AM Leszek Koltunski

Icons for the Helicopter.

7403cdfa 09/18/2020 10:42 AM Leszek Koltunski

Fix rotations of the Helicopter.

b0a56742 09/17/2020 11:44 PM Leszek Koltunski

More support for the Helicopter.

77899b4c 09/17/2020 11:02 PM Leszek Koltunski

More support for the Helicopter.

20a0214b 09/17/2020 10:31 PM Leszek Koltunski

More support for the Helicopter.

ee35e63c 09/16/2020 11:55 PM Leszek Koltunski

Beginnings of support for the Helicopter.

fcc0e034 09/16/2020 08:49 PM Leszek Koltunski

Correct the Dino mesh.

940100d1 09/15/2020 11:10 AM Leszek Koltunski

Minor.

63002261 09/15/2020 09:18 AM Leszek Koltunski

Skewb finished?

2f5783d4 09/14/2020 10:33 PM Leszek Koltunski

Skewb Mesh.

21e06b9c 09/14/2020 10:02 PM Leszek Koltunski

Icons for the Skewb.

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.

1576f41c 09/13/2020 12:35 AM Leszek Koltunski

Minor.

fa679111 09/11/2020 11:01 AM Leszek Koltunski

Make the ObjectPopup a 2D grid - corrections.

e07c48a2 09/11/2020 12:17 AM Leszek Koltunski

Make the ObjectPopup a 2D grid.

befd50be 09/10/2020 03:17 PM Leszek Koltunski

New meshes.

e35247b8 09/10/2020 02:06 PM Leszek Koltunski

Improve Pyraminx Mesh

2394e617 09/09/2020 12:27 PM Leszek Koltunski

Convert RubikDino to the new Polygon mesh.

52336e82 09/09/2020 12:13 PM Leszek Koltunski

Tweaks for the new RubikPyraminx mesh so it looks better.

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!

b376bfd7 09/07/2020 11:29 PM Leszek Koltunski

Fix for a crasher.

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

Rename Meshes.

dfbb340a 08/27/2020 12:51 PM Leszek Koltunski

Fix: nwo we need to explicitly set mesh center to negative Z if we want to GLOW a flat object.

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!)

f05807f7 08/11/2020 08:33 PM Leszek Koltunski

Add the Dino dmesh file.

935f3663 08/11/2020 06:12 PM Leszek Koltunski

Fix the way we continue rotation: when rotating a layer, we need to be doing it with respect to the RotAxis which has been first casted to the touched face, and only then this casted one is casted to the surface of the screen.

Before we were casting the rotAxis directly to the screen without the intermediate casting to the face, which doesn't really work in case of the Dino: if the touched face is rotated away by quite a lot, the rotAxis is then completely counterintuitive.