Project

General

Profile

Statistics
| Branch: | Revision:

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

# Date Author Comment
278a214c 05/06/2020 10:04 PM Leszek Koltunski

Convert Blur to stretchless 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!)...

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'

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

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

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

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

Fully move the Meshes to their own package.

a929d64d 05/23/2018 12:56 PM Leszek Koltunski

OIT: more fixes

f5c28afc 05/22/2018 03:48 PM Leszek Koltunski

OIT: fixes. Everything looks correct now except for the curious return of the 'dancing lower-left corner' small glitch in the 'Transparency' app.

da57b7da 05/01/2018 09:07 PM Leszek Koltunski

Fix the 'OIT' artefacts.

efc280af 04/06/2018 10:45 PM Leszek Koltunski

New 'PostprocessTree' app (unfinished)

463f1f9c 06/29/2017 08:27 PM Leszek Koltunski

Progress with Glow.

cb9d104d 06/28/2017 12:00 PM Leszek Koltunski

New 'Glow' app.

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.

66d31749 06/13/2017 03:47 PM Leszek Koltunski

Remove DistortedEffectsPostprocess and unify it with DistortedEffects.

Job not finished - doesn't compile now!

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.

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

895d2f4f 04/12/2017 11:55 PM Leszek Koltunski

Separate the Postprocessing Effects to their own DistortedEffectsPostprocess queue.
This partly breaks Multiblur (to be debugged)

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.

3365725b 01/26/2017 05:11 PM Leszek Koltunski

Separable Gaussian Blur with linear sampling done.

Linear sampling implemented - i.e. blurring by a (2N+1)x(2N+1) gaussian kernel (centeral pixel + N pixels in each direction) requires exactly 2N + (N%2==1 ? 4:2) texture fetches.

1b8b55a9 01/24/2017 02:07 PM Leszek Koltunski

Separable Box blur (almost) works.

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

a6da86cc 01/19/2017 12:28 AM Leszek Koltunski

improve Postprocessing; new icon; minor things.

2d90d8a7 01/18/2017 11:10 PM Leszek Koltunski

Postprocessing effects: remove support for Center

43bda3db 01/07/2017 12:49 AM Leszek Koltunski

New 'Blur' App. Actual BLUR effect, of course, does not work.