Examples of glEndList()


Examples of javax.media.opengl.GL.glEndList()

        }
//        */
        ////////////////////////////////////
//        gl.glDepthMask(true); //Disabled to avoid too many state switches,
        gl.glDisable (GL.GL_STENCIL_TEST);   //Disabled to avoid too many state switches
    gl.glEndList();
    returnVal[0] = listIDFill;
       
    //////////////////////////////
    // Draw aliased outline    //
    //////////////////////////////
View Full Code Here

Examples of javax.media.opengl.GL.glEndList()

      //////////////////////////////////
//    */
//      gl.glDisable (GL.GL_STENCIL_TEST); 
     
//        gl.glDepthMask(true);
    gl.glEndList();
   
    returnVal[1] = listIDOutline;
   
    //Disable client states
    gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
View Full Code Here

Examples of javax.media.opengl.GL.glEndList()

     
      if (textureDrawn){
        gl.glBindTexture(textureTarget, 0);
        gl.glDisable(textureTarget);
      }
    gl.glEndList();
    //// STOP recording display list and DRAW////////////////////
   
    if (geometryInfo.isContainsNormals()){
      gl.glDisableClientState(GL.GL_NORMAL_ARRAY);
    }
View Full Code Here

Examples of javax.media.opengl.GL.glEndList()

//      if (drawSmooth)
//        gl.glDisable(GL.GL_LINE_SMOOTH);
      //FIXME TEST
      Tools3D.setLineSmoothEnabled(gl, false);
     
    gl.glEndList();
    returnVal[1] = listIDOutline;
    ////////////////////////////////////////////////////
   
    //Disable client states
    gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
View Full Code Here

Examples of javax.media.opengl.GL.glEndList()

//      if (drawSmooth)
//        gl.glDisable(GL.GL_LINE_SMOOTH);
      //FIXME TEST for multisample
      Tools3D.setLineSmoothEnabled(gl, false);
     
    gl.glEndList();
    returnVal = listIDOutline;
   
    //Disable client states
    gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
    gl.glDisableClientState(GL.GL_COLOR_ARRAY);
View Full Code Here

Examples of javax.media.opengl.GL.glEndList()

    }
   
    //Record list
    gl.glNewList(listIDFill, GL.GL_COMPILE);
      drawCharactersGL(gl, characterList, characterList.size(), lastXAdvancement, thisLineTotalXAdvancement);
    gl.glEndList();
   
    if (listIDFill != 0){
      useDisplayList = true;
      displayListID = listIDFill;
    }
View Full Code Here

Examples of javax.media.opengl.GL.glEndList()

    }
   
    //FIXME TEST
    Tools3D.setLineSmoothEnabled(gl, false);
   
    gl.glEndList();
    return listId;
  }

 
View Full Code Here

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

    @Override
    void endDisplayList(Context ctx) {
        if (VERBOSE) System.err.println("JoglPipeline.endDisplayList()");
    GL2 gl = context(ctx).getGL().getGL2();
        gl.glEndList();
    }

    int numInvalidLists = 0;
    @Override
    void callDisplayList(Context ctx, int id, boolean isNonUniformScale) {
View Full Code Here

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

    /* make the gears */
    gear1 = gl.glGenLists(1);
    gl.glNewList(gear1, GL2.GL_COMPILE);
    gl.glMaterialfv(GL2.GL_FRONT, GL2.GL_AMBIENT_AND_DIFFUSE, red, 0);
    gear(gl, 1.0f, 4.0f, 1.0f, 20, 0.7f);
    gl.glEndList();
           
    gear2 = gl.glGenLists(1);
    gl.glNewList(gear2, GL2.GL_COMPILE);
    gl.glMaterialfv(GL2.GL_FRONT, GL2.GL_AMBIENT_AND_DIFFUSE, green, 0);
    gear(gl, 0.5f, 2.0f, 2.0f, 10, 0.7f);
View Full Code Here

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

           
    gear2 = gl.glGenLists(1);
    gl.glNewList(gear2, GL2.GL_COMPILE);
    gl.glMaterialfv(GL2.GL_FRONT, GL2.GL_AMBIENT_AND_DIFFUSE, green, 0);
    gear(gl, 0.5f, 2.0f, 2.0f, 10, 0.7f);
    gl.glEndList();
           
    gear3 = gl.glGenLists(1);
    gl.glNewList(gear3, GL2.GL_COMPILE);
    gl.glMaterialfv(GL2.GL_FRONT, GL2.GL_AMBIENT_AND_DIFFUSE, blue, 0);
    gear(gl, 1.3f, 2.0f, 0.5f, 10, 0.7f);
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.