登录
首页 » Visual C++ » 01

01

于 2009-06-21 发布 文件大小:614KB
0 122
下载积分: 1 下载次数: 0

代码说明:

说明:  3.实验原理: 示范代码原理参见教材直线光栅化一节中的DDA算法。下面介绍下OpenGL画线的一些基础知识和glutReshapeFunc()函数。 (1)数学上的直线没有宽度,但OpenGL的直线则是有宽度的。同时,OpenGL的直线必须是有限长度,而不是像数学概念那样是无限的。可以认为,OpenGL的“直线”概念与数学上的“线段”接近,它可以由两个端点来确定。这里的线由一系列顶点顺次连结而成,有闭合和不闭合两种。 前面的实验已经知道如何绘“点”,那么OpenGL是如何知道拿这些顶点来做什么呢?是一个一个的画出来,还是连成线?或者构成一个多边形?或是做其它事情呢?为了解决这一问题,OpenGL要求:指定顶点的命令必须包含在glBegin函数之后,glEnd函数之前(否则指定的顶点将被忽略),并由glBegin来指明如何使用这些点。 (DDAsuanfa)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CrdConvert
    与单点定位有关的时间之间的转换,转换转换(time convert)
    2014-08-18 13:24:07下载
    积分:1
  • TexasHoldemPoker
    c++ Texas holdem poker source code
    2014-01-01 09:26:28下载
    积分:1
  • VectorConfidenceConnected
    vtk的球与刺球的例子, 对于初学者十分有用,希望帮助大家(the example of vtk hope help you)
    2014-12-31 19:59:07下载
    积分:1
  • trunk
    串口通讯的一个类,已经在用,分享给大家。(serial port communication file.)
    2015-09-14 11:34:06下载
    积分:1
  • VegaPrime
    一篇绝好的论文,主要参数VP中多坐标系的关系,包括地心坐标系,地面坐标系,投影坐标系之间的关系(An excellent paper, the main parameters of VP in the relationship between multi-coordinate system, including the geocentric coordinate system, the ground coordinate system, projection coordinates the relationship between)
    2009-06-06 09:09:35下载
    积分:1
  • Springer
    Springer - WI-FI, BLUETOOTH, ZIGBEE AND WIMAX Wi-FiTM: Architecture and Functions (Springer- WI-FI, BLUETOOTH, ZIGBEE AND WIMAX Wi-FiTM: Architecture and Functions)
    2010-05-23 02:20:38下载
    积分:1
  • power-system-simulation-
    电力系统仿真技术,主要是matlab环境下的电力系统仿真研究(Power system simulation technology, mainly is the matlab environment simulation of power system)
    2013-04-21 20:03:16下载
    积分:1
  • BF51
    BF51实验板CAN通信器件SJA1000驱动代码(BF51 experimental board SJA1000 CAN communication device driver code)
    2011-04-27 17:37:18下载
    积分:1
  • jsjshjueintrduction
    计算机视觉文本介绍,包括研究背景、意义、以及应用(Text of computer vision, including research background, significance, and application)
    2007-11-13 10:06:23下载
    积分:1
  • DrawLine
    实现坐标的显示 随机数产生 并显示到listctrl中 声称坐标轴 显示随机数,排序( Achieve coordinate display random number is generated and displayed to listctrl claimed axis shows random numbers, sorting)
    2013-11-08 20:38:32下载
    积分:1
  • 696518资源总数
  • 105949会员总数
  • 22今日下载