Project

General

Profile

Statistics
| Branch: | Revision:

library @ 35bece36

# Date Author Comment
35bece36 10/17/2016 03:12 PM Leszek Koltunski

Reflect the fact that we are no longer caching sine and cosine in the EffectNames comments.

d0c902b8 10/17/2016 03:04 PM Leszek Koltunski

swap the 2nd and the 3rd parameters in the WAVE effect and improve comments for the WAVE user API.

5b1c0f47 10/17/2016 02:12 PM Leszek Koltunski

Switch off the pre-compulting of sin and cos in CPU as it turns out that those two are single-instruction functions on any modern GPU ( http://www.gamedev.net/topic/322422-number-of-gpu-cycles-for-cos-and-sin-functions/ - link form 2005 ! )

f256e1a5 10/16/2016 10:37 PM Leszek Koltunski

Improve the comment the WAVE effect.

57297c51 10/16/2016 10:27 PM Leszek Koltunski

Correct one more issue with computation of WAVE.

c6ea3680 10/12/2016 09:50 PM Leszek Koltunski

Correct one issue with incorrect shadows in WAVE when V.z <0 .

73af5285 10/12/2016 12:29 AM Leszek Koltunski

Now we can add up the WAVE effect to others with smooth shading! Remaining issues:

- when angle A < 0, the shades are wrong
- sometimes (check with the 3D vertex & Fragment effects' app) we get black spots at seemingly random points. Looks like computational instability again.

06d71892 10/10/2016 10:15 PM Leszek Koltunski

Shades in the WAVE effect fully working, if the effect is the only one.

Remaining: combine the shades with other effects!

39b80df0 10/09/2016 10:42 PM Leszek Koltunski

Shades of the WAVE effect (almost!) working.

a7067deb 09/15/2016 09:04 PM Leszek Koltunski

small improvements in DISTORT

9ea4f88f 08/31/2016 10:39 PM Leszek Koltunski

Better normals in DISTORT

815869cb 08/30/2016 04:55 PM Leszek Koltunski

Vertex positions fully 3D now. Remaining: normals!

02ef26bc 08/30/2016 04:29 PM Leszek Koltunski

Preparation to make the WAVE effect fully 3D

6ddda212 08/29/2016 09:34 PM Leszek Koltunski

Adjustments for EffectQueueVertex.postprocess()

9b82becd 08/29/2016 06:32 PM Leszek Koltunski

Improvements for WAVE

4fde55a0 08/29/2016 04:51 PM Leszek Koltunski

Beginnings of the WAVE effect.

20af7b69 08/24/2016 09:31 PM Leszek Koltunski

Correct an important bug in the vertex shader.

b = 1/a if a!=0, 1 otherwise was incorrectly computed as b = 1.0 / (a+1.0-sign(a)). This, when 0<a<2^-24, suffers from 'round-off error': then a+1.0 = 1.0 (sic!) thus b = 1/0 !.

Correct way: b = 1.0 / ( a - (sign(a)-1.0) )

e4878781 08/22/2016 11:15 AM Leszek Koltunski

Fixes for fragment effects in Effects3D.

77fcb24d 08/11/2016 10:41 PM Leszek Koltunski

Fix for Bug #17: Regions of Fragment Effects migrate.

Fix is: don't send vertex position and the Fragment Effect region to the fragment shader already multiplied by the ModelView matrix (that introduces the imprecise interpolation because of the projection effect) but simply send both of them in local coords.

42e08626 08/09/2016 02:22 PM Leszek Koltunski

Remove the MACROBLOCK Effect altogether.

985ea9c5 08/09/2016 12:11 PM Leszek Koltunski

Finally fix the 'when rendering though an FBO, the other side of triangles is visible'

79f172ab 08/07/2016 10:50 PM Leszek Koltunski

Fix the 1x1 case! Before it used to be impossible to create a DistortedBitmap just with 2 triangles!

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

29dd01c6 08/02/2016 11:48 PM Leszek Koltunski

Further simplify and speed up the DistortedCubes target.

e5d9b235 08/02/2016 11:42 PM Leszek Koltunski

Further simplify and speed up the DistortedCubes target.

15873844 08/02/2016 11:21 PM Leszek Koltunski

Simplify and spped up the DistortedCubes target.

adb2661c 08/02/2016 11:09 PM Leszek Koltunski

Correctly tesselate the DistortedBitmap target!

84ee2a6a 07/31/2016 02:13 PM Leszek Koltunski

Advanced tesselation of DistortedCubes should be done! This fixes Bug #22

ce7f3833 07/31/2016 01:25 AM Leszek Koltunski

beginnings of support for advanced tesselation in DistortedCubes target (still doesn't quite work)

2e96ee72 07/28/2016 12:20 AM Leszek Koltunski

minor formatting stuff

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!

a05bb000 07/26/2016 07:01 PM Leszek Koltunski

Merge remote-tracking branch 'origin/master'

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

Cull back faces of triangles.

d44ac567 07/25/2016 10:27 PM Leszek Koltunski

Minor stuff - make the Bitmaps and the Cubes agree on the size of the grid, mostly.

ff8ad0a7 07/20/2016 11:11 PM Leszek Koltunski

Fix for Bug #16: When rotated at an angle, surfaces get increasingly transparent.

This also fixes the saturation, chroma, alpha + contrast effects, while completely breaking macroblocks :)

beb70e07 07/17/2016 09:43 PM Leszek Koltunski

Fix for Bug #21: implement z-shear.

30925500 07/17/2016 09:27 PM Leszek Koltunski

Fix for Bug #18: DISTORT effect: disappearing triangles

9420f2fe 07/16/2016 11:14 PM Leszek Koltunski

Fix for Bug 19: SWIRL effect: mess if Center out of Region.

07651f8f 07/13/2016 01:01 AM Leszek Koltunski

beginnings of support for drawing the Region in Vertex3D app.

65074f5a 07/05/2016 10:34 PM Leszek Koltunski

Minor stuff - comments.

ac094579 07/04/2016 04:12 PM Leszek Koltunski

Some progress with Fragment3D app - doesn't compile yet!

62f7a90a 07/02/2016 11:45 PM Leszek Koltunski

Revert the Cubes App.

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

Add DistortedGridFactory to share Grids among same-shaped DistortedObjects.

ffbf279e 06/30/2016 01:06 PM Leszek Koltunski

revert latest changes to the fragment shader.
small things in DistortedObjects.

2e75bd79 06/29/2016 11:53 PM Leszek Koltunski

some improvements for the way we test DistortedObjects.

4018b3b7 06/29/2016 08:57 PM Leszek Koltunski

fix fragment effects :)

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

remove the 'Color' vertex attribute.

8cefe6a3 06/28/2016 03:58 PM Leszek Koltunski

switch precision to low in fragment shader

cd174a64 06/28/2016 01:01 PM Leszek Koltunski

Make the 'deform' effect continuous when 'center' point passes through (0,0) i.e. middle of the Object.

81376ddb 06/28/2016 11:13 AM Leszek Koltunski

Avoid a crash on exiting MessageSender

369ee56a 06/27/2016 10:57 PM Leszek Koltunski

fix in vertex shader

7c227ed2 06/27/2016 12:35 PM Leszek Koltunski

Bugfix in vertex shader (vertices were shot into outer space if P==S, i.e. if center point was exactly equal to the vertex being computed)

341c803d 06/27/2016 12:00 PM Leszek Koltunski

Progress with Vertex3D

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

Minor: deal with IntelliJ warnings

8aac2acc 06/24/2016 11:07 AM Leszek Koltunski

minor

0318e7e3 06/24/2016 11:05 AM Leszek Koltunski

Important bugfix in the vertex shader: there was division by 0 in case Center point was on the edge of the Object, resulting in some vertices being shot into outer space.

42e62272 06/23/2016 01:33 PM Leszek Koltunski

Vertex3D almost finished - there's still a problem when parts of Cubes get culled if the Object gets Deformed or Distorted to the left (curiously only the 'left' direction seems to trigger this!)

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

Cleanup, consistent variable names, minor details.

5fd28c26 06/22/2016 12:21 AM Leszek Koltunski

Further progress with SenderThread: make it possible to actually exit the thread on app exit.

6613266b 06/22/2016 12:12 AM Leszek Koltunski

Major: the MessageSender thread used to be running all the time in a tight loop!!

e25d0dde 06/21/2016 11:13 PM Leszek Koltunski

Additional Javadoc stuff.

0df17fad 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)

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

