登录
首页 » Windows开发 » Windows编程-OpenGL

Windows编程-OpenGL

于 2022-06-02 发布 文件大小:1.68 kB
0 177
下载积分: 2 下载次数: 1

代码说明:

这是一个使一个彩色三角形在一个黑色的窗口内以单位速度旋转的程序,采用c++编写Windows的程序。 三角形三个角的颜色为(255,0,0)红,(0,255,0)绿,(0,0,255)蓝 按照RGB配色方案画的三角形

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

发表评论

0 个回复

  • 图像压缩问题要求确定象素序列{p1,p2,…,pn}的最优分段,使得依此分段所需的存储空间最少。每个分段的长度不超过256位。数字化图像是m×m的像素阵列。假定...
    图像压缩问题要求确定象素序列{p1,p2,…,pn}的最优分段,使得依此分段所需的存储空间最少。每个分段的长度不超过256位。数字化图像是m×m的像素阵列。假定每个像素有一个0 ~ 2 5 5的灰度值。因此存储一个像素至多需8位。若每个像素存储都用最大位8位,则总的存储空间为8m^2 位。为了减少存储空间,我们将采用变长模式( variable bit scheme),即不同像素用不同位数来存储。像素值为0和1时只需1位存储空间; 值2、3各需2位;值4,5,6和7各需3位;以此类推。-image compression defined pixel sequence (p1, p2, ..., pn) sub-optimal, sub accordingly makes the storage space required at least. The length of each section is not more than 256. The digital image is m m pixel arrays. Assume that each pixel is a 0-2 5 5 of the gray values. Therefore storage of up to a pixel 8. If each pixel with the largest storage capacity of 8-bit, the total storage space for 8m ^ 2. In order to reduce storage space, and we will use variable-length model (variable bit scheme), that is different with different pixel median storage. Pixel values of 0 and 1 and only a storage space; The value of 2,3 required two; Value 4,5,6 and 7 of the required three; Analogy.
    2022-11-29 05:50:03下载
    积分:1
  • windows XP的展与简介,为了解XP的展提供详尽的
    windows XP的发展与简介,为了解XP的发展提供详尽的-windows XP development and profiles, to understand the development of XP to provide detailed
    2022-07-26 13:00:15下载
    积分:1
  • 词法分析器,实现对单词的分析识别,用于编译原理课设。
    词法分析器,实现对单词的分析识别,用于编译原理课设。-Lexical analyzer, the realization of the analysis of word recognition, for the principle of class-based compiler.
    2023-08-09 00:15:03下载
    积分:1
  • 可以求多元非线性方程组的一组解,实用性好,效率高。
    可以求多元非线性方程组的一组解,实用性好,效率高。-Can seek a diverse group of non-linear equations solution, practical and efficient.
    2023-05-23 08:50:03下载
    积分:1
  • 在VB中使用最短路径查询(mopathfinder)
    在mo开发中用vb写的最短路径查询(mopathfinder)-in vb was developed using the shortest path inquiries (mopathfinder)
    2022-03-31 20:19:37下载
    积分:1
  • LDR测试
    这段代码是用arduino测试ldr值的uno,该值显示在arduino的串行打印中,它是将四个ldr值一起测试的
    2023-03-29 22:20:03下载
    积分:1
  • 自己写的windows下netconfig源码
    自己写的windows下netconfig源码-himself wrote under the windows netconfig FOSS
    2022-08-10 03:14:32下载
    积分:1
  • tframeviewer,thtmlviewer,和tframebrowser
    TFrameViewer, ThtmlViewer, and TFrameBrowser The HTML component set consists of the ThtmlViewer, TFrameViewer, and TFrameBrowser components. All three are HTML document display components: ThtmlViewer The basic component. ThtmlViewer displays single (non-frame) documents. It also forms the basis for the other two components. TFrameViewer Displays both Frame and single HTML documents. TFrameViewer is oriented more for local disk file use. TFrameBrowser Also displays Frame and single HTML documents. However, TFrameBrower is oriented toward Internet style protocols and URL usage. Additional code and/or components are generally required to use TFrameBrowser. If you know that your appication will not be using Frames, you can save a fair amount of code overhead by using ThtmlViewer rather than one of the Frame components. Many operations are also simpler using ThtmlViewer. -TFrameViewer, ThtmlViewer, and TFrameBrowser The HTML component set consists of the ThtmlVie
    2022-04-12 18:54:20下载
    积分:1
  • vc系统托盘源代码
    系统托盘的建立 无其他功能,单纯的建立一个托盘图标,为了实现拖盘程序,首先要使程序的主窗口不可见,这点实现起来十分容易,只要调用ShowWindow(SW_HIDE)就可以了
    2022-04-28 22:23:58下载
    积分:1
  • sensor network source code
    sensor network source code
    2022-03-01 23:41:02下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载