Project

General

Profile

Download (54.8 KB) Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / main / TwistyObject.java @ c60d98c4

# Date Author Comment
c60d98c4 04/23/2022 02:07 AM Leszek Koltunski

Bugfix

c9e40dfc 04/23/2022 01:30 AM Leszek Koltunski

Bugfix

beee90ab 04/22/2022 05:32 PM Leszek Koltunski

Preparation for Mixup Cube: take advantage of the recent bump in MAJOR_VERSION number and change the format of basicAngles to int[][] 'per-axis-per-layer' [ Mixup Cube has different basicAngle in its middle layers (8) - and different in its edge layers (4) ]

df781f1d 04/22/2022 02:54 PM Leszek Koltunski

BandagedCreator: colorful cube.

dcce7b29 04/21/2022 01:12 PM Leszek Koltunski

Progress with cubit quaternions.

9554f5d4 04/21/2022 01:33 AM Leszek Koltunski

Progress with cubit quaternions.

a4af26c1 04/20/2022 11:41 PM Leszek Koltunski

Progress with cubit quaternions.

97a6aa87 04/20/2022 12:28 AM Leszek Koltunski

Progress with cubit quaternions.

a0ccffb4 04/19/2022 02:47 PM Leszek Koltunski

FactorySticker: further improvements.

78cb3c28 04/14/2022 02:03 PM Leszek Koltunski

preparation for dual animation on/off modes in BandagedPlay

3ef1609d 04/13/2022 01:07 AM Leszek Koltunski

Simplify the way we remember cubit quats, and delete those from SharedPrefs when we delete a bandaged object.

8b5894af 04/06/2022 06:29 PM Leszek Koltunski

Bandaged 3x3: remember object state and move history.

0ed726d2 04/02/2022 09:35 PM Leszek Koltunski

Bugfix: if a puzzle has overridden 'getCubitFaceMap()' method (like for example Container, in order to make internal walls colorful) then before this might have screwed up computation of the solvedGroups. Correct that.

3bf19410 03/29/2022 05:20 PM Leszek Koltunski

Mode the 'iconMode' from static variable in ObjectControl to member varaible in TwistyObject (safer)

690557d9 03/19/2022 11:40 PM Leszek Koltunski

Special isSolved() function for the case where a puzzle has no corner or edge cubits (Trajber 4x4!)

8409826d 03/05/2022 02:19 AM Leszek Koltunski

Pyraminx Crystal: beginnings.

5f54927b 02/25/2022 03:34 PM Leszek Koltunski

Preparation for local creation of puzzles: remove the 'ObjectType' enum from TwistyObject class.

10b7e306 02/21/2022 02:29 PM Leszek Koltunski

New, generalized ScrambleState generator that should work for any bandaged 3x3.

325a17e0 02/14/2022 11:33 PM Leszek Koltunski

Progress with Axis Cube - model the first 2 cubits.

3d2493ea 02/07/2022 11:04 AM Leszek Koltunski

Simplify coloring internal stickers

7ec32155 02/06/2022 10:07 PM Leszek Koltunski

Make it possible to color internal walls as well.

05b0a7dd 02/03/2022 12:27 AM Leszek Koltunski

Bugfix for a rare (?) crash.

a2d6c41a 01/17/2022 03:17 PM Leszek Koltunski

Re-organize tutorial list so that we can pull this one from JSON files.

052e0362 01/16/2022 03:59 PM Leszek Koltunski

Step towards tutorial JSON files.

253e440f 01/13/2022 04:57 PM Leszek Koltunski

Configurable internal colors. This somehow screwed up the Container!

dae74fc9 01/13/2022 03:44 PM Leszek Koltunski

Finish the Container.

0e161d26 01/13/2022 12:32 AM Leszek Koltunski

Container Cube: mostly done.

cd2e8d4c 01/08/2022 12:33 PM Leszek Koltunski

Implement new TouchControlShapemod

82904e62 01/07/2022 11:16 PM Leszek Koltunski

Implement the Windmill Cube

3c48fab9 01/06/2022 12:00 AM Leszek Koltunski

unify every isSolved() routine except one: part II : new JSONs.

ed0988c0 01/05/2022 11:04 PM Leszek Koltunski

unify every isSolved() routine except one - the Dino4 is still special.

19595510 01/05/2022 03:56 PM Leszek Koltunski

Preparation for further unification of the isSolved() routine.

f5426a4c 01/05/2022 02:04 PM Leszek Koltunski

fix the non-standard isSolved() functions to reflect the changes in order of the quaternions in the group.

1b7ece90 01/05/2022 12:16 PM Leszek Koltunski

Standarize two next functions - getSolvedQuats and getSolvedFunctionIndex.
Now all objects except Dino6, Dino4 and Square-2 have them the same.

