diff options
author | Sven Gothel <[email protected]> | 2011-03-29 13:09:32 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-03-29 13:09:32 +0200 |
commit | 2a3a260aece0060f5aa03d83a177d3f373664324 (patch) | |
tree | 6240e828f8392ed18baf7114741aaf8ef2499eca /src | |
parent | 2f094d97a1cbdf14c25a7ebc1b183e20bdd6c4cd (diff) |
Same size for both tests diff technique
Diffstat (limited to 'src')
-rw-r--r-- | src/demo/GPUTextNewtDemo01.java | 5 | ||||
-rw-r--r-- | src/demo/GPUTextNewtDemo02.java | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/demo/GPUTextNewtDemo01.java b/src/demo/GPUTextNewtDemo01.java index 7bad55aa5..a07ead417 100644 --- a/src/demo/GPUTextNewtDemo01.java +++ b/src/demo/GPUTextNewtDemo01.java @@ -61,7 +61,7 @@ public class GPUTextNewtDemo01 { window = GLWindow.create(caps); window.setPosition(10, 10); - window.setSize(500, 500); + window.setSize(400, 400); window.setTitle("GPU Text Newt Demo 01 - r2t0 msaa1"); textGLListener = new TextGLListener(); @@ -76,7 +76,8 @@ public class GPUTextNewtDemo01 { private class TextGLListener extends GPUTextGLListenerBase01 { public TextGLListener() { super(SVertex.factory(), Region.SINGLE_PASS, DEBUG, TRACE); - setMatrix(-10, 10, 0f, -70, 0); + //setMatrix(-10, 10, 0f, -70, 0); + setMatrix(-10, 10, 0f, -100, 400); } public void init(GLAutoDrawable drawable) { diff --git a/src/demo/GPUTextNewtDemo02.java b/src/demo/GPUTextNewtDemo02.java index bda7fe0e2..012ee9936 100644 --- a/src/demo/GPUTextNewtDemo02.java +++ b/src/demo/GPUTextNewtDemo02.java @@ -27,13 +27,10 @@ */ package demo; -import java.io.IOException; - import javax.media.opengl.GL; import javax.media.opengl.GL3; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLCapabilities; -import javax.media.opengl.GLException; import javax.media.opengl.GLProfile; import com.jogamp.graph.curve.Region; @@ -89,7 +86,7 @@ public class GPUTextNewtDemo02 { private class TextGLListener extends GPUTextGLListenerBase01 { public TextGLListener() { super(SVertex.factory(), Region.TWO_PASS, DEBUG, TRACE); - setMatrix(-10, 10, 0f, -1000, 400); + setMatrix(-10, 10, 0f, -100, 400); } public void init(GLAutoDrawable drawable) { |