Project

General

Profile

Statistics
| Branch: | Revision:

examples / src / main / java / org / distorted / examples / aroundtheworld @ fcb09e1f

# Date Author Comment
fcb09e1f 06/04/2020 11:35 PM Leszek Koltunski

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

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

Convert AroundTheWorld to stretchless API.

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

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

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

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

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.

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'

8fca4a82 05/02/2019 01:22 PM Leszek Koltunski

Move all Program-related stuff to Distorted. Now the DistortedEffects class is very simple.

5e23b17b 04/02/2019 09:58 PM Leszek Koltunski

Make the 'PINCH' effect fully 3D (define its acting line in terms of (latitude,longitude) angle pair).

Still, something is not fully working in the Earth app with the effect - investigate.

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

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

676c14da 01/06/2019 11:15 PM Leszek Koltunski

Relax requirements on when we can call DistortedEffects.setMax().

Before this change one had to call it before creation of shaders and before any of the DistortedEffects classes got created.
This commit removes the second requirement so now with setMax it's just like with enabling effects: it's best done in onSurfaceCreated.

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.

296d2e73 01/01/2019 01:36 AM Leszek Koltunski

Advances with the Earth app - prepare it to checking if any FRAGMENT or VERTEX effect correctly works on a Sphere mesh.

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.

41a85bb7 07/03/2018 01:19 PM Leszek Koltunski

Convert everythig to GLES31 (there were some GLES30 remnants)

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.

d76638f1 06/14/2017 09:51 PM Leszek Koltunski

Small API simplification.

37b324c4 06/09/2017 03:39 PM Leszek Koltunski

Further progress with Apps.

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.

67c3a83b 04/25/2017 11:07 PM Leszek Koltunski

Revert "Convert a few more APPs to the new resolution-independent Matrix Effects."

This reverts commit 51554e4700774b72e18e97c7cc72ef887dfbf551.

51554e47 04/24/2017 09:51 PM Leszek Koltunski

Convert a few more APPs to the new resolution-independent Matrix Effects.

59540ba2 04/18/2017 03:07 PM Leszek Koltunski

Convert (almost) all remaining Apps to the new API which avoids memory leaks with Surfaces.

Remaining problematic Apps: 15. FBO 16. Star Wars (both leak Tree FBOs) 22. SurfaceView (does not work at all after going to background)

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

643844c9 04/03/2017 10:16 PM Leszek Koltunski

Improve Around the World.

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.

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.

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)

40eef4b9 12/12/2016 11:47 PM Leszek Koltunski

Beginnings of split of DistortedObject into two separate classes: DistortedEffectQueues and DistortedTexture.

Still does not compile, but pushing already.

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

287a5475 11/17/2016 01:43 PM Leszek Koltunski

Around The World pretty much finished!

04fe7f80 11/17/2016 12:56 PM Leszek Koltunski

Around The World: implement blackness

acd5fc11 11/16/2016 06:03 PM Leszek Koltunski

Improve Around The World

b3a555a7 11/16/2016 05:32 PM Leszek Koltunski

Improve Around The World

d8056149 11/15/2016 05:15 PM Leszek Koltunski

Improve Around The World

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

Progress with Around The World

4b34bb08 11/15/2016 12:34 AM Leszek Koltunski

progress with Around the World

c11a3a15 11/14/2016 02:40 PM Leszek Koltunski

Encode more info in the EfectNames enum.

e6995f3b 11/13/2016 10:59 PM Leszek Koltunski

Compute Race correctly

2f20ae3a 11/13/2016 12:02 AM Leszek Koltunski

Around the World: setRace

951c4af9 11/12/2016 11:25 PM Leszek Koltunski

Around the World: moving the selection rectangle

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

Minor stuff

80508ef5 11/12/2016 12:03 AM Leszek Koltunski

Progress with AroundTheWorld

248a2782 11/11/2016 04:23 PM Leszek Koltunski

Progress with "Around The World"

7ba38011 11/11/2016 01:03 AM Leszek Koltunski

New app: Around The World (beginnings)