Revision 9e7b6dbd
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldEffectsManager.java | ||
---|---|---|
145 | 145 |
|
146 | 146 |
// WHITENESS |
147 | 147 |
// Vertex Effects |
148 |
wLipsRegion = new Static4D(0,0,100,100);
|
|
148 |
wLipsRegion = new Static4D(0,0,0,100); |
|
149 | 149 |
wLipsCenter = new Static3D(300,500,0); |
150 | 150 |
wLipsFactor = new Static1D(0.7f); |
151 | 151 |
wLipsDyn = new Dynamic1D(); |
... | ... | |
153 | 153 |
|
154 | 154 |
// ASIANNESS |
155 | 155 |
// Vertex Effects |
156 |
aLipsNoseRegion = new Static4D(0,0,267,267);
|
|
156 |
aLipsNoseRegion = new Static4D(0,0,0,267);
|
|
157 | 157 |
aLipsNoseCenter = new Static3D(300,560,0); |
158 | 158 |
aLipsNoseDyn = new Dynamic3D(); |
159 | 159 |
aLipsNoseFactor = new Static3D(0,0,0); |
160 | 160 |
aLipsNoseDyn.add(aLipsNoseFactor); |
161 | 161 |
|
162 |
aNoseBroaderRegion = new Static4D(0,0,130,130);
|
|
162 |
aNoseBroaderRegion = new Static4D(0,0,0,130); |
|
163 | 163 |
aNoseBroaderCenter = new Static3D(300,307,0); |
164 | 164 |
aNoseBroaderDyn = new Dynamic2D(); |
165 | 165 |
aNoseBroaderFactor = new Static2D(0,90); |
166 | 166 |
aNoseBroaderDyn.add(aNoseBroaderFactor); |
167 | 167 |
|
168 |
aNostrilsRegion = new Static4D(0,0,60,60);
|
|
168 |
aNostrilsRegion = new Static4D(0,0,0,60); |
|
169 | 169 |
aNostrilsCenter = new Static3D(300,336,0); |
170 | 170 |
aNostrilsDyn = new Dynamic3D(); |
171 | 171 |
aNostrilsFactor = new Static3D(0,0,0); |
172 | 172 |
aNostrilsDyn.add(aNostrilsFactor); |
173 | 173 |
|
174 |
aEyesRegion = new Static4D(0,0,83,83);
|
|
174 |
aEyesRegion = new Static4D(0,0,0,83);
|
|
175 | 175 |
aLEyeCenter = new Static3D(176,230,0); |
176 | 176 |
aREyeCenter = new Static3D(420,230,0); |
177 | 177 |
aLEyeDyn = new Dynamic1D(); |
... | ... | |
181 | 181 |
aLEyeDyn.add(aLEyeFactor); |
182 | 182 |
aREyeDyn.add(aREyeFactor); |
183 | 183 |
|
184 |
aEyebrowsRegion = new Static4D(0,0,142,142);
|
|
184 |
aEyebrowsRegion = new Static4D(0,0,0,142);
|
|
185 | 185 |
aEyebrowsCenter = new Static3D(300,100,0); |
186 | 186 |
aEyebrowsDyn = new Dynamic3D(); |
187 | 187 |
aEyebrowsFactor = new Static3D(0,0,0); |
... | ... | |
204 | 204 |
|
205 | 205 |
// BLACKNESS |
206 | 206 |
// Vertex Effects |
207 |
bFaceRegion = new Static4D(0,0,600,600);
|
|
207 |
bFaceRegion = new Static4D(0,0,0,600); |
|
208 | 208 |
bFaceCenter = new Static3D(300,300,0); |
209 | 209 |
bFaceFactor = new Static2D(1.0f,90.0f); |
210 | 210 |
bFaceDyn = new Dynamic2D(); |
211 | 211 |
bFaceDyn.add(bFaceFactor); |
212 | 212 |
|
213 |
bTipLowerRegion = new Static4D(0,0,41,41);
|
|
213 |
bTipLowerRegion = new Static4D(0,0,0,41);
|
|
214 | 214 |
bTipLowerCenter = new Static3D(300,393,0); |
215 | 215 |
bTipLowerFactor = new Static3D(0,0,0); |
216 | 216 |
bTipLowerDyn = new Dynamic3D(); |
217 | 217 |
bTipLowerDyn.add(bTipLowerFactor); |
218 | 218 |
|
219 |
bWholeNoseRegion = new Static4D(0,0,130,130);
|
|
219 |
bWholeNoseRegion = new Static4D(0,0,0,130); |
|
220 | 220 |
bWholeNoseCenter = new Static3D(300,357,0); |
221 | 221 |
bWholeNoseFactor = new Static2D(1.0f,90.0f); |
222 | 222 |
bWholeNoseDyn = new Dynamic2D(); |
223 | 223 |
bWholeNoseDyn.add(bWholeNoseFactor); |
224 | 224 |
|
225 |
bNoseBroaderRegion = new Static4D(0,0,95,95);
|
|
225 |
bNoseBroaderRegion = new Static4D(0,0,0,95);
|
|
226 | 226 |
bNoseBroaderCenter = new Static3D(300,408,0); |
227 | 227 |
bNoseBroaderFactor = new Static2D(1.0f,90.0f); |
228 | 228 |
bNoseBroaderDyn = new Dynamic2D(); |
229 | 229 |
bNoseBroaderDyn.add(bNoseBroaderFactor); |
230 | 230 |
|
231 |
bLipsRegion = new Static4D(0,96,118,118);
|
|
231 |
bLipsRegion = new Static4D(0,96,0,118);
|
|
232 | 232 |
bLipsCenter = new Static3D(300,458,0); |
233 | 233 |
bLipsFactor = new Static2D(1.0f,0.0f); |
234 | 234 |
bLipsDyn = new Dynamic2D(); |
Also available in: Unified diff
Redefine the Vertex Region from (x,y,r,unused) to (x,y,z,r). This takes into account the 'Z', which makes it possible to warp only one side of a 3D Mesh like Sphere.
Also corresponding changes in applications.