Revision c1ca7c3d
Added by Leszek Koltunski over 9 years ago
| src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java | ||
|---|---|---|
| 166 | 166 |
bmp[0].sink(sink, pRight,RegionEye); |
| 167 | 167 |
bmp[1].distort(mDI, pNose1); |
| 168 | 168 |
|
| 169 |
Dynamic1D macroblockDyn = new Dynamic1D(3000,0.0f);
|
|
| 170 |
macroblockDyn.add(new Static1D(1));
|
|
| 171 |
macroblockDyn.add(new Static1D(50));
|
|
| 169 |
Dynamic1D chromaDyn = new Dynamic1D(3000,0.0f);
|
|
| 170 |
chromaDyn.add(new Static1D(0));
|
|
| 171 |
chromaDyn.add(new Static1D(1));
|
|
| 172 | 172 |
|
| 173 |
bmp[2].macroblock(macroblockDyn);
|
|
| 173 |
bmp[2].chroma(chromaDyn, new Static3D(0,1,0) );
|
|
| 174 | 174 |
|
| 175 | 175 |
try |
| 176 | 176 |
{
|
Also available in: Unified diff
Fix the 'Different Effects' app