Project

General

Profile

Statistics
| Branch: | Revision:

examples / src / main / java @ bf2e8f97

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

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

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

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.

71c7624f 06/13/2020 12:33 AM Leszek Koltunski

Progress with MeshFile

42aa970f 06/13/2020 12:12 AM Leszek Koltunski

Skeleton of a new App: MeshFile

304cdff5 06/10/2020 12:24 PM Leszek Koltunski

new app icons; skeleton of reading/write a Mesh from/to a file.

ba984444 06/07/2020 01:41 PM Leszek Koltunski

Bugfix and new debugging methods in MeshBase
DeferredJob app rewritten to show the (just fixed) bug

96345c94 06/06/2020 09:31 PM Leszek Koltunski

Extend the MeshBase.setTextureMaps API so that we are able to set a single texture map to a single texture component, or a few consecutive at a time, not necessarily starting from component 0.

9cbe58b0 06/06/2020 12:17 AM Leszek Koltunski

Library: make setEffectAssociation a deferred job (because we do copy the uniforms during join!)
SingleMesh App: almost finished.

51e08404 06/05/2020 08:29 PM Leszek Koltunski

Progress with SingleMesh (texture maps)

5acaa863 06/05/2020 12:55 PM Leszek Koltunski

Progres with SingleMesh

758729b5 06/05/2020 12:34 PM Leszek Koltunski

Progres with SingleMesh; bugfix in MeshBase.apply(Matrix)

90940caf 06/04/2020 11:57 PM Leszek Koltunski

Skeleton of the SingleMesh app.

fcb09e1f 06/04/2020 11:35 PM Leszek Koltunski

- fix Around the World (one effect failed to add)
- add DeferredJob icon

eb507734 06/03/2020 08:25 PM Leszek Koltunski

Update Myanmar flag.

d08bd5a3 06/01/2020 10:40 PM Leszek Koltunski

DeferredJobs app/lib works now

b1950186 05/31/2020 09:31 PM Leszek Koltunski

Progress with DeferredJobs app/lib (still does not work though)

5dfbbda7 05/31/2020 06:51 PM Leszek Koltunski

Progress with DeferredJobs app (proves with the library part does not work :)

bf3b5480 05/31/2020 11:18 AM Leszek Koltunski

Progress with Deferred Jobs.

887e1853 05/31/2020 12:15 AM Leszek Koltunski

Skeleton of the new app: Deferred Jobs.

3c219720 05/30/2020 11:55 PM Leszek Koltunski

1. New icon for PreDeform app
2. Library: advances with DeferredMeshJobs

2845af2d 05/29/2020 06:24 PM Leszek Koltunski

Preparation for saving/reading Meshes to/from a file.

0e80d8a9 05/29/2020 03:48 PM Leszek Koltunski

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

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

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

0339e04e 05/23/2020 10:47 PM Leszek Koltunski

Progress with MeshJoin - round the corners. Looks so-so.

811ffcf5 05/23/2020 09:15 PM Leszek Koltunski

Progress with MeshJoin - sink association control done!

8982b894 05/23/2020 09:05 PM Leszek Koltunski

Progress with MeshJoin.

da412a40 05/23/2020 08:37 PM Leszek Koltunski

Fix VertexEffectRotate.
'MeshJoin' app now back it its functionality from 'master'

dd19d6e0 05/23/2020 06:53 PM Leszek Koltunski

Some progress with 'MeshJoin' app.

63c628a1 05/20/2020 09:30 AM Leszek Koltunski

Bugfix for Predeform app.

641ea00c 05/19/2020 06:08 PM Leszek Koltunski

1 more fix for the Predefrom app and preapplying Vertex Effects to a 1-component Mesh works :)

e6129574 05/18/2020 09:22 PM Leszek Koltunski

Progress with the Predeform app; deepCopy for the Meshes; various fixes.

c1f047b9 05/18/2020 01:30 PM Leszek Koltunski

Progress with the Predeform app.

