Project

General

Profile

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

examples / src / main / java / org / distorted / examples / triblur / TriblurRenderer.java @ cef5d326

# Date Author Comment
cef5d326 10/08/2021 12:42 PM Leszek Koltunski

New BORDER effect.

caf7ce0a 10/08/2021 09:33 AM Leszek Koltunski

Minor

5b829159 10/07/2021 10:32 PM Leszek Koltunski

Improvements for the new Border effect. Now works, but covers the object - to be corrected.

1b80a6e2 10/07/2021 03:23 PM Leszek Koltunski

New postprocess effect 'Border' (not working yet) and adding it to the testing app 'Triblur'.

7c72e798 11/11/2020 02:26 PM Leszek Koltunski

1) Beginnings of support for using the library from more than one activity
2) rename DistortedLibrary.onCreate() to onSurfaceCreated()
3) (rubik) add Cambodia's flag.

061449ed 06/16/2020 07:37 PM Leszek Koltunski

Only compile the Full, Normal & OIT programs when they are actually needed.

f1f50ad1 05/05/2020 10:19 PM Leszek Koltunski

Finally, after removing the calculation of the halo from the library and giving this decision to the user, we can update the Triblur app for the new MeshBase.setStretch-less 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!)...

513b2e9c 05/03/2020 11:26 PM Leszek Koltunski

A lot of changes.

1) main vertex shader: remove support for degree_object. This functionality will hopefully come back when we introduce other than circular regions.
2) MeshBase: remove the need to set a Bounding box (this is the point of the whole thing - we wanted to get rid of this so that the advances in MeshJoined will be easier)...

0ba5de00 02/29/2020 03:39 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)

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

b424b062 12/18/2018 11:29 PM Leszek Koltunski

Make Matrix effects Rotate and Quaternion actually correct when it comes to the Z-axis. Also corresponding adjustments in apps.

c40df162 12/14/2018 04:30 PM Leszek Koltunski

Improve the Triblur app to be able to switch objects into 1 of 3 states: no postprocessing, blur, glow.

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

Fully move the Meshes to their own package.

a935e9db 06/29/2018 01:31 PM Leszek Koltunski

Correct a recently introduced bug.

3f70dd29 06/13/2018 09:33 PM Leszek Koltunski

Try and avoid re-sorting the children by buckets (if we can!). This makes change in rendering order in the 'Transparency' app actually work.

1440748a 06/08/2018 02:03 PM Leszek Koltunski

In an attempt to contain the flashes on Mali GPU, re-structure the post-processing FBOs from 1 FBO with 2 color attachments + combined depth-stencil to 2 separate FBOs sharing a depth-stencil texture.

Result: this appears to make the flashes slightly worse.

e72c53e5 05/17/2018 03:33 PM Leszek Koltunski

Reengineer DistortedScreen

d7413405 05/10/2018 12:30 PM Leszek Koltunski

OIT: lots of progress on all fronts. Still a few bugs to solve though!

55e1b307 05/03/2018 03:10 PM Leszek Koltunski

Properly recreate the Atomic and LinkedList buffers onPause.
We have to discard all alpha==0.0 pixels during OIT Pass1.

371c43ca 04/06/2018 09:16 PM Leszek Koltunski

Improve the 'Triblur' app.

f1b8b412 04/04/2018 02:55 PM Leszek Koltunski

Improve the Triblur app.

80f37d1b 04/04/2018 02:01 PM Leszek Koltunski

New 'Triblur' testapp.

Shows that the Blur effect doesn't fully work (probably it is the 'blitWithDepth' function which needs to be corrected)