Project

General

Profile

Statistics
| Branch: | Revision:

examples / src / main @ 2f250195

# Date Author Comment
2f250195 06/06/2022 03:47 PM Leszek Koltunski

Introduce InitData, a data structure used to initialize a TwistyObject.
Current (optional) members: int[] numLayers, int param [intended: type of the Crazy 3x3 planet], float[][] pos [position of a bandaged cube] )

5b420753 04/15/2022 12:51 AM Leszek Koltunski

BandagedPlay: configurable mode and scramble depth

3e129d0b 03/30/2022 01:23 AM Leszek Koltunski

Create the bandaged 3x3 icon: something works, the shape is drawn, but it's entirely black. Investigate.

cfbd047c 01/14/2022 12:38 AM Leszek Koltunski

Improve the CU_232 mesh.

6feb416a 01/13/2022 09:42 PM Leszek Koltunski

Container's JSON and mesh - one more corrrection.

d32fe3d9 01/13/2022 02:28 PM Leszek Koltunski

Fix a bug in FactoryCubit: before sometimes it would incorrectly rotate a 'collapsed sticker' face if the face was flipped.
Also: polish up the Container.

a4d6a520 01/11/2022 11:36 PM Leszek Koltunski

Add Pyramorphix.

bc9968ad 01/07/2022 11:16 PM Leszek Koltunski

Implement the Windmill Cube

fa96775c 01/04/2022 12:40 AM Leszek Koltunski

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

0dee575b 01/01/2022 10:32 PM Leszek Koltunski

cleaning up.

49bdc39e 12/25/2021 09:48 PM Leszek Koltunski

Progress

fb90b370 12/20/2021 10:23 PM Leszek Koltunski

Trajber's Octahedron: progress.

0a48b96c 12/20/2021 04:49 PM Leszek Koltunski

Trajber's Octahedron: progress.

c6f4bd1e 12/19/2021 10:40 PM Leszek Koltunski

Trajber's Octahedron: first try.

e018a923 12/08/2021 12:19 AM Leszek Koltunski

'Simple' and 'Nice' meshes: fix Rex.

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

Introduce 'Simple' and 'Nice' meshes.

3f7a9aec 11/11/2021 04:22 PM Leszek Koltunski

Float vertices - scratchbook

65dd40aa 10/28/2021 05:54 PM Leszek Koltunski

Add Cube6.

1bb5d3b7 10/28/2021 01:06 PM Leszek Koltunski

Add testing of MeshPolygon to the MeshFile app.

cef5d326 10/08/2021 12:42 PM Leszek Koltunski

New BORDER effect.

caf7ce0a 10/08/2021 09:33 AM Leszek Koltunski

Minor

5b829159 10/07/2021 10:32 PM Leszek Koltunski

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

1b80a6e2 10/07/2021 03:23 PM Leszek Koltunski

New postprocess effect 'Border' (not working yet) and adding it to the testing app 'Triblur'.

a40adec7 08/17/2021 05:30 PM Leszek Koltunski

Convert the Ivy corner cubit to the new, 'universal' cubit creation method.

This forces deep changes to 'createRoundSolid' and the underlying 'MeshPolygon' class to make them support arbitrary Polygon 'centers of face convexity'.

Reason: the faces of this cubit are concave and such default 'center of face convexity' (which by default used to be (0,0)) turned to lie outside the face - which produces strange visual artifacts.

cf7ec8fa 07/29/2021 12:24 AM Leszek Koltunski

New 'JingPyraminx' object - add the mesh.

99571baa 07/24/2021 12:11 AM Leszek Koltunski

New 'Jing' cubit shapes: corrections.

9db7b0e5 07/16/2021 01:07 PM Leszek Koltunski

New 'Jing' cubit shapes.

4b2cad6d 06/17/2021 05:35 PM Leszek Koltunski

Correct the Redmi mesh to eliminate the visible seams.

31d42722 06/08/2021 01:59 PM Leszek Koltunski

Add Square-2 corner cubit.

96a6db6c 06/03/2021 04:36 PM Leszek Koltunski

Progress with cubit shapes of the Square-1.

5690134d 06/01/2021 12:45 PM Leszek Koltunski

Dynamic App: add support for the new SpeedMode inside Dynamics. (so far only first two SpeedModes - smooth and segment_constant - are supported )

db9903e8 05/23/2021 04:02 PM Leszek Koltunski