9df01f21 05/17/2020 11:46 PM Leszek Koltunski

Progress with Predeform: UI for the list of Vertex effects to preapply.

4b7c432e 05/17/2020 09:04 PM Leszek Koltunski

Progress (?) with Predeform: give up trying to render the Mesh in Activity1.

0dc8ffef 05/17/2020 12:34 AM Leszek Koltunski

Progress with Predeform.

59835a0a 05/16/2020 08:51 PM Leszek Koltunski

Beginnings of a new 'Predeform' app which tests pre-applying a queue of Vertex Effects to a (single?) Mesh.
So far just a copy of Inflate app.

cdd71ce7 05/16/2020 07:56 PM Leszek Koltunski

Minor

5601cfa6 05/09/2020 12:23 AM Leszek Koltunski

Convert the last app, EffectQueue, to stretchless API.

0a57f222 05/08/2020 11:13 PM Leszek Koltunski

Minor.

b1fca44e 05/08/2020 10:52 PM Leszek Koltunski

Convert Generic to stretchless API.

75cc1461 05/08/2020 01:14 AM Leszek Koltunski

Improve Generic.

61420934 05/08/2020 01:07 AM Leszek Koltunski

Prepare Generic for the stretchless API.

f94110ca 05/08/2020 12:38 AM Leszek Koltunski

Convert Mirror to stretchless API.

5c3b92c4 05/08/2020 12:20 AM Leszek Koltunski

Convert DifferentBitmaps to stretchless API.

9930cd43 05/08/2020 12:08 AM Leszek Koltunski

Convert Check to stretchless API.

051f00eb 05/07/2020 11:59 PM Leszek Koltunski

Convert Glow to stretchless API.

e8bf2663 05/07/2020 11:53 PM Leszek Koltunski

Convert Save to stretchless API.

5d7e316e 05/07/2020 12:02 AM Leszek Koltunski

Convert SurfaceView to stretchless API.

410dfc37 05/06/2020 11:52 PM Leszek Koltunski

Convert ObjectTree to stretchless API.

c50a38f9 05/06/2020 11:36 PM Leszek Koltunski

Convert Multiblur to stretchless API.

55908771 05/06/2020 11:30 PM Leszek Koltunski

Convert Rubik app to stretchless API.

42d910b3 05/06/2020 11:19 PM Leszek Koltunski

Convert AroundTheWorld to stretchless API.

3bb0d218 05/06/2020 10:41 PM Leszek Koltunski

Convert Girl to stretchless API

278a214c 05/06/2020 10:04 PM Leszek Koltunski

Convert Blur to stretchless API.

355c0a07 05/06/2020 09:43 PM Leszek Koltunski

Convert Earth to stretchless API.

ba95a70b 05/06/2020 09:31 PM Leszek Koltunski

Convert AroundTheWorld to stretchless API.

dcd2cd41 05/05/2020 11:32 PM Leszek Koltunski

Convert Wind app to the stretch-less API.

bdf04acf 05/05/2020 11:18 PM Leszek Koltunski

Convert Stencil app to the stretch-less API.

40122d03 05/05/2020 11:10 PM Leszek Koltunski

Convert DifferentEffects app to the stretch-less API.

f1f50ad1 05/05/2020 10:19 PM Leszek Koltunski

Finally, after removing the calculation of the halo from the library and giving this decision to the user, we can update the Triblur app for the new MeshBase.setStretch-less API.

678c391d 05/05/2020 12:55 PM Leszek Koltunski

Change the Postprocessing effects: separate the radius and the halo.
Reason: we needed a way to specify the size of the halo around a postprocessed object; before it was automatically (and not very correctly) computed from the radius - before we knew the size of the object's bounding box, so this automatic computation was possible. Now we're removing the MashBase.getBounding(0 API, so the size of the halo has to be explicitly given by the user. This way is more correct anyway and gives the user more control (as the Multiblur app proves!)...

513b2e9c 05/03/2020 11:26 PM Leszek Koltunski

A lot of changes.

1) main vertex shader: remove support for degree_object. This functionality will hopefully come back when we introduce other than circular regions.
2) MeshBase: remove the need to set a Bounding box (this is the point of the whole thing - we wanted to get rid of this so that the advances in MeshJoined will be easier)...

