Project

General

Profile

Statistics
| Branch: | Revision:

examples / src / main / java / org / distorted / examples / bean @ 7c55263f

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

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

Further corrections for the first apps.

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

Some cleanups in MonaLisa, Bean & Sink.

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

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

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

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

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.

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.

dae661e9 05/12/2019 09:18 PM Leszek Koltunski

Invert the order of Matrix Effects. Now, just as in the other queues, the first matrix effect is actually the first to act on the object - not the other way around!

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'

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

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.

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

Fully move the Meshes to their own package.

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.

dfae5d27 06/13/2017 10:11 AM Leszek Koltunski

Bugfix (invert Region's y coord)

fa9b6494 06/09/2017 03:01 PM Leszek Koltunski

Convert the first few Apps to the new Effect API.

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

Progress with support for Effect classes.

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.

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

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

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.

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.

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.

5055b5d4 12/09/2016 01:10 AM Leszek Koltunski

1. (hopefully) finish the 'Save' app (now we can adjust the size of the resulting file)
2. Fix one long-standing bug in almost every single app.

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

Simplify SurfaceViews

b56faf50 11/15/2016 04:32 PM Leszek Koltunski

Progress with Around The World

cdc515b9 11/15/2016 01:09 PM Leszek Koltunski

Correct Bean

334c13fa 11/14/2016 05:41 PM Leszek Koltunski

Make the effect Center be always 3D.

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

Minor stuff

b041d424 11/07/2016 03:59 PM Leszek Koltunski

Minor details

c7a860f9 07/25/2016 10:27 PM Leszek Koltunski

Minor stuff - make the Bitmaps and the Cubes agree on the size of the grid, mostly.

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.

b5cc7760 06/17/2016 12:05 AM Leszek Koltunski

New API fully ported; not tested yet but stuff compiles.

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

89a0d841 06/09/2016 01:14 AM Leszek Koltunski

Beginnings of support for PostShader effects (SavePNG, SaveMP4)

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