Cleanup.

3a35681a 06/20/2016 11:51 PM Leszek Koltunski

Bugfix: send EFFECT_REMOVED to all Listeners from EffectQueue.abortAll() !

bb7d8484 06/20/2016 10:32 AM Leszek Koltunski

Minor cleanup.

fee0865c 06/20/2016 10:31 AM Leszek Koltunski

Fix for adding a single DistortedObject to a DistortedNode tree multiple times.

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.

a595ee16 06/17/2016 09:34 PM Leszek Koltunski

New API tested.

d425545a 06/16/2016 11:49 PM Leszek Koltunski

Some more progress with porting apps to new VERTEX API.

f2fe7e28 06/16/2016 04:21 PM Leszek Koltunski

Major push towards simplifying DistortedObject's public API.
Beginning of work on VERTEX Effects - does not compile ATM!

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

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

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

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

e458a4ba 06/15/2016 12:40 PM Leszek Koltunski

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

a4835695 06/15/2016 12:05 PM Leszek Koltunski

move data types, like FlatND and InterpolatorND, to a separate package.

9351ad55 06/15/2016 11:23 AM Leszek Koltunski

comment cleanup in DistortedObject.

e0a16874 06/15/2016 11:18 AM Leszek Koltunski

cleanup in DistortedObject's methods.

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

