Project

General

Profile

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

library / src / main / java / org / distorted / library / Distorted.java @ 05ecc6fe

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

0afc143a 04/16/2017 09:30 PM Leszek Koltunski

Reset EffectsPostprocess' ID back in 0 on Destroy.

efe3d8fe 04/15/2017 10:58 PM Leszek Koltunski

Messing around with the AttachDaemon (from now on a more generic DistortedMaster).

In preparation for thr SORT job that will let us sort the children Nodes into postprocessing Buckets.

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

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)

2ed1c692 02/21/2017 10:10 PM Leszek Koltunski

1) stop culling back face
2) reset OpenGL state beore each render (and not in onCreate)
3) Improve Matrix3D so that we can test negative Scales

7691a39f 02/14/2017 10:36 PM Leszek Koltunski

- workaround for the issue with flashing in StarWars
- return number of objects rendered from OutputSurface.render() and use this in Olympic
- rework tree isomorphism so that it now works even if we don't render the whole tree (and also we don't have to reset() the Tree anymore!)...

c204c69d 02/14/2017 12:26 AM Leszek Koltunski

New, cleaner way to create/destroy DistortedSurfaces.

Serious regression in StarWars (crashes!). Looks like the Node's internal FBO is being deleted and not re-created in time.

a09ada4c 02/10/2017 01:26 PM Leszek Koltunski

Preparation for change of the render API.

29a06526 02/10/2017 11:20 AM Leszek Koltunski

Minor

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

Simplify yesterday's refactoring.

8ca9f899 02/08/2017 06:09 PM Leszek Koltunski

Introduce Renderable to the Tree.

2e49718d 02/08/2017 04:09 PM Leszek Koltunski

progress with DistortedRenderable.

This introduces a regression with MultiBlur!

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

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)

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.

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

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

47d838ca 01/06/2017 05:20 PM Leszek Koltunski

NUM_POSTPROCESS corectly #defined now.

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.

8c327653 01/04/2017 05:57 PM Leszek Koltunski

First attempt at making it possible to dynamically add and remove DEPTH attachments from an FBO.

f8686932 12/19/2016 04:29 PM Leszek Koltunski

Minor.

3d804c91 12/19/2016 03:11 PM Leszek Koltunski

Minor stuff in DistortedProgram.

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

New DistortedProgram class.

4c1dd6e9 12/17/2016 01:20 AM Leszek Koltunski

Beginnings of support for postprocessing Effects.

ab12f06b 12/15/2016 11:59 PM Leszek Koltunski

Some more minor fixes.

cacc63de 12/15/2016 11:37 PM Leszek Koltunski

Fix Lint warnings, correct a lot of comments, adjust EffectListener interface.

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

Change of names.

b6a5d557 12/15/2016 03:31 PM Leszek Koltunski

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

7b8086eb 12/14/2016 11:23 PM Leszek Koltunski

Minor.

1942537e 12/14/2016 04:52 PM Leszek Koltunski

Major restructuring with DistortedTexture. One now is able to create Textures anywhere, even from a thread which does not hold the OpenGL context. Same for DistortedFramebuffers.

3f3bf7dc 12/13/2016 06:01 PM Leszek Koltunski

Minor

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

b455eb48 12/12/2016 09:14 PM Leszek Koltunski

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

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

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

57578636 12/08/2016 02:13 PM Leszek Koltunski

Improvements for DFramebuffer.

98455aa2 12/07/2016 11:58 PM Leszek Koltunski

Turn the former 'FOV' app into 'Projection' app that also checks the (x,y) the camera looks at.

8e34674e 12/07/2016 12:22 AM Leszek Koltunski

Move the *List classes into static members of DistortedFramebuffer and DistortedObject.

dedacd82 12/06/2016 04:04 PM Leszek Koltunski

Javadoc

ed13a5de 12/05/2016 05:10 PM Leszek Koltunski

Cleanup

6720ec85 12/05/2016 03:04 PM Leszek Koltunski

Simplify SurfaceViews

bd3da5b2 12/05/2016 02:18 PM Leszek Koltunski

Move DistortedNode and Distorted to use the new DistortedRenderTarget.

f6fb3c6d 12/02/2016 04:02 PM Leszek Koltunski

New DistortedRenderTarget - preparation for being able to render to any FBO (screen, offscreen pixmaps)

61ec8208 11/14/2016 11:42 PM Leszek Koltunski

Allow more than the default number of concurrent VERTEX and FRAGMENT effects in Effects3D.

350cc2f5 10/18/2016 11:19 AM Leszek Koltunski

Make the WAVE effect 5D (extra parameter 'offset')

c5b1451b 08/07/2016 09:32 PM Leszek Koltunski

Remove the 'invert' option from DistortedProjection - this was making the DistortedNode-based apps not show the Objects, because the winding of triangles was wrong.
Now however the DistortedNode based stuff is inverted top-down :)

5bf698ee 07/26/2016 11:24 PM Leszek Koltunski

Tesselate DistortedBitmaps better - now all the triangles long edges point at the center of the bitmap, which makes z-distortions look much better!

0ce6fcef 07/26/2016 07:01 PM Leszek Koltunski

Cull back faces of triangles.

0729bc41 07/01/2016 02:40 PM Leszek Koltunski

Add DistortedGridFactory to share Grids among same-shaped DistortedObjects.

2dacdeb2 06/29/2016 04:15 PM Leszek Koltunski

remove the 'Color' vertex attribute.

39cbf9dc 06/24/2016 01:06 PM Leszek Koltunski

Minor: deal with IntelliJ warnings

e8c81a8e 06/22/2016 11:21 AM Leszek Koltunski

Cleanup, consistent variable names, minor details.

015642fb 06/21/2016 10:06 AM Leszek Koltunski

Cleanup.

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

cdd6333d 06/15/2016 03:14 PM Leszek Koltunski

Move the 'Save' effect to the Application and remove the 'OTHER' effect queue

d333eb6b 06/14/2016 04:24 PM Leszek Koltunski

Add license

71887484 06/10/2016 01:51 PM Leszek Koltunski

abstract setMax and getMax to EffectQueue.

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

Improve aborting Effects.

1e438fc7 06/10/2016 01:03 AM Leszek Koltunski

Introduce ENUM EffectTypes

b3618cb5 06/09/2016 01:14 AM Leszek Koltunski

Beginnings of support for PostShader effects (SavePNG, SaveMP4)

436899f2 06/03/2016 11:39 PM Leszek Koltunski

Fix for issue 1: 'FBO not visible' : we forgot to clear the HashMap in DistortedNode.

7845dc66 06/02/2016 04:18 PM Leszek Koltunski

convert Distorted.java from GLSurfaceView to Context.

6a06a912 05/25/2016 07:45 PM Leszek Koltunski

Initial commit