Project

General

Profile

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

library / src / main / java / org / distorted / library / main / DistortedNode.java @ 40f0cea6

# Date Author Comment
40f0cea6 12/21/2022 02:02 PM Leszek Koltunski

Debugging the Node piraminds - print the whole piramind along with all the Effects attached to each Node.

2e569ff6 07/15/2022 01:42 AM Leszek Koltunski

license

96381044 03/24/2022 10:02 PM Leszek Koltunski

Further progress with Bandaged 3x3.
This requires a new API in DistortedNode to change the Mesh there.

460a2b7d 10/22/2021 02:59 AM Leszek Koltunski

Major change: separate the notion of a TwistyObject and its Node. Now,

1) the Node stays when we change objects (this makes transitions faster)
2) it's possible to just create an Object without adding it to the Screen (now app needs to explicitly create the Node and add it to its Screen itself)

b4999b55 05/09/2021 10:11 PM Leszek Koltunski

Progress with RubikControl - sub-stages 1 and 2 of the 'whole' stage finished.

3272cfb8 05/07/2021 12:17 AM Leszek Koltunski

Actually reset Node's mLastTime back to 0 each time we attach it somewhere.

835b197e 05/07/2021 12:06 AM Leszek Koltunski

Move the information when was a EffectQueue last time evaluated from the EffectQueues all the way up to the Node which contains them.
The point: we need to reset this time back to 0 every time we attach the Node (and thus start evaluating the Queues inside)

b7074bc6 04/13/2020 10:31 AM Leszek Koltunski

Lower requirements - now only OpenGL ES 3.0 is required; if running on such platform, OIT part of the API ( which is the only one which actually requires 3.1) is switched off.

209ea1c7 03/12/2020 09:47 PM Leszek Koltunski

1. library: new API DistortedNode.setProjection()
2. cube: adjustments for Pyraminx.

9ecac8cd 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() )

d58b50e7 03/02/2020 04:11 PM Leszek Koltunski

Remove width & height from InternalSurface and move it to InternalOutputSurface.

044b5494 02/26/2020 10:23 PM Leszek Koltunski

Move the Effects.setStretch to Meshbase.setStretch

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

f953bee0 02/16/2020 10:30 PM Leszek Koltunski

Making the Dialogs more consistent.

eddf0cb7 02/01/2020 01:14 AM Leszek Koltunski

remove an unused, redundant API.

46b572b5 05/03/2019 10:46 PM Leszek Koltunski

Correct the Legal notice.

7602a827 05/02/2019 10:41 PM Leszek Koltunski

Rename all the classes that are not exported to application to 'Internal'

d5b709df 05/02/2019 06:26 PM Leszek Koltunski

Cut another interdependency between the Queues and the rest: it is no longer necessary to add DNodes to PostprocessQueue to rearrange the Nodes by buckets. The rearranging is now done on next render instead.

bfe45b4a 05/02/2019 01:22 PM Leszek Koltunski

Move all Program-related stuff to Distorted. Now the DistortedEffects class is very simple.

e37d470b 05/02/2019 10:42 AM Leszek Koltunski

Cut one interdependency between the EffectQueuePreprocess and DistortedNode

11845a9e 05/01/2019 09:52 PM Leszek Koltunski

Carve the 'children list' from DOutputSurface and DNode into a separate class of its own, DistortedChildrenList.

8bfefd68 05/01/2019 12:27 PM Leszek Koltunski

Split the DistortedNode class into two - DistortedNode and DistortedNodeData

9cae4322 04/30/2019 11:25 PM Leszek Koltunski

Some simplifications to the Node.

c43abe6c 04/30/2019 09:42 AM Leszek Koltunski

Fixes for memory leak problems uncovered by the 'Rubik' app. (mainly: new method DistortedNode.markForDeletion)

7a5e538a 11/30/2018 02:28 PM Leszek Koltunski

Progress with Inflate (building block of postprocessing effects: the proper way of marking a halo around a Mesh)
'Inflate' app testing the machanism. MeshFlat appears to be working, now we only need to fill up the per-vertex Inflate vector in the MeshCubes.

715e7726 11/21/2018 11:00 AM Leszek Koltunski

Rename MeshObject to MeshBase.

6c00149d 11/20/2018 10:49 PM Leszek Koltunski

Fully move the Meshes to their own package.

a13dde77 07/25/2018 08:43 PM Leszek Koltunski

Progress with a more generic 'preprocess' stage of Postprocessing Effects.

12f9e4bb 07/05/2018 12:39 PM Leszek Koltunski

a mix of two changes:

1) remove the DistortedInputSurface interface (now every Surface is Input)
2) make the OIT SSBO self-adjustable in size

d5e053a5 07/04/2018 01:02 PM Leszek Koltunski

Remove the redundant DistortedNode.onPause()

c1a38ba3 07/01/2018 11:21 PM Leszek Koltunski

Progress with non-postprocessed OIT.

Status: compiles, but fails to work on both Adreno and Mali. Crashes the app (Adreno) or the whole system (Mali)

406e2f6b 06/29/2018 12:22 PM Leszek Koltunski

Give users API to render OutputSerfaces and attached Nodes in either the 'normal' way of OIT way.

586b5fa1 06/27/2018 01:30 PM Leszek Koltunski

Port another commit from master.

I spoke too soon, the ARM Mali flashing is of course not fixed yet. The previous commit fixed Triblur, but the bug is still reproducible elsewhere (only in the 'postprocessed' apps though).

This commit introduces a circular queue in case of the postprocessing FBOs - with little success though.

8ebbc730 06/27/2018 01:16 PM Leszek Koltunski

Port a commit from the master branch.

Finally properly fix the flashing on ARM Mali T880 GPU.

The flashing is caused by a 'full pipeline flush' (see DarkPhoton, https://www.opengl.org/discussion_boards/showthread.php/200754-Flashes-on-ARM-Mali?p=1291679&viewfull=1#post1291679 ). In order to combat it, first introduce the possibility that a single DistortedOutputSurface is backed up by more than one FBO. Then make DistortedScreen be derived from DistortedFramebuffer (which itself is derived from DistortedOutputSurface) and make it contain 3 FBOs, render to them in a circular queue fashion, and blit from a given FBO to the system FBO. The 'more than 1 intermediate FBO' queue prevents the pipeline flush....

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

56c6ca24 05/10/2018 12:30 PM Leszek Koltunski

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

8dccc3c2 04/12/2018 08:42 PM Leszek Koltunski

Disable blending during postprocessing.

70b6a155 07/14/2017 04:37 PM Leszek Koltunski

Internal API change around postprocessing.

86d322b5 06/27/2017 01:03 PM Leszek Koltunski

Make Postprocessing quality per-effect (rather than applied to the whole queue)

f1a82766 06/16/2017 01:49 PM Leszek Koltunski

Minor.

26a4e5f6 06/15/2017 12:14 AM Leszek Koltunski

Reorganize the way we add and remove all Effects (do it through DistortedMaster and is POSTPROCES - adjust Bucket and SORT Nodes).

Buggy: removing effects does not work.

ffbe7ecf 06/14/2017 04:09 PM Leszek Koltunski

Remove old facility to correct Postprocessing buckets on new Postporcessing effects.

New facility will follow shortly....

80b3acf6 06/13/2017 03:47 PM Leszek Koltunski

Remove DistortedEffectsPostprocess and unify it with DistortedEffects.

Job not finished - doesn't compile now!

fe82a979 06/07/2017 05:18 PM Leszek Koltunski

Progress with support for Effect classes.