2 Skewb Ultimate cubits.

ab004c6d 05/16/2021 11:19 PM Leszek Koltunski

RubikControl: fixes; progress.

6983badf 04/18/2021 10:06 PM Leszek Koltunski

Port bugfixes from DistortedCube; add Ivy Corner & Ivy Face meshes.

3083fab8 04/14/2021 12:03 AM Leszek Koltunski

Cubit creation: properly cener the textures. Add Kilominx edge.

6a96e571 04/12/2021 10:32 PM Leszek Koltunski

Cubit creation: center the textures. Add octahedron.

f4b59207 04/12/2021 09:21 PM Leszek Koltunski

Cubit creation: bugfixes.

4d883a92 04/12/2021 03:46 PM Leszek Koltunski

Cubit creation: bugfixes. Cube, Tetrahedron, Dino cubits - all work.

28f4aba0 04/12/2021 12:57 AM Leszek Koltunski

Face cubit creation: progress: cube & tetrahedron work; dino cubit does not.
Also, the texture is not yet moved inside the (0,1)x(0,1) square.

1b85f172 04/10/2021 05:45 PM Leszek Koltunski

Face cubit creation: progress: rounded corners

140f2c4e 04/09/2021 03:00 PM Leszek Koltunski

Face cubit creation: progress, a cube renders correctly :)

ef231eba 04/09/2021 12:56 AM Leszek Koltunski

Face cubit creation: progress, a cube rendered almost correctly :)

33647db9 04/08/2021 10:14 PM Leszek Koltunski

Face cubit creation: compiles and runs now (but results are incorrect)

54e47d9b 04/01/2021 11:53 PM Leszek Koltunski

Progress with any size Kilominx.

116af6dc 03/16/2021 11:44 PM Leszek Koltunski

Progress with bandaged cubes.

04a21ed6 03/15/2021 09:19 PM Leszek Koltunski

Progress with bandaged cubes.

a65604a7 03/15/2021 03:59 PM Leszek Koltunski

Beginnings of support for bandaged versions of the 3x3 cube.

ef02f5e0 02/23/2021 09:54 PM Leszek Koltunski

Bugfixes as a result of the Samsung Galaxy J4+ investigation:

1) By default, switch off transform feedback in the main program.
Create a new API 'needTransformFeedback()' to call if someone still needs TF in the main program.
2) lower the default max number of vertex effects to 30....

6d020cb6 01/26/2021 09:35 AM Leszek Koltunski

Progress with Megaminx.

b3d28a81 01/19/2021 04:17 PM Leszek Koltunski

Beginnings of Megaminx & Gigaminx

736a0b00 01/13/2021 12:22 PM Leszek Koltunski

We need to re-add upping the max number of fragment effects as their default was lowered back to 5 in the library.

6979a0e0 01/10/2021 12:05 AM Leszek Koltunski

Remove all the calls to DistortedLibrary.setMax() (except for app 'Check', which explictly checks this API)

431929cf 01/08/2021 04:08 PM Leszek Koltunski

Plug two more memory leaks. It should be fine now.

42ec9110 01/07/2021 04:00 PM Leszek Koltunski

Fixes for Deform and Moving Effects.

e0838536 12/31/2020 09:58 PM Leszek Koltunski

Progress with the Kilominx - rotations.

fe032f52 12/28/2020 10:53 PM Leszek Koltunski

New shape: Kilominx corner.

f7936f2f 12/16/2020 02:31 PM Leszek Koltunski

Rex Cube - new mesh, textures and icon.

63fb0859 12/11/2020 09:25 PM Leszek Koltunski

Fixes for the Rex Cube (mostly works now)

7cd30f7c 12/11/2020 10:28 AM Leszek Koltunski

Fixes for the Rex Cube (still doesn't work)

1c41c4c9 12/08/2020 10:46 PM Leszek Koltunski

Improve the Ivy mesh.

a9df241d 11/16/2020 12:04 PM Leszek Koltunski

More support for using the library from more than one activity

7c72e798 11/11/2020 02:26 PM Leszek Koltunski

1) Beginnings of support for using the library from more than one activity
2) rename DistortedLibrary.onCreate() to onSurfaceCreated()
3) (rubik) add Cambodia's flag.

3fbd81f1 11/07/2020 08:37 PM Leszek Koltunski

Minor.

