Project

General

Profile

Statistics
| Branch: | Revision:

examples / src / main / java / org / distorted / examples / deform @ 0339e04e

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

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

Port Deform to the new setStretch-less API.

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

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

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

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.

bcbd5b45 02/15/2020 01:02 AM Leszek Koltunski

Adjustment to Static's API.

8d5a8e06 05/11/2019 10:33 PM Leszek Koltunski

Simplify the way applications can get notifications when an effect finishes.

Now, instead of the 'DistortedEffects.(de)registerForNotifications()' 2 APIs, we call a single 'Effect.notifyWhenFinished()'.

71c8884f 05/03/2019 10:46 PM Leszek Koltunski

Correct the Legal notice.

e3900503 05/02/2019 10:41 PM Leszek Koltunski

Rename all the classes that are not exported to application to 'Internal'

b62eb334 04/07/2019 06:22 PM Leszek Koltunski

Many things.

1) make the Dynamic.setDuration() able to be called AFTER the Dynamic has already been run. (and rename it to 'makeRunNowFor()' )
2) remove the automatic removal of zero Effects from EffectQueues.
3) adjust several Apps to cope with 2)
4) add post-rotation to Rubik (still not finished)

16b22aab 03/20/2019 12:40 PM Leszek Koltunski

Fix several more apps for the 'center-of-matrix-effects-in-screen-center' change.

d381aa80 03/18/2019 04:44 PM Leszek Koltunski

Move the default center of the matrix effects to the center of the screen (rather than the bottom-left like before)

a4d59c0b 01/04/2019 11:07 PM Leszek Koltunski

Massive: make the coordinate system agree with that of OpenGL (i.e. invert the Y axis).

1585ba24 01/02/2019 03:57 PM Leszek Koltunski

Make the Fragment effects truly 3D: change their 4D 'region' into a 3D 'center' (a point in 3D) and 3D 'region' (which is now a set of 3 radii defining an ellipsoid around the center)

Also corresponding changes to the applications.

9e7b6dbd 12/30/2018 01:37 AM Leszek Koltunski

Redefine the Vertex Region from (x,y,r,unused) to (x,y,z,r). This takes into account the 'Z', which makes it possible to warp only one side of a 3D Mesh like Sphere.

Also corresponding changes in applications.

57d7fdba 11/21/2018 11:00 AM Leszek Koltunski

Rename MeshObject to MeshBase.

107e4b72 11/20/2018 10:49 PM Leszek Koltunski

Fully move the Meshes to their own package.

e72c53e5 05/17/2018 03:33 PM Leszek Koltunski

Reengineer DistortedScreen

e3eab072 06/28/2017 11:16 AM Leszek Koltunski

Simplify Statics.

885b9cca 06/20/2017 11:51 PM Leszek Koltunski

Move all the knowledge about Vertex and Fragment effects to their respective classes.

e4330c89 06/16/2017 02:33 PM Leszek Koltunski

Change of API: move setting the EGL context back to the APP.

8d5840c0 06/15/2017 09:04 PM Leszek Koltunski

Fixes for removing effects.

ebb06a48 06/12/2017 10:56 PM Leszek Koltunski

Bugfixes for the recent 'Effect classes' API change.

d57f3a14 06/12/2017 10:50 AM Leszek Koltunski

Further progress with Apps.

42f65cb4 06/09/2017 03:45 PM Leszek Koltunski

Further progress with Apps.

01782e85 06/07/2017 05:18 PM Leszek Koltunski

Progress with support for Effect classes.

716d9f38 05/27/2017 11:41 PM Leszek Koltunski

Correct the FPS work (now works even after a Pause() ! )

24ab1cf8 05/26/2017 10:26 PM Leszek Koltunski

Move showing FPS in the uppoer-left corner of the Screen to the Library.
App can enable/disable this at any time with a single API call.

1f9a52f1 05/13/2017 12:16 AM Leszek Koltunski

Simplify setting up DistortedScreen.

5f2a53b6 05/04/2017 12:13 AM Leszek Koltunski

Progress with VBOs - this time abstract out a new class, DistortedObject - i.e. everything that uploads something to GPU and thus needs to be auto re-created upon loss of the context.

630703d1 04/25/2017 11:08 PM Leszek Koltunski

Revert "Major refactoring: convert the Matrix Effects to be independent of the resolution of the surface we render to."

This reverts commit d79a56d3bc6cc7a22b21abeb180353a1818bd6ad.

d79a56d3 04/24/2017 04:28 PM Leszek Koltunski

Major refactoring: convert the Matrix Effects to be independent of the resolution of the surface we render to.

Re-write the first 15 apps to work with this.

d3c2d1ef 04/21/2017 09:50 PM Leszek Koltunski

Minor.

629120e4 04/21/2017 09:46 PM Leszek Koltunski

Minor.

b0ebdf5e 04/18/2017 02:30 PM Leszek Koltunski

Major:

1) in the Library, fix the fact that some applications (those that were creating their DistortedSurface objects outside of onSurfaceCreated or onSurfaceChanged) would not render after the activity went to background (press POWER to see that).
2) in the Apps, call the new 'Distorted.onPause()' API to fix the above problem...

