登录
首页 » Visual C++ » 01

01

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

代码说明:

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

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

发表评论

0 个回复

  • chap3
    opengl编程精粹 配套 光盘内容 第3章源码(Chapter 3 of the opengl Programming Gems contents of the disc)
    2012-10-25 12:21:26下载
    积分:1
  • The-art-of-programming
    超级好用的书,面试必备,包括常用的算法介绍,面试题目等等(Super easy to book, interview essential, including the commonly used algorithm is introduced, interview questions, etc.)
    2012-07-25 10:36:13下载
    积分:1
  • Standard-Library
    c标准库 参考手册 包括最有用的类和函数(Standard Library Reference)
    2010-01-02 22:10:07下载
    积分:1
  • tushuguanli
    图书管理系统 文件来源www.csdn.com 并非占用只是很好和大家分享一下!(Source file library management system is not the occupier www.csdn.com good and share with you!)
    2009-06-23 12:49:55下载
    积分:1
  • s9xs137c
    Snes9x 1.37 Snes9x Team 2001/3/1 最强的SFC模拟器!高完成度,高移植性.C++代码,多平台 转自http://www.emusilent.net/fengyin.html (Snes9x 1.37 Snes9x Team 2001/3/1 strongest SFC simulator! High completion and high portability. C++ code, multi-platform carried http://www.emusilent.net/fengyin.html)
    2009-06-15 13:26:49下载
    积分:1
  • TraceHook
    windows进程内存转储(dump)工具,它能够附加到进程,读取进程的整个内存,然后,将进程整个内存的数据保存到磁盘上。该工具不同于LordPE 和OllyDump,因为它可以下载进程的整个内存到磁盘上。(windows process memory dump (dump) tool, which can be attached to the process, read the entire memory of the process, and then the entire memory of the process data is saved to disk. The the tool unlike LordPE Ollydump because it can download the entire process memory to disk.)
    2013-05-12 17:12:08下载
    积分:1
  • Mediana
    calculate the median of an image using opencv
    2014-06-24 02:03:52下载
    积分:1
  • GLRect
    Opengl编程实现画矩形,且矩形位置大小可以随窗口位置大小变化做相应变化(Opengl programming draw a rectangle, and the rectangle position size can change with the window size changes accordingly)
    2015-11-24 13:43:30下载
    积分:1
  • c
    说明:  c自理阿婆;了解了解顾客了 快乐 噶爱国 (c self grandmother learn about customer happiness Karma patriotic)
    2010-04-04 16:47:04下载
    积分:1
  • canvas
    两个小船在移动的代码,主要是计时器的使用,利用回调函数显示动画(The two boats in the mobile code, the use of the timer, the use of a callback function to display the animation)
    2012-04-21 11:19:33下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载