Project

General

Profile

Statistics
| Branch: | Revision:

examples / src @ 0e80d8a9

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

e3473e86 04/10/2020 11:43 PM Leszek Koltunski

Minor.

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.

e052248f 03/03/2020 01:08 PM Leszek Koltunski

Port Listener to the new setStretch-less API.

d1abb41e 03/03/2020 12:16 PM Leszek Koltunski

Port Deform to the new setStretch-less API.

4c42bc15 03/03/2020 11:58 AM Leszek Koltunski

Some cleanups in MonaLisa, Bean & Sink.

18231014 03/03/2020 11:43 AM Leszek Koltunski

Convert Projection to not use the depreciated MeshBase.setStretch() API.

a7a8f7bd 03/03/2020 11:22 AM Leszek Koltunski

Convert Bean to not use the depreciated MeshBase.setStretch() API.

f209a803 03/03/2020 11:14 AM Leszek Koltunski

Convert Sink to not use the depreciated MeshBase.setStretch() API.

67038dda 03/03/2020 10:03 AM Leszek Koltunski

Correct the Rubik app for the recent changes to the library's Node.

5a683295 03/02/2020 11:12 PM Leszek Koltunski

Size of the FBO internal to Nodes is now NO MORE taken from the Mesh's stretch values.
Instead, the size is copied from child's FBO size (if there is one) or if the child is a leaf with texture in it (which is sizeless) then we get the default 100x100 ( which means we probably have to explicitly call Node.resizeFBO() )

126393c8 03/02/2020 04:11 PM Leszek Koltunski

Remove width & height from InternalSurface and move it to InternalOutputSurface.

2e779512 03/02/2020 03:47 PM Leszek Koltunski

Hide the InternalSurface class inside its package.

64f93787 03/02/2020 12:41 AM Leszek Koltunski

Minor

e50f49b6 02/29/2020 11:59 PM Leszek Koltunski

All apps converted to the new V&F center schema!

627e0ea2 02/29/2020 11:36 PM Leszek Koltunski

Moving the Vertex and Fragment centers of effect to the center of the Mesh.

8eed34d3 02/29/2020 11:25 PM Leszek Koltunski

Moving the Vertex and Fragment centers of effect to the center of the Mesh.

849e0034 02/29/2020 10:45 PM Leszek Koltunski

Moving the Vertex and Fragment centers of effect to the center of the Mesh.

26c4e181 02/29/2020 10:11 PM Leszek Koltunski

First fixes for moving the Vertex and Fragment centers of effect to the center of the Mesh.

529054e9 02/29/2020 05:11 PM Leszek Koltunski

Fixes for the merge. Everything works now!
Next step: make the center of Vertex & Fragment effects be in the center of the Object, rather than the lower-left corner.

ba9ae2c8 02/29/2020 04:00 PM Leszek Koltunski

Fixes for the merge.

0ba5de00 02/29/2020 03:39 PM Leszek Koltunski

Fixes for the merge.

8664ea2e 02/29/2020 02:45 PM Leszek Koltunski

Fixes for the merge.

e8e54972 02/29/2020 02:00 PM Leszek Koltunski

Fixes for the merge.

386fd702 02/28/2020 11:58 PM Leszek Koltunski

Merge branch 'empty-matrix-effects-in-the-center' into modern-empty-matrix-effects-in-the-center

98b6b975 02/28/2020 09:27 PM Leszek Koltunski

Fix for MeshBase.apply()

508ee98f 02/28/2020 12:19 AM Leszek Koltunski

New API: MeshBase.join() and a skeleton of an App to test it.

1535f677 02/27/2020 10:46 PM Leszek Koltunski

Minor.

83e0ca5e 02/27/2020 09:47 PM Leszek Koltunski

New Mesh 'Triangles' and updated Inflate & Generic apps to test it.

698ad0a8 02/26/2020 10:23 PM Leszek Koltunski

Move the Effects.setStretch to Meshbase.setStretch

687263cc 02/26/2020 03:52 PM Leszek Koltunski

Move the 'pre-multiply mesh before applying any effects' thing from [(Xsize of texture, Ysize of texture) x Mesh's zFactor] to Effects.setStretch(sx,sy,sz)

f3ca895f 02/21/2020 11:27 AM Leszek Koltunski

Rename MeshFlat MeshRectangles.

d5ae6877 02/16/2020 10:30 PM Leszek Koltunski

Making the Dialogs more consistent.