Project

General

Profile

Statistics
| Branch: | Revision:

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

# Date Author Comment
5a683295 03/02/2020 11:12 PM Leszek Koltunski

Size of the FBO internal to Nodes is now NO MORE taken from the Mesh's stretch values.
Instead, the size is copied from child's FBO size (if there is one) or if the child is a leaf with texture in it (which is sizeless) then we get the default 100x100 ( which means we probably have to explicitly call Node.resizeFBO() )

627e0ea2 02/29/2020 11:36 PM Leszek Koltunski

Moving the Vertex and Fragment centers of effect to the center of the Mesh.

e8e54972 02/29/2020 02:00 PM Leszek Koltunski

Fixes for the merge.

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!

8d5a8e06 05/11/2019 10:33 PM Leszek Koltunski

Simplify the way applications can get notifications when an effect finishes.

Now, instead of the 'DistortedEffects.(de)registerForNotifications()' 2 APIs, we call a single 'Effect.notifyWhenFinished()'.

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

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.

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.

fc448f77 06/12/2017 01:48 PM Leszek Koltunski

Further progress with Apps: 29 (out of 31) compile now.

fdddb0b2 06/12/2017 01:40 PM Leszek Koltunski

Further progress with Apps: 28 (out of 31) compile now.

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.

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.

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.

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.

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

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.

2f7afccf 02/28/2017 04:22 PM Leszek Koltunski

Fix Crawl transparency in StarWars.

ee82510e 02/27/2017 11:58 PM Leszek Koltunski

Small improvements for StarWars, but the main issue - non-working transparency of the Crawl - not solved.

af662543 02/27/2017 11:06 PM Leszek Koltunski

Fixes for z-fighting.

fc695380 02/23/2017 11:41 PM Leszek Koltunski

Make it possible to render each DistortedNode with adjustable OpeGL state (writeing to Color, Depth,Stencil buffers, DEPTH, STENCIL, BLENDING on.off, etc)

2878c554 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!)...

f8634085 02/14/2017 09:12 PM Leszek Koltunski

Fix issue with Blur / Multiblur apps

d2aee6cc 02/14/2017 04:51 PM Leszek Koltunski

1. Make it possible to enable/disable DEPTH test when rendering to a Screen
2. Using this, remove the 'Root' Node from StarWars.

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

3f5b2cb3 02/13/2017 12:02 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.

fe59d375 02/10/2017 04:11 PM Leszek Koltunski

Change the the render() API!

THis introduces some regressions with the Effects3D app.

8744aa41 02/10/2017 01:26 PM Leszek Koltunski

Preparation for change of the render API.

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.

9d12dd4a 12/15/2016 11:37 PM Leszek Koltunski

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

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.

c4f5a8db 12/15/2016 01:39 PM Leszek Koltunski

onPause(): fix StarWars

b4cc083b 12/15/2016 12:29 PM Leszek Koltunski

Some improvements for StarWars's behaviour after onPause(), but it doesn't really work yet.

Remaining 'onPause-buggy' apps: StarWars, Save.

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

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.

611ea379 12/13/2016 01:34 PM Leszek Koltunski

Star Wars: release memory.

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.

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

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

Simplify SurfaceViews

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

Minor stuff

9ff0c8c3 10/21/2016 11:34 AM Leszek Koltunski

Fix 4D and 5D noise, make noise N dimensional.

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

Cleanup, consistent variable names, minor details.

59bbb86a 06/21/2016 01:02 PM Leszek Koltunski

- Javadoc for EffectNames
- make Matrix effects consistent with the rest (center of effect as last parameter!)
- bugfix for yesterday's bugfix (we only want to send 'EFFECT_REMOVED' messages if it was really the Application that called 'abortAll' and not when we are cleaning up everything)

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.

59759251 06/16/2016 01:50 PM Leszek Koltunski

Major push towards simplifying DistortedObject's public API.
All Fragment effects are using the new API - the 'DataND' marker interfaces.

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.

13efa930 06/15/2016 12:40 PM Leszek Koltunski

1. new package 'message'
2. Rename the 'Grid' classes to match

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

b9615af9 06/13/2016 12:01 PM Leszek Koltunski

Save PNG effect almost finished. Supporting App (hopefully!) completely finished.

What remains to be done: put actual saving of the Bitmap in a separate thread, away from the Graphics thread!!

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