summaryrefslogtreecommitdiffstats
path: root/src/redbook/etc
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-09-15 11:53:20 +0200
committerMichael Bien <[email protected]>2009-09-15 11:53:20 +0200
commit85bd6a6eca6691a7b215e36e09800d410d4a695e (patch)
tree7ba2d2e74b559bf9d7d1b5f74e826c07f9c1634e /src/redbook/etc
parent293fda5dca0f22d93c9d3019ca12724c67de5c9d (diff)
Initial import of JOGL 2 redbook sample projects
-project builds stand alone, all dependencies including doc are downloaded automatically -a full build will create a slideshow applet in dist/ -project can be opened with NetBeans -original credits go to Kiet Le, ported to JOGL 2 by Claudio E. Goes
Diffstat (limited to 'src/redbook/etc')
-rw-r--r--src/redbook/etc/Util.java32
-rw-r--r--src/redbook/etc/redbook.txt92
2 files changed, 124 insertions, 0 deletions
diff --git a/src/redbook/etc/Util.java b/src/redbook/etc/Util.java
new file mode 100644
index 0000000..77e3e7f
--- /dev/null
+++ b/src/redbook/etc/Util.java
@@ -0,0 +1,32 @@
+package etc;
+
+import java.util.Scanner;
+import java.util.TreeSet;
+
+/**
+ *
+ * @author mbien
+ */
+public class Util {
+
+
+ public static void main(String[] args) {
+ Scanner scanner = new Scanner(Util.class.getResourceAsStream("redbook.txt"));
+
+ TreeSet<String> set = new TreeSet<String>();
+ while(scanner.hasNext())
+ set.add(scanner.next());
+
+// for (String item : set) {
+// System.out.println("<applet width='${JNLP.APPLET.WIDTH}' height='${JNLP.APPLET.HEIGHT}'>");
+// System.out.println(" <param name='jnlp_href' value='${JNLP.FILE}'/>");
+// System.out.println(" <param name='demo' value='"+item+"'/>");
+// System.out.println("</applet>");
+// }
+ for (String item : set) {
+ System.out.println("<option value='"+item+"' selected>"+item);
+ }
+
+
+ }
+}
diff --git a/src/redbook/etc/redbook.txt b/src/redbook/etc/redbook.txt
new file mode 100644
index 0000000..3671a5b
--- /dev/null
+++ b/src/redbook/etc/redbook.txt
@@ -0,0 +1,92 @@
+glredbook10.accanti
+glredbook10.accnot
+glredbook10.accpersp
+glredbook10.accum
+glredbook10.aim
+glredbook10.alpha
+glredbook10.alpha3D
+glredbook10.anti
+glredbook10.antipoint
+glredbook10.antipoly
+glredbook10.bezcurve
+glredbook10.bezmesh
+glredbook10.bezsurf
+glredbook12x.blendeqn
+glredbook10.checker
+glredbook10.checker2
+glredbook10.chess
+glredbook10.clip
+glredbook10.colormat
+glredbook12x.colormatrix
+glredbook12x.colortable
+glredbook1314.combiner
+glredbook10.cone
+glredbook12x.convolution
+glredbook10.cube
+glredbook1314.cubemap
+glredbook10.depthcue
+glredbook10.disk
+glredbook10.dof
+glredbook10.dofnot
+glredbook10.doublebuf
+glredbook10.drawf
+glredbook10.feedback
+glredbook10.fog
+glredbook1314.fogcoord
+glredbook10.font
+glredbook11.aargb
+glredbook11.hello
+glredbook12x.histogram
+glredbook11.image
+glredbook10.jfont
+glredbook10.light
+glredbook10.linelist
+glredbook10.lines
+glredbook10.list
+glredbook10.list2
+glredbook10.maplight
+glredbook10.material
+glredbook12x.minmax
+glredbook10.mipmap
+glredbook10.model
+glredbook10.movelight
+glredbook1314.multisamp
+glredbook12x.multitex
+glredbook1314.mvarray
+glredbook10.pickdepth
+glredbook10.pickline
+glredbook10.picksquare
+glredbook10.plane
+glredbook10.planet
+glredbook10.planetup
+glredbook1314.pointp
+glredbook11.polyoff
+glredbook10.polys
+glredbook12x.quadric
+glredbook10.robot
+glredbook10.sccolorlight
+glredbook10.scene
+glredbook10.scenebamb
+glredbook10.sceneflat
+glredbook10.select
+glredbook1314.shadowmap
+glredbook10.simple
+glredbook10.smooth
+glredbook10.sphere
+glredbook10.stencil
+glredbook10.stroke
+glredbook10.tea
+glredbook10.teaambient
+glredbook10.teapots
+glredbook11.tess
+glredbook11.tesswind
+glredbook11.texbind
+glredbook11.texgen
+glredbook11.texprox
+glredbook11.texsub
+glredbook12x.texture3d
+glredbook10.texturesurf
+glredbook11.torus
+glredbook11.unproject
+glredbook11.varray
+glredbook11.wrap