Package javax.media.opengl

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


      //////////////////////////////////
//    */
//      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

     
      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

//      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

//      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

    }
   
    //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

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

 
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.