Add license

cb0e1940 06/13/2016 10:28 PM Leszek Koltunski

remove the remains of DistortedBitmaps from DistortedNode

476bbc81 06/13/2016 10:19 PM Leszek Koltunski

Bugfix for removeByType

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

e1e275c1 06/12/2016 10:46 PM Leszek Koltunski

Javadoc stuff.

57dc1301 06/10/2016 03:39 PM Leszek Koltunski

Implement SAVE_PNG

2e18813f 06/10/2016 03:11 PM Leszek Koltunski

Beginnings of support for the SavePNG effect.

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

abstract setMax and getMax to EffectQueue.

b1e91f2c 06/10/2016 12:39 PM Leszek Koltunski

Improce the 'Check' App.

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)

1b096d30 06/07/2016 11:03 PM Leszek Koltunski

New app: PlainMonaLisa (Mona Lisa rendered on plain SurfaceView)

f2a0d837 06/03/2016 11:43 PM Leszek Koltunski

Minor cleanup.

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

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

ada90d33 06/03/2016 10:09 PM Leszek Koltunski

Make deep copying DistortedObjects (needed in DistortedNode) standard.

19bed2df 06/03/2016 03:51 PM Leszek Koltunski

Defensive programming.

9361b337 06/03/2016 03:38 PM Leszek Koltunski

Provide support to add any class derived from DistortedObject to DistortedNode.

437bc43e 06/02/2016 08:24 PM Leszek Koltunski

Adjust comments.

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

convert Distorted.java from GLSurfaceView to Context.

b329f352 06/02/2016 03:13 PM Leszek Koltunski

Improvements for Javadoc

d7bbef2f 05/30/2016 11:05 PM Distorted Admin

Fix javadoc errors

da7ce0d8 05/30/2016 09:45 PM LeszekKoltunski

Fix javadoc errors