Revision c6e1c219
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/library/EffectTypes.java | ||
---|---|---|
10 | 10 |
public enum EffectTypes |
11 | 11 |
{ |
12 | 12 |
/** |
13 |
* Matrix effects - i.e. effect that change the ModelView matrix. Rotations, Moves, Shears, Scales.
|
|
13 |
* Effects that change the ModelView matrix: Rotations, Moves, Shears, Scales.
|
|
14 | 14 |
*/ |
15 | 15 |
MATRIX ( 0x1 ), // we will need to perform bitwise operations on those - so keep the values 1,2,4,8... |
16 | 16 |
/** |
17 |
* Vertex Effects - i.e. those that get executed in the Vertex shader. Generally various distortions |
|
18 |
* of the vertices. |
|
17 |
* Effects that get executed in the Vertex shader: various distortions of the vertices. |
|
19 | 18 |
*/ |
20 | 19 |
VERTEX ( 0x2 ), |
21 | 20 |
/** |
22 |
* Fragment Effects - executed in the Fragment shader. Changes of color, hue, transparency levels, etc.
|
|
21 |
* Effects executed in the Fragment shader: changes of color, hue, transparency levels, etc.
|
|
23 | 22 |
*/ |
24 | 23 |
FRAGMENT ( 0x4 ), |
25 | 24 |
/** |
26 |
* effects that did not belong to anywhere else - currently saving the contents of underlying Surface
|
|
27 |
* to a PNG or a MP4 file. |
|
25 |
* Effects that did not belong to anywhere else - currently only saving the contents of underlying
|
|
26 |
* Surface to a PNG or a MP4 file.
|
|
28 | 27 |
*/ |
29 | 28 |
OTHER ( 0x8 ); |
30 | 29 |
|
... | ... | |
54 | 53 |
maxtable[3] = 5; // Max 5 OTHER Effects |
55 | 54 |
} |
56 | 55 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
57 |
} |
|
58 |
|
|
56 |
} |
Also available in: Unified diff
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!!