Project

General

Profile

Download (42.9 KB) Statistics
| Branch: | Revision:

library / src / main / java / org / distorted / library / DistortedEffects.java @ a51fe521

# Date Author Comment
a51fe521 05/09/2017 12:35 PM Leszek Koltunski

Move from unpacked to packad server-side Vertex attribute buffer.

6e60be83 05/09/2017 09:30 AM Leszek Koltunski

Revert "Progress with Transform Feedback."

This reverts commit e78a30fd53d9463903521921e177028e5c869514.

9cd1f9b3 05/09/2017 09:30 AM Leszek Koltunski

Revert "This version appears to be fully working on Nexus 5X (it transfers back all the vertices and, if there are no vertex effects, the vertices transferred back are identical to the ones passed)."

This reverts commit 7cf57d72e238092806b3f833d85d16c1a38ac78d.

135be991 05/09/2017 09:30 AM Leszek Koltunski

Revert "Progress with TransferFeedback app - introduce two modes: USEPOINTS 'true' or 'false'."

This reverts commit 21304c55380460c5882b789ea13eb00ffd9a686c.

1aedf874 05/09/2017 09:30 AM Leszek Koltunski

Revert "Beginnings of support for DistortedEffects.drawPrivFeedback()"

This reverts commit a22c66287b616833b0ad72d81d40cc321e4bc920.

f80337b5 05/09/2017 09:30 AM Leszek Koltunski

Revert "Some progress with Transform Feedback. Still many bugs all over."

This reverts commit 79921db22e4ff5a3b2e6e3466a39445f5607a695.

79921db2 05/05/2017 11:30 PM Leszek Koltunski

Some progress with Transform Feedback. Still many bugs all over.

a22c6628 05/05/2017 03:48 PM Leszek Koltunski

Beginnings of support for DistortedEffects.drawPrivFeedback()

21304c55 05/05/2017 12:17 AM Leszek Koltunski

Progress with TransferFeedback app - introduce two modes: USEPOINTS 'true' or 'false'.

On Nexus5X, it works with 'true' and 'false'. On Nexus 4, it works with 'true', but returns GL_INVALID_OPERATION with 'false'.

7cf57d72 05/04/2017 10:36 PM Leszek Koltunski

This version appears to be fully working on Nexus 5X (it transfers back all the vertices and, if there are no vertex effects, the vertices transferred back are identical to the ones passed).

This however crashes with GL_INVALID_OPERATION during glDrawArrays() when run on Nexus 4.

e78a30fd 05/04/2017 02:21 PM Leszek Koltunski

Progress with Transform Feedback.

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

42571056 05/03/2017 04:22 PM Leszek Koltunski

Preparation for Transfer Feedback: Convert the meshes from client-side to VBOs.

8426bd6a 04/27/2017 01:56 PM Leszek Koltunski

Mipmap levels!

638b5b5c 04/26/2017 10:37 PM Leszek Koltunski

More MIPMAP work.

a2594090 04/25/2017 11:01 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 ec231614152da2cfdb65c3450cd47da83ee05a6f.

revert the recenr matrix Effects work.

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

13687207 04/12/2017 11:55 PM Leszek Koltunski

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

60c1c622 04/10/2017 11:02 PM Leszek Koltunski

Move the Postprocessing buffers to OutputSurface.

94f6d472 03/29/2017 11:05 AM Leszek Koltunski

Make it more flexible; now it can run almost all apps on OpenGL 2.0 contexts; OpenGL 3.0 ( with GLSL 3.00) required for POSTPROCESSING.

f2367b75 03/28/2017 12:26 PM Leszek Koltunski

Upgrade from GLSL 1.00 to GLSL 3.00 ES
Introduce separate BLUR1 and BLUR2 shaders, the second one marging (writing to gl_FragDepth still does not work)

95c441a2 03/14/2017 11:49 PM Leszek Koltunski

Progress with Multiblur.

This introduces some regressions with transparency (see: 'Different Bitmaps' and 'Around the world' )

b9798977 03/12/2017 11:02 PM Leszek Koltunski

Advances in Multiblur - breaks BLUR for now.

