Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src @ e35247b8

# Date Author Comment
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.

74b08185 08/26/2020 09:18 PM Leszek Koltunski

Fix for Samsung Android 5

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!

ee49d995 08/26/2020 12:30 AM Leszek Koltunski

Update dmesh'es to 'proper' (i.e. with centers) version 2.

e69c7a11 08/25/2020 05:57 PM Leszek Koltunski

Update all the dmeshes to versions 2.

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

fef4437d 08/12/2020 10:08 AM Leszek Koltunski

Correct color of 2 ui elements

44bdd3fb 08/11/2020 10:22 PM Leszek Koltunski

Fix the fact that now there are too many tabs in the Scores dialog - make the tabs SCROLLABLE.

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.

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

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

ee64e15a 08/11/2020 10:21 AM Leszek Koltunski

A bit less Sink effect (1.25) when creating the individual cubits of the Dino - with the previous 1.30 there was a bit of an artifact visible when rotating.

5944e760 08/10/2020 11:49 PM Leszek Koltunski

Fix the bug reported by Antonio Campos Galán: sometimes the app would not detect that the Cube is solved.

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 )

736bbd74 08/08/2020 10:56 PM Leszek Koltunski

Correct Dino row chances ( the middle row should never move! )

2c699055 08/08/2020 10:36 PM Leszek Koltunski

New Dino images.

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

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

7ec268b1 08/07/2020 10:48 PM Leszek Koltunski

Stop crashing when the last installed version has an Object remembered, then we install a new version without this Object in the RubikObjectList.

380162cb 08/07/2020 12:13 AM Leszek Koltunski

Progress with RubikDino.

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

Progress with the Dino.

418aa554 07/30/2020 10:32 PM Leszek Koltunski

Beginnings of support for a new Object: the Dino.

db19ef39 07/30/2020 10:46 AM Leszek Koltunski

We need to up the version to 1.3.5 - new release to AppInChina because of the previous commit

977f40d3 07/30/2020 10:41 AM Leszek Koltunski

Tencent, the largest Chinese store does not accept apps with a space in their name! Correct.

4489e68e 07/24/2020 02:50 PM Leszek Koltunski

Catch possible exceptions setting up the Renderer (possible on very old devices) and display the OpenGL error popup.

d0e6a440 07/24/2020 02:41 PM Leszek Koltunski

App name must match the certificate issued by the Chinese authorities.

82f42eeb 07/22/2020 09:53 AM Leszek Koltunski

We need to pause an Activity in the following way:

1) Activity.onPause()
2) View.onPause()
3) Library.onPause()

otherwise sometimes there are artifacts when pausing!

3e104c25 07/09/2020 11:14 PM Leszek Koltunski

Display the 'Privacy Policy' dialog (only if locale is set to ZH - chinese requirement) (Part 2)

b1e9596b 07/09/2020 10:48 PM Leszek Koltunski

Display the 'Privacy Policy' dialog (only if locale is set to ZH - chinese requirement)

6d4d56cb 07/06/2020 10:03 PM Leszek Koltunski

Correction of the size of '3x3x3 Solver' bitmaps.

79e752b3 07/06/2020 09:37 PM Leszek Koltunski

Solving time - display it more accurately.

362807f0 07/06/2020 08:34 PM Leszek Koltunski

Make the Scores Dialog screen-size invariant.

2d30558e 07/06/2020 06:34 PM Leszek Koltunski

Reinvent the Pattern Dialog (Part 4)

5de2c572 07/06/2020 12:12 PM Leszek Koltunski

Reinvent the Pattern Dialog (Part 3)

054fbee1 07/06/2020 11:51 AM Leszek Koltunski

Reinvent the Pattern Dialog (Part 2)

4debbf44 07/05/2020 10:57 PM Leszek Koltunski

Reinvent the Pattern Dialog (Part 1)

31a9f38d 07/04/2020 11:07 PM Leszek Koltunski

Introduce HUGE ui version.

b96a20a4 07/04/2020 09:48 PM Leszek Koltunski

Catch an error that sometimes happens in the field.

f6a9c538 07/04/2020 09:41 PM Leszek Koltunski

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

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.

19f0f767 06/27/2020 08:25 PM Leszek Koltunski

Re-introduce possibility to dynamically create object mesh.

f4a73021 06/27/2020 08:11 PM Leszek Koltunski

Correct the flag of Trinidad & Tobago.

59535491 06/26/2020 09:10 PM Leszek Koltunski

Save the name of the current state to Shared Prefs (and not the ordinal which might change in the future!)

3e7bb3fd 06/26/2020 08:49 PM Leszek Koltunski

Speed up WinEffectGlow - MEDIUM quality is fully enough.

c7b00dfb 06/26/2020 01:54 PM Leszek Koltunski

Introduce two-fingered object resize.

ad0c8e0e 06/26/2020 12:22 PM Leszek Koltunski

Make the margins and paddings proportional to screen size.

18d368ce 06/26/2020 11:41 AM Leszek Koltunski

