summaryrefslogtreecommitdiffstats
path: root/src/demo
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-29 13:26:01 +0300
committerRami Santina <[email protected]>2011-03-29 13:26:01 +0300
commit2f094d97a1cbdf14c25a7ebc1b183e20bdd6c4cd (patch)
treea53e06083e995f850e334d8d137fcd5823517e19 /src/demo
parentd6aedbf7677e4375d09d0995d3f9c14c5104091b (diff)
Updated textTextRenderer 3 views each and write to tga file
Diffstat (limited to 'src/demo')
-rw-r--r--src/demo/GPUTextGLListenerBase01.java5
-rw-r--r--src/demo/GPUTextNewtDemo01.java1
2 files changed, 3 insertions, 3 deletions
diff --git a/src/demo/GPUTextGLListenerBase01.java b/src/demo/GPUTextGLListenerBase01.java
index f894f4142..1b2dd7e17 100644
--- a/src/demo/GPUTextGLListenerBase01.java
+++ b/src/demo/GPUTextGLListenerBase01.java
@@ -71,7 +71,8 @@ public abstract class GPUTextGLListenerBase01 implements GLEventListener {
static final String text2;
static {
- text1 = "abcdef\nghijklmn\nopqrstuv\nwxyz\n0123456789";
+ //text1 = "abcdef\nghijklmn\nopqrstuv\nwxyz\n0123456789";
+ text1 = "abcdef\nghijklmn\nopqrstuv\nwxyz\n#$!%-+=";
text2 = text1.toUpperCase();
}
@@ -183,7 +184,7 @@ public abstract class GPUTextGLListenerBase01 implements GLEventListener {
}
public void printScreen(GLWindow window, String dir, String tech, boolean exportAlpha) throws GLException, IOException{
- String filename = dir + tech + "-" + window.getWidth()+ "x" + window.getHeight() + "-" + texSize+ ".tga";
+ String filename = dir + tech + "-" + window.getWidth()+ "x" + window.getHeight() + "-T" + texSize + "-Z" + Math.abs(zoom) +".tga";
Screenshot.writeToTargaFile(new File(filename), window.getWidth(), window.getHeight(), exportAlpha);
}
diff --git a/src/demo/GPUTextNewtDemo01.java b/src/demo/GPUTextNewtDemo01.java
index 362627e56..7bad55aa5 100644
--- a/src/demo/GPUTextNewtDemo01.java
+++ b/src/demo/GPUTextNewtDemo01.java
@@ -69,7 +69,6 @@ public class GPUTextNewtDemo01 {
window.setVisible(true);
FPSAnimator animator = new FPSAnimator(10);
- // Animator animator = new Animator();
animator.add(window);
animator.start();
}