8392dc7b 04/28/2020 11:07 PM Leszek Koltunski

Convert the third app, Transparency, to the new MeshBase.setStretch-less API ( use VertexEffectScale instead )

4867b578 04/28/2020 12:07 PM Leszek Koltunski

Convert the second app, Flag, to the new MeshBase.setStretch-less API ( use VertexEffectScale instead )

e3c87517 04/28/2020 11:28 AM Leszek Koltunski

Convert the first app, Inflate, to the new MeshBase.setStretch-less API ( use VertexEffectScale instead )

fc286c71 04/27/2020 10:13 PM Leszek Koltunski

fix for centers of Matrix effects.

073c140a 04/27/2020 09:32 PM Leszek Koltunski

new VertexEffectShear

60da87db 04/27/2020 08:09 PM Leszek Koltunski

new VertexEffectScale

ad98c3cb 04/27/2020 03:35 PM Leszek Koltunski

new VertexEffectRotate

4282d39a 04/25/2020 12:18 AM Leszek Koltunski

Add the first two VERTEX 'pseudo-matrix' effects: VERTEX_MOVE & VERTEX_QUATERNION i.e. implementations of those two MATRIX effects in VERTEX queue.

The point(s):

1) preparation for the upcoming MeshBase.preApply(VertexEffect effect) API that's going to supersede the current much more limited MeshBase.apply(MatrixEffect effect)...

2fad84a7 04/13/2020 08:22 PM Leszek Koltunski

Move to AndroidX, target API level 29.

1a620f79 03/28/2020 01:05 AM Leszek Koltunski

Progress with Pretty Patterns.

c6bfca20 03/10/2020 09:51 PM Leszek Koltunski

Fix the memory test - we need to run one thing on the Graphics thread!

40223bbb 03/09/2020 07:08 PM Leszek Koltunski

The Pyraminx itself finished - now its movements!

a8a553a5 03/09/2020 11:27 AM Leszek Koltunski

Progress with Pyraminx.

77e9d967 03/08/2020 10:08 PM Leszek Koltunski

Some progress with Pyraminx.

f793bd9d 03/08/2020 01:14 AM Leszek Koltunski

Minor.

a71ef7f1 03/07/2020 11:14 PM Leszek Koltunski

Icons, details.

ea9b68db 03/07/2020 01:05 AM Leszek Koltunski

Progress with MeshJoin app.
Fix rotating in some apps.

33bd5234 03/06/2020 04:50 PM Leszek Koltunski

Progress with of Pyraminx.
Bugfix for joining a single Mesh!

a919e8dc 03/05/2020 11:40 AM Leszek Koltunski

Improve setTextureMap.

23c35a5d 03/05/2020 12:39 AM Leszek Koltunski

Make MeshBase.setTextureMap() work.

b3090c52 03/04/2020 10:54 PM Leszek Koltunski

Minor.
Looks like MeshBase.join() actually works.

37320052 03/04/2020 12:13 AM Leszek Koltunski

New MeshJoined.
Test app says it's not working - bug in MeshBase.join().

df80818c 03/03/2020 10:31 PM Leszek Koltunski

Further corrections.

c7a31368 03/03/2020 04:26 PM Leszek Koltunski

Further corrections for the first apps.

936333aa 03/03/2020 03:36 PM Leszek Koltunski

Port Cat and Dog to the new setStretch-less API.

25eeb4d4 03/03/2020 02:49 PM Leszek Koltunski

Port Girl to the new setStretch-less API.

1fc23462 03/03/2020 01:55 PM Leszek Koltunski

Port Dynamic to the new setStretch-less API.