登录
首页 » Visual C++ » 01

01

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

代码说明:

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

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

发表评论

0 个回复

  • 2
    说明:  一段程序,基于图像处理的实现驾驶员疲劳判断 (A segment of a program, based on the image processing to achieve the fatigue of the driver judgment)
    2012-05-09 20:34:26下载
    积分:1
  • Pchap55i
    基于遗传算法的pid整定的maatlab的源代码 可直接使用。 (Based on genetic algorithm pid the tuning maatlab the source code can be used directly.)
    2012-09-30 19:21:45下载
    积分:1
  • An_example_of_Tetgen
    不是本人编的,转自csdndengpengyong,个人能力有限,望谅解。Tetgen是一个生成四面体网格的开源工具,本实例提供了从网上下载的开源的源码和一个简单的使用的示例,其中附带了Tetgen自带了的一个查看剖分出来的网格的工具TetView.exe,可以运行打开剖分出来的文件查看剖分的结果是否正确。(I was not prepared, carried csdndengpengyong, individual ability is limited, hope and understanding. Tetgen tetrahedral mesh generation is an open source tool, the examples provided from the Internet to download the open source code and a simple example of the use of which comes Tetgen comes out of a mesh grid view tool TetView . exe, you can run out of file viewing open split split the results are correct.)
    2021-03-14 20:49:22下载
    积分:1
  • 00.c
    基于单片机的数字电容表设计代码,包含数码管的显示(Based on single chip microcomputer digital capacitance table design code )
    2013-04-26 16:02:20下载
    积分:1
  • Background_Extract
    基于OpenCV开发的道路交通视频的背景提取和前景提取。可对道路的背景进行提取和实时更新,从而提取出运动的车辆。(OpenCV on the development of road traffic video extraction and prospects of the background extraction. May be the background of road extraction and real-time updates, so extraction of moving vehicles.)
    2007-08-03 11:21:19下载
    积分:1
  • FRAME6.03
    说明:  MFC六大关键技术之仿真:(永久保存机制)实例(MFC six key technology simulation: (permanent preservation mechanism) instance)
    2010-04-08 01:40:16下载
    积分:1
  • matlabPPT
    说明:  这份资料是关于MATLAB的初级介绍,对于初学者非常实用,如果想快速学会使用matlab,建议大家先看看这份资料。谢谢!(This information is on the MATLAB primary introduction is very useful for beginners, if you want to quickly learn how to use matlab, suggest that you take a look at this information. Thank you!)
    2011-04-14 23:24:39下载
    积分:1
  • VC2008-example
    <<VC++2008专题应用程序开发实例精讲>>源代码(vc 2008 example )
    2013-07-04 21:35:19下载
    积分:1
  • kringing
    数值分析算法学习笔记之克里格插值及其实现2009-04-21 22:25克里格,或者说克里金插值Kriging。法国krige名字来的。 特点是线性,无偏,方差小,适用于空间分析。所以很适合地质学、气象学、地理学、制图学等。 (kringing)
    2009-05-13 14:40:36下载
    积分:1
  • zhinengzhizhen
    智能指针的设计,主要为了解决野指针的问题(Smart pointer design, mainly in order to solve the problem of dangling pointers)
    2015-10-25 11:16:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载