• 快乐的大脚1在线观看 > glMap1f(GLMAPVERTEX3
  • glMap1f(GLMAPVERTEX3

    免费下载 下载该文档 文档格式:PPT   更新时间:2005-05-02   下载次数:0   点击次数:1
    文档基本属性
    文档语言:
    文档格式:ppt
    文档作者:Ed Angel
    关键词:
    主题:
    备注:
    点击这里显示更多文档属性
    Angel: Interactive Computer Graphics 4E Addison-Wesley 2005
    Curves and Surfaces in OpenGL
    Ed Angel
    Professor of Computer Science, Electrical and Computer Engineering, and Media Arts
    University of New Mexico
    Objectives
    Introduce OpenGL evaluators
    Learn to render polynomial curves and surfaces
    Discuss quadrics in OpenGL
    GLUT Quadrics
    GLU Quadrics
    What Does OpenGL Support
    Evaluators: a general mechanism for working with the Bernstein polynomials
    Can use any degree polynomials
    Can use in 1-4 dimensions
    Automatic generation of normals and texture coordinates
    NURBS supported in GLU
    Quadrics
    GLU and GLUT contain polynomial approximations of quadrics
    One-Dimensional Evaluators
    Evaluate a Bernstein polynomial of any degree at a set of specified values
    Can evaluate a variety of variables
    Points along a 2, 3 or 4 dimensional curve
    Colors
    Normals
    Texture Coordinates
    We can set up multiple evaluators that are all evaluated for the same value
    Setting Up an Evaluator
    glMap1f(type,u_min,u_max,stride,
    order, pointer_to_array)
    what we want to evaluate
    max and min of u
    1+degree of polynomial
    pointer to control data
    separation between
    data points
    Each type must be enabled by glEnable(type)
    Example
    Consider an evaluator for a cubic Bezier curve over (0,1)
    point data[ ]={…………..}; * /3d data /*
    glMap1f(GL_MAP_VERTEX_3,0.0,1.0,3,4,data);

    下一页

  • 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
  • 免费下载 PPT格式下载
  • 您可能感兴趣的
  • 快乐的大脚1完整电影  电影快乐的大脚1免费  快乐大脚1电影完整版  电影快乐的大脚1国语  快乐的大脚1国语  快乐的大脚1下载  快乐的大脚1迅雷下载  快乐的大脚1英文版  快乐大脚1电影全集