- make VideoRecorderAppState record post effects..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8717 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
7f17c8d1f1
commit
86956cf130
@ -15,6 +15,7 @@ import java.awt.image.BufferedImage;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import java.util.concurrent.ExecutorService;
|
import java.util.concurrent.ExecutorService;
|
||||||
import java.util.concurrent.Executors;
|
import java.util.concurrent.Executors;
|
||||||
@ -80,7 +81,9 @@ public class VideoRecorderAppState extends AbstractAppState {
|
|||||||
file = new File(filename);
|
file = new File(filename);
|
||||||
}
|
}
|
||||||
processor = new VideoProcessor();
|
processor = new VideoProcessor();
|
||||||
app.getViewPort().addProcessor(processor);
|
List<ViewPort> vps = app.getRenderManager().getPostViews();
|
||||||
|
ViewPort last = vps.get(vps.size()-1);
|
||||||
|
last.addProcessor(processor);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user