89a00832 01/05/2022 12:37 AM Leszek Koltunski

Convert Minx'es.

802fe251 01/04/2022 11:27 PM Leszek Koltunski

Convert Ulti, Jing, Pyra, Diamond, Dinos, Redi, Skewbs, Ivy & Rex to the new scheme where the quaternion group is computed automatically.

d55d2c6a 01/04/2022 09:27 PM Leszek Koltunski

Clenups.

a05b6e06 01/04/2022 04:39 PM Leszek Koltunski

Clenups.

d0e6cf7f 01/04/2022 01:17 AM Leszek Koltunski

Simplification.

d4105efe 01/04/2022 12:55 AM Leszek Koltunski

Simplification.

59a971c1 01/04/2022 12:40 AM Leszek Koltunski

Remove the need to provide the number of outer faces of a ObjectShape.

3afd2fe4 01/03/2022 06:13 PM Leszek Koltunski

Make the bitmaps ARGB_4444 - i.e. twice smaller than before.

9b1fe915 01/03/2022 02:38 PM Leszek Koltunski

Finally remove the 'getCubitFaceColor()' API

4c9ca251 01/02/2022 09:25 PM Leszek Koltunski

Add the getFaceAxis() API and fill up the getDist3D() API.

5931ae4d 01/02/2022 12:31 AM Leszek Koltunski

Beginning to automatically calculate cubitFaceColors.

7994b456 01/01/2022 10:44 PM Leszek Koltunski

cleaning up.

d66e98d7 01/01/2022 07:37 PM Leszek Koltunski

Remove the 'getNumCubitFaces()' object API: correction.

1f264f3e 01/01/2022 07:08 PM Leszek Koltunski

Remove the 'getNumCubitFaces()' object API.

ac97ecc0 01/01/2022 01:44 PM Leszek Koltunski

Progress towards removing the 'getNumCubitFaces()' object API.

b968d359 01/01/2022 01:09 PM Leszek Koltunski

Simplify.

3ee1d662 12/31/2021 12:37 AM Leszek Koltunski

Split ObjectShape into ObjectShape and ObjectFaceShape

ec42a6fe 12/30/2021 11:15 PM Leszek Koltunski

Finally move the 'getVariantFaceColor()' method to the base class.

e3937019 12/30/2021 11:47 AM Leszek Koltunski

Progress standarising stickering.
Looks like all four object creation modes - J0M0, J0M1, J1M0 and J1M1 are supported now.

e16fd960 12/30/2021 12:24 AM Leszek Koltunski

Progress standarising stickering.

d53fb890 12/29/2021 11:10 PM Leszek Koltunski

Progress standarising stickering.

00f4980d 12/29/2021 01:06 AM Leszek Koltunski

Progress standarising stickering - adjust sticker radii based on cos of the angle at the sticker vertex.

3d766df3 12/28/2021 09:13 PM Leszek Koltunski

Progress standarising stickering.

7af68038 12/28/2021 02:07 AM Leszek Koltunski

Progress

1561a74f 12/27/2021 12:46 AM Leszek Koltunski

Progress

f7d2e0e1 12/26/2021 12:01 AM Leszek Koltunski

Progress

2617d26b 12/25/2021 09:48 PM Leszek Koltunski

Progress

0351740a 12/18/2021 10:34 PM Leszek Koltunski

Bugfixes for the shape of Megaminxes.

c3a033e9 12/07/2021 11:17 PM Leszek Koltunski

Introduce 'Simple' and 'Nice' meshes.

32c1697e 11/18/2021 10:51 PM Leszek Koltunski

Better error reporting.

0c5d8bf7 11/18/2021 05:34 PM Leszek Koltunski

FIx some issues with ShapeChanging; implement per-object TouchControlSquare and TouchControlMirror.

92a6fc8b 11/16/2021 01:02 AM Leszek Koltunski

Implement example ShapreChanging object control and convert the Mirror Cube to use it.

11fa413d 11/14/2021 12:35 AM Leszek Koltunski

Make the ShapeChanging the default TouchControl during MODE_REPLACE.

3a1efb32 11/12/2021 02:17 AM Leszek Koltunski

Bugfixes for the ShapeChanging touch control.
Still doesn't work but doesn't crash anymore :)

57ef6378 11/11/2021 04:22 PM Leszek Koltunski

Float vertices - scratchbook

c9c71c3f 11/08/2021 03:38 PM Leszek Koltunski

Abstract out the TouchControl stuff in preparation for its new type - TouchControlShapeChanging.

23afe4c4 11/08/2021 02:54 PM Leszek Koltunski

Move the Movement to its own package; abstract out some stuff.

f86b282a 11/08/2021 01:49 PM Leszek Koltunski

Minor.

45e0065d 11/03/2021 04:24 PM Leszek Koltunski

