登录
首页 » Visual C++ » 01

01

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

代码说明:

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

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

发表评论

0 个回复

  • cluto-2[1].1.1
    一个用于进行聚类的工具,用C++编写的(One for the cluster tool, using C++ Prepared)
    2008-03-16 12:51:33下载
    积分:1
  • SetDrv
    一个以服务方式加载和卸载驱动的命令行工具。(A loading and unloading services-driven command-line tool.)
    2009-02-25 20:56:41下载
    积分:1
  • Dsound
    说明:  DirectX声音编程及管理,Visual+C++音频视频处理技术及工程实践本光盘实例源文件第4张(DirectX Sound Demo and DirectX Sound Manager)
    2010-05-03 20:47:22下载
    积分:1
  • 1111222223333334444445533332345554
    VC计算机图形学原理及算法教程 VC计算机图形学入门教程(VC theory and algorithms of computer graphics computer graphics tutorial Tutorial VC)
    2013-11-18 15:30:26下载
    积分:1
  • quadTreeMortCode
    编写求取下述矩阵四叉树四进制M码和十进制码程序,并将运算结果返回。 1, 1, 1, 1, 2, 2, 3, 3, 1, 1, 1, 1, 2, 2, 3, 3, 1, 1, 1, 1, 4, 4, 5, 5, 1, 1, 1, 1, 4, 4, 5, 5, 6, 6, 7, 8,13,13,14,14, 6, 6, 9,10,13,13,14,14, 11,11,12,12,15,16,19,19, 11,11,12,12,17,18,19,19 (Prepared to strike the following matrix quadtree quaternary M code decimal code and procedures, and the operation result returned. 1, 1, 1, 1, 2, 2, 3, 3, 1, 1, 1, 1, 2, 2, 3, 3, 1, 1, 1, 1, 4, 4, 5, 5, 1, 1, 1, 1, 4, 4, 5, 5, 6, 6, 7, 8,13,13,14,14, 6, 6, 9,10,13,13,14,14, 11, 11, 12,12,15,16,19,19, 11,11,12,12,17,18,19,19)
    2020-11-21 12:19:35下载
    积分:1
  • midi
    说明:  本程序演示了如何用VC实现一个MIDI播放器(This procedure demonstrates how to use VC to achieve a MIDI player)
    2008-09-16 22:09:44下载
    积分:1
  • qiyerenshi
    这是医药行业的一款企业人事管理的小工具,应该不错(This is the pharmaceutical industry personnel management of a small tool, it should be good)
    2009-06-23 22:34:31下载
    积分:1
  • matlab
    matlab滤波器,里面有三个方法滤波,用来滤波音频文件的(matlab filter, there are three ways to filter, for filtering the audio file)
    2010-11-26 15:11:12下载
    积分:1
  • Matlabbased
    基于matlab的车牌定位和分割,能够良好的分割和定位汽车车牌(Matlab-based license plate location and segmentation, to a good vehicle license plate segmentation and positioning)
    2009-05-15 20:12:07下载
    积分:1
  • VC.NET
    vc++.net精彩百例代码。比较好的,比较经典的例子。(vc++. net wonderful 100 cases of the code. Better, more classic example.)
    2010-03-11 15:36:05下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载