28fe91ae 04/16/2017 10:25 PM Leszek Koltunski

Multiblur: add FPS

baeda47e 04/03/2017 05:14 PM Leszek Koltunski

Improve Deform.

6f3a9b2a 03/29/2017 12:41 PM Leszek Koltunski

It now automatically chooses OpenGL ES 2.0 and GLSL 100 or OpenGL ES 3.0 and GLSL 300.

Postprocessing effects will not work on OpenGL ES 2.0 contexts.

855ba24e 03/15/2017 10:56 PM Leszek Koltunski

New 'glClearColor' and 'glClearDepthf' APIs in OutputSurface. This fixes the 'transparency' regressions from last commit.

6637d0f2 03/01/2017 12:06 PM Leszek Koltunski

Speed up shaders (both compilation and execution) by explicitly enabling only the needed effects.

fe59d375 02/10/2017 04:11 PM Leszek Koltunski

Change the the render() API!

THis introduces some regressions with the Effects3D app.

d218d64e 02/10/2017 01:15 AM Leszek Koltunski

Major: change of API.

Split DFramebuffer into Framebuffer and Screen; introduce the 'DistortedInputSurface' and 'DistortedOutputSurface' interfaces.

41a81a14 01/20/2017 11:50 PM Leszek Koltunski

Try using OpenGL ES 3.0 everywhere (but if device does not support it, try creating 2.0 context - this is important because of the emulator!)

f4f3a440 01/11/2017 04:05 PM Leszek Koltunski

Correct 'Deform'

b01acdaf 01/03/2017 12:01 PM Leszek Koltunski

Rename Grid to Mesh

76f9798b 12/19/2016 02:41 PM Leszek Koltunski

New DistortedProgram class.

6f3024ae 12/15/2016 10:50 PM Leszek Koltunski

Fix a lot of Lint warnings in the apps.

bc29e409 12/15/2016 04:28 PM Leszek Koltunski

Again change of API. Now instead of the 'DistortedEffects.draw() and DistortedTree.draw()' we have 'DistortedFramebuffer.renderTo()'

d04a4886 12/15/2016 04:02 PM Leszek Koltunski

Change of names.

392e16fd 12/15/2016 03:31 PM Leszek Koltunski

Change in the API: we always have to create a DistortedFramebuffer to render to.

95bc9f69 12/15/2016 10:21 AM Leszek Koltunski

Fix 'Deform' and 'Projection's behaviour after onPause().

7451c98a 12/14/2016 12:10 AM Leszek Koltunski

Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.

f6d884d5 12/13/2016 12:42 PM Leszek Koltunski

Complete the split DistortedObject -> (DistortedTexture,DistortedEffectQueue)

10b7e588 12/12/2016 09:14 PM Leszek Koltunski

Rename various classes; fix a bug in Around the World.

e8b6aa95 12/12/2016 04:47 PM Leszek Koltunski

Major change in API: separate the GRID from DistortedObject; completely remove classes derived from DistortedObject.

525699f4 12/05/2016 03:04 PM Leszek Koltunski

Simplify SurfaceViews

6161fe9a 11/24/2016 02:15 PM Leszek Koltunski

Improve the Deform app

91786be2 11/24/2016 12:58 AM Leszek Koltunski

DEFORM: add support for Regions

e7a4ef16 11/12/2016 12:45 AM Leszek Koltunski

Minor stuff

30c71dd5 11/04/2016 10:49 AM Leszek Koltunski

Remove 'statics' from the Deform app

7abd1d00 06/24/2016 01:05 PM Leszek Koltunski

make the 'Deform' app much more flexible (now we can mix effects atthe same time!)

59bbb86a 06/21/2016 01:02 PM Leszek Koltunski

- Javadoc for EffectNames
- make Matrix effects consistent with the rest (center of effect as last parameter!)
- bugfix for yesterday's bugfix (we only want to send 'EFFECT_REMOVED' messages if it was really the Application that called 'abortAll' and not when we are cleaning up everything)

f988589e 06/18/2016 10:58 PM Leszek Koltunski

Further reduce the distortedObject's API - now only 26 methods, 1/4 of the 104 before the reorganization.

7bf107f7 06/16/2016 11:49 PM Leszek Koltunski

Some more progress with porting apps to new VERTEX API.

7589635e 06/16/2016 12:44 AM Leszek Koltunski

Major push towards simplifying DistortedObject's public API.
All MATRIX effects are using the new API - the 'DataND' marker interfaces.

08eabc44 06/15/2016 12:05 PM Leszek Koltunski

move data types, like FlatND and InterpolatorND, to a separate package.

bc0a685b 06/14/2016 10:08 PM Leszek Koltunski

Add License

a8c3ada7 06/10/2016 11:30 AM Leszek Koltunski

Improve aborting Effects.

95593730 06/10/2016 01:03 AM Leszek Koltunski

Introduce ENUM EffectTypes

ed1c0b33 06/02/2016 03:47 PM Leszek Koltunski

Switch to sending a Context (rather than a GLSurfaceView) to the library.

5068fa06 05/25/2016 08:12 PM Leszek Koltunski

Initial commit