Revision 82ee855a
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/EffectNames.java | ||
---|---|---|
41 | 41 |
*/ |
42 | 42 |
public enum EffectNames |
43 | 43 |
{ |
44 |
// EFFECT NAME /////// EFFECT TYPE ////////////// UNITY /////////////////////////
|
|
44 |
// EFFECT NAME /////// EFFECT TYPE ////////////// UNITY /////////////// DIM // REGION // CENTER
|
|
45 | 45 |
|
46 | 46 |
///////////////////////////////////////////////////////////////////////////////// |
47 | 47 |
// MATRIX EFFECTS. |
... | ... | |
96 | 96 |
* Apply a 3D vector of force to area around a point on the surface of the Object. |
97 | 97 |
* <p> |
98 | 98 |
* Uniforms: (forceX ,forceY ,forceZ ,UNUSED , |
99 |
* UNUSED , UNUSED,centerX ,centerY ,
|
|
99 |
* UNUSED , centerX ,centerY , centerZ,
|
|
100 | 100 |
* regionX,regionY,regionRX,regionRY) |
101 | 101 |
* <p> |
102 | 102 |
* Unity: (forceX,forceY,forceZ) = (0,0,0) |
... | ... | |
106 | 106 |
* Deform the whole Object by applying a 2D vector of force to a center point. |
107 | 107 |
* <p> |
108 | 108 |
* Uniforms: (forceX,forceY,UNUSED,UNUSED, |
109 |
* UNUSED,UNUSED,centerX,centerY,
|
|
109 |
* UNUSED,centerX,centerY,centerZ,
|
|
110 | 110 |
* UNUSED,UNUSED,UNUSED,UNUSED) |
111 | 111 |
* <p> |
112 | 112 |
* Unity: (forceX,forceY) = (0,0) |
... | ... | |
116 | 116 |
* Pull (or push away) all points around a center point to (from) it. |
117 | 117 |
* <p> |
118 | 118 |
* Uniforms: (sinkFactor,UNUSED,UNUSED,UNUSED, |
119 |
* UNUSED,UNUSED,centerX,centerY,
|
|
119 |
* UNUSED,centerX,centerY,centerZ,
|
|
120 | 120 |
* regionX,regionY,regionRX,regionRY) |
121 | 121 |
* <p> |
122 | 122 |
* Unity: sinkFactor = 1 |
123 | 123 |
*/ |
124 | 124 |
SINK ( EffectTypes.VERTEX , new float[] {1.0f} , 1, true, true ), |
125 |
/** |
|
126 |
* Pull (or push away) all points around a line to (from) it. |
|
127 |
* <p> |
|
128 |
* Uniforms: (pinchFactor,lineAngle,UNUSED,UNUSED, |
|
129 |
* UNUSED,centerX,centerY,centerZ, |
|
130 |
* regionX,regionY,regionRX,regionRY) |
|
131 |
* <p> |
|
132 |
* Unity: sinkFactor = 1 |
|
133 |
*/ |
|
134 |
PINCH ( EffectTypes.VERTEX , new float[] {1.0f} , 2, true, true ), |
|
125 | 135 |
/** |
126 | 136 |
* Smoothly rotate a limited area around a center point. |
127 | 137 |
* <p> |
128 | 138 |
* Uniforms: (swirlAngle,UNUSED,UNUSED,UNUSED, |
129 |
* UNUSED, UNUSED,centerX,centerY,
|
|
139 |
* UNUSED, centerX,centerY,centerZ,
|
|
130 | 140 |
* regionX,regionY,regionRX,regionRY) |
131 | 141 |
* <p> |
132 | 142 |
* Unity: swirlAngle = 0 |
... | ... | |
137 | 147 |
* parameters. Details: {@link DistortedObject#wave(Data5D,Data2D)} |
138 | 148 |
* <p> |
139 | 149 |
* Uniforms: (amplitude,length,phase,angleAlpha, |
140 |
* angleBeta, UNUSED,centerX,centerY,
|
|
150 |
* angleBeta, centerX,centerY,centerZ,
|
|
141 | 151 |
* regionX,regionY,regionRX,regionRY) |
142 | 152 |
* <p> |
143 | 153 |
* Unity: amplitude = 0 |
Also available in: Unified diff
New vertex effect 'PINCH'