JOGL
From wiki.3h.se
Rendering simple text
import com.sun.opengl.util.j2d.*; //should be where imports are private TextRenderer renderer; //should be where variables are set //this should be in init() renderer = new TextRenderer(new Font("Serif", Font.PLAIN, 72), true, true); //then this is put in the display() so you can but x and y to variables and change them in the animation renderer.beginRendering(max-x, max-y); renderer.draw("Heeeyylooo!!", x, y); renderer.endRendering();
Resources
- Java dokumentation http://java.sun.com/j2se/1.5.0/docs/api/
- JOGL hemsida https://jogl.dev.java.net/
- Red Book exempel omskrivna till JOGL http://ak.kiet.le.googlepages.com/theredbookinjava.html
- Bok som verkar vara värd att läsa igenom http://www.genedavissoftware.com/books/jogl/
- GLUT referens http://download.java.net/media/jogl/builds/nightly/javadoc_public/com/sun/opengl/util/GLUT.html

