Package javax.media.opengl

Examples of javax.media.opengl.GL2.glGetString()


    float h = (float)height / (float)width;
           
    gl.glMatrixMode(GL2.GL_PROJECTION);

    System.err.println("GL_VENDOR: " + gl.glGetString(GL2.GL_VENDOR));
    System.err.println("GL_RENDERER: " + gl.glGetString(GL2.GL_RENDERER));
    System.err.println("GL_VERSION: " + gl.glGetString(GL2.GL_VERSION));
    gl.glLoadIdentity();
    gl.glFrustum(-1.0f, 1.0f, -h, h, 5.0f, 60.0f);
    gl.glMatrixMode(GL2.GL_MODELVIEW);
View Full Code Here


    float h = (float)height / (float)width;
           
    gl.glMatrixMode(GL2.GL_PROJECTION);

    System.err.println("GL_VENDOR: " + gl.glGetString(GL2.GL_VENDOR));
    System.err.println("GL_RENDERER: " + gl.glGetString(GL2.GL_RENDERER));
    System.err.println("GL_VERSION: " + gl.glGetString(GL2.GL_VERSION));
    gl.glLoadIdentity();
    gl.glFrustum(-1.0f, 1.0f, -h, h, 5.0f, 60.0f);
    gl.glMatrixMode(GL2.GL_MODELVIEW);
    gl.glLoadIdentity();
View Full Code Here

           
    gl.glMatrixMode(GL2.GL_PROJECTION);

    System.err.println("GL_VENDOR: " + gl.glGetString(GL2.GL_VENDOR));
    System.err.println("GL_RENDERER: " + gl.glGetString(GL2.GL_RENDERER));
    System.err.println("GL_VERSION: " + gl.glGetString(GL2.GL_VERSION));
    gl.glLoadIdentity();
    gl.glFrustum(-1.0f, 1.0f, -h, h, 5.0f, 60.0f);
    gl.glMatrixMode(GL2.GL_MODELVIEW);
    gl.glLoadIdentity();
    gl.glTranslatef(0.0f, 0.0f, -40.0f);
View Full Code Here

            reshape3DScene(drawable.getGL().getGL2());

            if (DEBUG) {
                DEBUG = false;
                System.err.println("GL_VENDOR: " + gl.glGetString(GL2.GL_VENDOR));
                System.err.println("GL_RENDERER: " + gl.glGetString(GL2.GL_RENDERER));
                System.err.println("GL_VERSION: " + gl.glGetString(GL2.GL_VERSION));
            }

            resizing = false;
View Full Code Here

            reshape3DScene(drawable.getGL().getGL2());

            if (DEBUG) {
                DEBUG = false;
                System.err.println("GL_VENDOR: " + gl.glGetString(GL2.GL_VENDOR));
                System.err.println("GL_RENDERER: " + gl.glGetString(GL2.GL_RENDERER));
                System.err.println("GL_VERSION: " + gl.glGetString(GL2.GL_VERSION));
            }

            resizing = false;
        }
View Full Code Here

            if (DEBUG) {
                DEBUG = false;
                System.err.println("GL_VENDOR: " + gl.glGetString(GL2.GL_VENDOR));
                System.err.println("GL_RENDERER: " + gl.glGetString(GL2.GL_RENDERER));
                System.err.println("GL_VERSION: " + gl.glGetString(GL2.GL_VERSION));
            }

            resizing = false;
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.