Correct the next bug with settign the object size.
Multiply the time limits in BlockController by 2 - this way we can see if the ratio of (UI+Touch)/Thread Firebase non-fatals will observably drop below the current value of 4.

d5c71d02 11/03/2021 01:36 PM Leszek Koltunski

Make it possible to extract objects' sticker pngs.

64c209f5 11/02/2021 11:30 PM Leszek Koltunski

Fix problems with TwistyObjectNode 'object scale' property.
Now this property is not part of the Node at all, but its initial value passed to the object in its constructor.

0f72365b 11/02/2021 04:58 PM Leszek Koltunski

Add 'shouldResetTextureMaps' to the JSON puzzle description.

0e1437c1 11/02/2021 10:30 AM Leszek Koltunski

Correct the way ObejctScale works in the TwistyObjectNode.

e1a86bf2 10/30/2021 01:46 AM Leszek Koltunski

Move the main app to the 'J1M1' object creation mode, i.e. create them from the Json files and using the Dmesh fiels as well.

Make it possible for any app descending from the 'objectlib' to use any of the J0M0, J0M1, J1M0, J1M1 modes.

39b4dcfd 10/28/2021 10:56 PM Leszek Koltunski

Remove ObjectType from a few moree places.

332e1fb0 10/28/2021 10:22 PM Leszek Koltunski

Make the meshAssociation of the Rotate effect independent of the global MAX_SIZE of any implemented object.
Now only the NUM_OF_AXIS*MAX_NUM_OF_LAYERS of any individual object needs to be <=32 - before the second factor was global, which - because of the recent introduction of the Cube6 - screwed the Gigaminx (!) where NUM_OF_AXIS=6 and GLOBAL_MAX_NUM_LAYERS = 6 now, so 6*6>32 !

d887aa16 10/28/2021 01:59 AM Leszek Koltunski

Remove dependancies on Firebase from objectlib.
Report such errors to the application via the Interface.

82eb152a 10/27/2021 12:33 AM Leszek Koltunski

JsonReader (?) finished: the creator app can now read objects from JSON files.

e26eb4e7 10/22/2021 04:49 PM Leszek Koltunski

Do not pull the inventors and the names of objects from Resources.

7ba38dd4 10/22/2021 02:59 AM Leszek Koltunski

Major change: separate the notion of a TwistyObject and its Node. Now,

1) the Node stays when we change objects (this makes transitions faster)
2) it's possible to just create an Object without adding it to the Screen (now app needs to explicitly create the Node and add it to its Screen itself)

a75ae1ee 10/21/2021 01:16 AM Leszek Koltunski

Separate the notions of a sticker shape and a sticker color.

43a4ccff 10/20/2021 01:21 PM Leszek Koltunski

simplify sticker/color map.

7b832206 10/20/2021 01:32 AM Leszek Koltunski

Progress with serializing object to JSON: cubits.
Only faceColorMap remains now.

e30c522a 10/20/2021 12:51 AM Leszek Koltunski

Progress with serializing object to JSON: shapes.

1bb09f88 10/19/2021 06:30 PM Leszek Koltunski

Progress with serializing object to JSON: stickers, quats.

7bbfc84f 10/18/2021 11:43 PM Leszek Koltunski

Progress with serializing object to JSON: rotations.

f9a81f52 10/18/2021 10:58 PM Leszek Koltunski

Progress with serializing object to JSON: scrambling.

59c20632 10/18/2021 02:06 PM Leszek Koltunski

Reorg for writing the JSON

e7daa161 10/12/2021 01:59 PM Leszek Koltunski

- remove the retarded NODE_RATIO from TwistyObject
- more correctly estimate Cuboid's 'realSize' as an average of their 3 sizes.

dfdb26a9 10/12/2021 01:40 AM Leszek Koltunski

First attempt at cuboids. 2x2x3 and 3x3x4 mostly working :)

a57e6870 10/11/2021 10:53 PM Leszek Koltunski

make numLayers into an int[] (preparation for Cuboids)
Caution: because of previous changes to cubit order in cube, the Solver is broken!

568d4698 10/11/2021 11:00 AM Leszek Koltunski

New API to objectlib to recreate an already displayed object (because the settings, like 'IconMode' might have changed) and using the new API in puzzle-creator.

ee6bb8d7 10/08/2021 11:27 PM Leszek Koltunski

New API for the IconMode: set scale of the object.

2289cab1 10/08/2021 05:56 PM Leszek Koltunski

New 'IconMode' and some APIs to support it.

758b028d 10/07/2021 10:32 PM Leszek Koltunski

Improvements for the new Border effect. Now works, but covers the object - to be corrected.

3e9df6aa 10/06/2021 05:54 PM Leszek Koltunski

Mesh creation: finished.