55f20739 10/19/2020 04:30 PM Leszek Koltunski

Progress with the Ivy.

6af1e973 10/15/2020 03:09 PM Leszek Koltunski

Minor.

36793c52 10/15/2020 10:44 AM Leszek Koltunski

Replicate the 'INVALID_OPERATION trying to glMapBufferRange for the second time' bug.

7edab735 10/13/2020 12:32 PM Leszek Koltunski

Some improvements to MeshFile.

f8d44470 09/19/2020 10:22 PM Leszek Koltunski

Dmesh for the Helicopter.

72059460 09/16/2020 08:51 PM Leszek Koltunski

MeshFile.

1beffb69 09/14/2020 10:30 PM Leszek Koltunski

Procedural Skewb cubits and the Skewb mesh for MeshFile.

df7b70a0 09/10/2020 03:18 PM Leszek Koltunski

New Pyraminx meshes.

e75d1866 09/10/2020 02:04 PM Leszek Koltunski

Minor.

6991ece5 09/10/2020 02:03 PM Leszek Koltunski

Add possibility to display also a procedurally created Mesh in MeshFile.

db18f8ce 09/09/2020 12:53 PM Leszek Koltunski

New TwistyObjects meshes.

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

Rename Meshes.

57a3f798 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.

480b827b 08/26/2020 05:14 PM Leszek Koltunski

MeshFile app: add a texture for the Dino mesh.

38b31baa 08/26/2020 12:24 AM Leszek Koltunski

Add component centers to dmesh version 2.

81c7daef 08/25/2020 05:48 PM Leszek Koltunski

Update all the dmeshes to versions 2. Add the Dino dmesh.

01c4332c 08/14/2020 01:46 PM Leszek Koltunski

Progress with the MeshFile app: new icon

8aece7f2 08/14/2020 12:10 PM Leszek Koltunski

Progress with the MeshFile app.

39b925d5 08/13/2020 10:40 PM Leszek Koltunski

Progress with the MeshFile app: disappear works now.

7198e5c9 08/13/2020 10:00 PM Leszek Koltunski

Progress with the MeshFile app.

16b336db 08/13/2020 02:00 PM Leszek Koltunski

Add a 'Scale' seekBar to the MeshFile app.

8bf89617 08/13/2020 01:35 PM Leszek Koltunski

New effect VertexEffectDisappear

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

Add the Dino dmesh file.

bf2e8f97 07/30/2020 10:38 AM Leszek Koltunski

Improve the Blur App to catch the bug where a small part of the Blur (and Glow) halo gets displayed on the other edge of the surface.

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

099d8f8b 07/20/2020 05:57 PM Leszek Koltunski

Make the MeshFile app survive a period of being paused.

e50e7ba7 07/20/2020 05:11 PM Leszek Koltunski

1) rename DistortedTexture's setColor to setColorARGB
2) fix the Wiind app to take into account paused time
3) fix the Dynamic so that if a single Dynamic is used more than once (in more than one effect) than it doesn't get adjusted for paused time multiple times.

52e8e76a 07/20/2020 12:26 PM Leszek Koltunski

Before somehow the Dynamics sometimes tolerated not being reset to beginning before next use. New version doesn't - correct that in two apps.

d5e134f2 07/18/2020 10:39 PM Leszek Koltunski

Fixes for pausing and restarting.

93675c1a 06/17/2020 11:40 PM Leszek Koltunski

App Icon

061449ed 06/16/2020 07:37 PM Leszek Koltunski

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

693ecdd4 06/16/2020 10:18 AM Leszek Koltunski

Example meshes for the MeshFile app.

7c55263f 06/15/2020 01:48 PM Leszek Koltunski

Library: introduce a new form of the MeshRectangular grid, where the individual rows and columns can be each of different width. This help reduce the number of vertices in objects as typically we are only interested at distorting a certain subregion.

Modify the Bean app to take advantage of this.

48c88f57 06/14/2020 06:30 PM Leszek Koltunski

Progress with the MeshFile app.

8ac4c0bc 06/14/2020 10:30 AM Leszek Koltunski

Progress with the MeshFile app.

acad428e 06/13/2020 08:28 PM Leszek Koltunski

Reading a mesh from the .dmesh file works now.

1af8e143 06/13/2020 02:52 PM Leszek Koltunski

Reading a mesh from the .dmesh file might work now. Checked on two small meshes.