• OpenGL的函数(GLU, GLUT)


    2011-10-11_111518

    目前OpenGL的函数主要包含在3个库中 
    1.GL 函数库 
    2.GLU 函数库 
    3.GLUT 函数库

    2.GLU 函数库


    绘制 NURBS 曲线和曲面 
    ------------------------------

    gluNewNurbsRenderer 
    gluNurbsProperty 
    gluNurbsCallback 
    gluBeginCurve , gluEndCurve 
    gluNurbsCurve 
    gluDeleteNurbsRenderer 
    gluBeginSurface , gluEndSurface 
    gluNurbsSurface 
    gluBeginTrim , gluEndTrim 
    gluPwlCurve 
    gluBeginPolygon , gluEndPolygon 
    gluPickMatrix

    绘制二次几何物体 
    ---------------------------------

    gluNewQuadric 
    gluQuadricDrawStyle 
    gluQuadricNormals 
    gluQuadricOrientation 
    gluCylinder 
    gluSphere 
    gluDisk 
    gluPartialDisk 
    gluDeleteQuadric 
    gluQuadricTexture 
    gluQuadricCallback

    网格化 
    ------------------------------

    gluNewTess 
    gluTessVertex 
    gluTessCallback 
    gluTessBeginPolygon , gluTessEndPolygon 
    gluTessBeginContour , gluTessBeginContour 
    gluTessProperty 
    gluNextContour 
    gluTessNormal 
    gluDeleteTess

    坐标转换 
    ------------------------------

    gluOrtho2D 
    gluPerspective 
    gluLookAt 
    gluProject 
    gluUnProject

    多重映射 
    ------------------------------

    gluBuild1DMipmaps 
    gluBuild2DMipmaps 
    gluScaleImage

    查询函数 
    -----------------------------

    gluErrorString 
    gluGetNurbsProperty 
    gluGetString 
    gluGetTessProperty

    3.GLUT 库函数 


    初始化和启动事件处理 
    ------------------------- 
    glutInit 
    glutInitWindowPosition 
    glutInitWindowSize 
    glutInitDisplayMode 
    glutMainLoop 
    窗口管理 
    ------------------------- 
    glutCreateWindow 
    glutCreateSubWindow 
    glutHideWindow 
    glutShowWindow 
    glutSetWindowTitle 
    glutPostRedisplay 
    glutSwapBuffers 
    glutFullScreen 
    glutPositionWindow 
    glutReshapeWindow 
    glutSetWindow 
    glutGetWindow 
    glutPopWindow 
    glutPushWindow 
    glutDestroyWindow 
    glutIconifyWindow 
    glutSetCursor 
    重叠层管理 
    ------------------------- 
    glutEstablishOverlay 
    glutUseLayer 
    glutRemoveOverlay 
    glutPostOverlayRedisplay 
    glutShowOverlay 
    glutHideOverlay 
    菜单管理 
    -------------------------

    glutCreateMenu 
    glutAddMenuEntry 
    glutAddSubMenu 
    glutAttachMenu 
    glutGetMenu 
    glutSetMenu 
    glutDestroyMenu 
    glutChangeToMenuEntry 
    glutChangeToSubMenu 
    glutRemoveMenuItem 
    glutDetachMenu

    注册回调函数 
    ------------------------------- 
    glutDisplayFunc 
    glutReshapeFunc 
    glutMouseFunc 
    glutMotionFunc 
    glutIdleFunc 
    glutVisibilityFunc 
    glutKeyboardFunc 
    glutSpecialFunc 
    glutOverlayDisplayFunc 
    glutPassiveMotionFunc 
    glutEntryFunc 
    glutSpaceballMotionFunc 
    glutSpaceballRotateFunc 
    glutSpaceballButtonFunc 
    glutButtonBoxFunc 
    glutDialsFunc 
    glutTableMotionFunc 
    glutTableButtonFunc 
    glutMenuStatusFunc 
    glutTimerFunc 
    颜色索引映射表管理 
    ------------------------------- 
    glutSetColor 
    glutGetColor 
    glutCopyColormap 
    状态检索 
    ------------------------------- 
    glutGet 
    glutLayerGet 
    glutDeviceGet 
    glutGetModifiers 
    glutExtensionSupported 
    字体绘制 
    ------------------------------- 
    glutBitmapCharacter 
    glutBitmapWidth 
    glutStrokeCharacter 
    glutStrokeWidth 
    几何图形绘制 
    ------------------------------- 
    glutSolidSphere , glutWireSphere 
    glutSolidCube , glutWireCube 
    glutSolidCone , glutWireCone 
    glutSolidTorus , glutWireTorus 
    glutSolidDodecahedron , glutWireDodecahedron 
    glutSolidOctahedron , glutWireOctahedron 
    glutSolidTetrahedron , glutWireTetrahedron 
    glutSolieIcosahedron , glutWireIcosahedron 
    glutSolidTeapot , glutWireTeapot

  • 相关阅读:
    zt 五子棋判断禁手的一些资料 学习ing
    acwing 242. 一个简单的整数问题
    acwing 241. 楼兰图腾
    leetcode 1309 Decrypt String from Alphabet to Integer Mapping
    leetcode 1310. XOR Queries of a Subarray
    acwing 1250. 格子游戏 并查集
    MongoDB shell操作
    MongoDB shell操作
    How to retreive raw post data from HttpServletRequest in java
    How to retreive raw post data from HttpServletRequest in java
  • 原文地址:https://www.cnblogs.com/wangshide/p/2476646.html
Copyright © 2020-2023  润新知