Shorten some strings

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

Object node: size of screenWidth.

88fb92ba 06/25/2020 11:12 PM Leszek Koltunski

Improvements to the Menu.

40c8c5fa 06/25/2020 09:38 PM Leszek Koltunski

clear moves when the change the object.

15846fe4 06/25/2020 09:35 PM Leszek Koltunski

cube_back and cube_solve buttons.

e03e0352 06/25/2020 08:53 PM Leszek Koltunski

Remove the 'MAIN' state.
Fix one crasher with two-fingered dragging in the View.

c558f011 06/23/2020 05:08 PM Leszek Koltunski

Improve setting text size in Spinners (forgotten part).

011fcfe0 06/21/2020 12:56 PM Leszek Koltunski

Improve setting text size in Spinners (forgotten part).

9513f213 06/21/2020 12:27 PM Leszek Koltunski

Improve setting text size in Spinners.

8bbac3c2 06/21/2020 12:02 PM Leszek Koltunski

Improve rotations of the Pyraminx; synchronize begin/add/finish Rotation in the RubikObject (now it is possible to begin new rotation when an old one didn't finish yet!)

52d0a923 06/21/2020 11:27 AM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 7 - last 2 Dialogs)

fb37b424 06/20/2020 11:35 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 6 - next 5 Dialogs)

2eb74743 06/20/2020 10:55 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 5 - first 3 Dialogs)

98e7cc0f 06/20/2020 09:50 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 4)

7ebd72f7 06/20/2020 09:42 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 3)

1bd07548 06/20/2020 09:17 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 2)

e3c74c0f 06/20/2020 07:38 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 1)

e31abc1e 06/20/2020 02:04 PM Leszek Koltunski

Minor tweak.

6a71c9b3 06/20/2020 12:39 PM Leszek Koltunski

Make the top three controls in the Play state reach all the way from the left to the right edge of the screen.

31227bf6 06/20/2020 12:21 PM Leszek Koltunski

Move the 'Effects' thing to a button in the Play state.

00ffccc4 06/20/2020 11:14 AM Leszek Koltunski

Report to Firebase exceptions with dismissing the Main Dialog.

7eae2d49 06/20/2020 09:58 AM Leszek Koltunski

On object change, report FPS to Firebase

7695a3be 06/19/2020 11:52 PM Leszek Koltunski

Two-fingered object rotation seems to be finished.

a4472437 06/19/2020 09:38 PM Leszek Koltunski

Progress with dragging.

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

0b7e1b05 06/19/2020 12:35 PM Leszek Koltunski

Progress with improvements for cube manipulation.

8d50e08d 06/18/2020 09:03 PM Leszek Koltunski

Initial attempt at two-finger rotation.
Mostly works; still, one corner case doesnt:

- put two fingers down, start rotating
- lift one of them up
- put it back down

depending if we lifted the first or second finger, weird things may happen.

50c66e3d 06/18/2020 11:13 AM Leszek Koltunski

Lock screen orientation to portrait.

4c864c68 06/18/2020 11:05 AM Leszek Koltunski

Further improve rotations of a Object layer - make them independent of physical screen size (now it depends on the angle of rotation and, if that's 0, on the speed (in inches of second) of the finger swipe done by the user.

cd83d0aa 06/18/2020 10:39 AM Leszek Koltunski

Make the rotations and drag be independent of physical screen dimensions - take into account pixel density.

f0533889 06/17/2020 08:57 PM Leszek Koltunski

Split up the onTouch() part of the View.

1019cc43 06/17/2020 08:32 PM Leszek Koltunski

Improvements for the way we rotate layers of Objects: make it possible to begin a rotation during a WIN effect.

168b6b56 06/17/2020 03:45 PM Leszek Koltunski

Improvements for the way we rotate layers of Objects. (take the speed into account - so even if we rotated a layer of a Cube to less than 45 degrees, but we did it fast, do a 90 degree rotation!)

c1df2105 06/16/2020 07:37 PM Leszek Koltunski

Only compile the Full, Normal & OIT programs when they are actually needed.

cb004f2e 06/16/2020 12:24 PM Leszek Koltunski

Take advantage of recent improvements to the library and stop allocating a queue of 4 FBOs - even if we are running on a Mali r12.

4c4b3ee1 06/15/2020 08:26 PM Leszek Koltunski

Smaller (and of better quality!) meshes.

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.

5a4d4fba 06/09/2020 11:18 PM Leszek Koltunski

Convert the PostRender to a PreRender, called before we render.
This makes more sense as this way things are prepared for the very first render.

2fcad75d 06/09/2020 12:20 PM Leszek Koltunski

Bugfixes.

ad73edd5 06/07/2020 11:17 PM Leszek Koltunski

Minor speedup

818431ed 06/07/2020 10:51 PM Leszek Koltunski

Bump version to 1.2.2

98904e45 06/07/2020 09:42 PM Leszek Koltunski

More progreess porting RubikCube. Rotation mostly working now.