c2c08950 03/02/2017 12:04 AM Leszek Koltunski

simplify blitPriv()

c1e24646 03/01/2017 11:02 PM Leszek Koltunski

Introduce Effects.blitPriv() (faster than previous drawNoEffectsPriv)

03cb451d 03/01/2017 12:06 PM Leszek Koltunski

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

09ab7524 02/15/2017 01:11 PM Leszek Koltunski

Introduce 3 types of Surfaces: System, Tree, User

c7da4e65 02/15/2017 12:30 AM Leszek Koltunski

Fix OutputSurface.resize(): before it couldn't be called mid-render.

af27df87 02/14/2017 03:28 PM Leszek Koltunski

A lot of different fixes.

A lot of issues still there:

1) if we only render part of the tree, tree isomorphism will sometimes not work correctly
2) when we change Effects that are inside Trees mid-render, even if we detach() the affected parts of the Tree first, for the last frame the new Effects will be used...

af4cc5db 02/10/2017 11:07 AM Leszek Koltunski

Simplify yesterday's refactoring.

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

Major: change of API.

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

cdd5e827 01/28/2017 12:50 AM Leszek Koltunski

Some fixes for issues discovered by the Multiblur app.

f1d5ea12 01/24/2017 12:51 AM Leszek Koltunski

Small progress with Blur.

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

dbe8ea80 01/19/2017 11:49 PM Leszek Koltunski

Manifest: require OpenGL ES 3.0.

c318fb14 01/19/2017 03:09 PM Leszek Koltunski

Minor.

7d755851 01/19/2017 02:49 PM Leszek Koltunski

Still one more problem in boundingVertices.

85cbbc5e 01/18/2017 11:10 PM Leszek Koltunski

Postprocessing effects: remove support for Center

e8b2f311 01/18/2017 09:15 PM Leszek Koltunski

boundingVertices fully work now!

f44ea591 01/18/2017 05:03 PM Leszek Koltunski

Debugging

c90b9e01 01/18/2017 04:01 PM Leszek Koltunski

Progress with getting Mesh'es bounding rectangle. Still doesn't quite work yet (visible : 'Cubes' app with a 0111 Mesh)

69ed1eb4 01/17/2017 05:57 PM Leszek Koltunski

Progress with getting Mesh'es bounding rectangle.

11fb6ce0 01/15/2017 11:56 PM Leszek Koltunski

Correct a bug with Postprocessing Shortcut.

8fa96e69 01/15/2017 11:31 PM Leszek Koltunski

Move more intelligence to EffectQueuePostprocess.

55c14a19 01/11/2017 04:14 PM Leszek Koltunski

Minor reorganization.

02de77c9 01/10/2017 11:53 PM Leszek Koltunski

Progress with multi-program rendering.

2b942cd0 01/10/2017 09:24 PM Leszek Koltunski

Naive implementation of blur works now!

bfe2c61b 01/10/2017 10:27 AM Leszek Koltunski

Blurred image visible now!

86eb00a9 01/06/2017 11:27 PM Leszek Koltunski

Initial version of the first post-processing effect - BLUR - ready for the first app!

c638c1b0 01/06/2017 01:46 PM Leszek Koltunski

Further progress with Postprocessing. Now the missing bits are:

- implement Distorted.getFBO()
- implement Distorted.clean()
- improve compilation of DistortedPrograms so that the NUM_POSTPROCESSING and names of POSTPROCESSING effects will be #defined.

d6e94c84 01/05/2017 02:23 AM Leszek Koltunski

progress with Postprocessing.

05403bba 01/03/2017 09:59 PM Leszek Koltunski

rename all the 'grid' variables to 'mesh'.

26df012c 01/03/2017 12:01 PM Leszek Koltunski

Rename Grid to Mesh

432442f9 12/19/2016 02:41 PM Leszek Koltunski

New DistortedProgram class.

52358355 12/15/2016 05:01 PM Leszek Koltunski

Add API to render from a FBO to another FBO

a0f644b7 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()'

421c2728 12/15/2016 04:02 PM Leszek Koltunski

Change of names.