登录
首页 » OpenGL图像 » 多边形和圆的动画

多边形和圆的动画

于 2022-06-28 发布 文件大小:1.93 kB
0 244
下载积分: 2 下载次数: 1

代码说明:

1。图的边在视口的radius5宽度= 200高度= 200。最初的左侧和底部是50和50 theviewport。屏幕的宽度和高度分别为640和480。的两侧,将3边形initialnumber。在画边设置colorsaccording t值:A.布莱克:T>[ 0,0.25)B.红色:T>[ 0.25,0.5)C.绿色:T>[ 0.5,0.75)D.蓝色:T>[ 0.75,1 ]允许用户移动视口上,下,左、右使用键W,S,A和D。每个键将viewportby 10像素。如果用户按下鼠标右键然后得出n-gonusing gl_points和动画面数从3到32和从3回到32to。

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

发表评论

0 个回复

  • OpenGL教学,三维图形绘制
    OpenGL教学,三维图形绘制-OpenGL teaching, 3D graphics rendering
    2022-02-07 02:39:50下载
    积分:1
  • OpenGL虚拟场景中的雪景
    OpenGL虚拟场景中的雪景,有天空盒与地形设计,粒子系统只有雪alskdjflng lasknaa idaljfngladk ajsidfolgnlskd
    2022-01-28 22:52:52下载
    积分:1
  • 基于OpenGL的图形程序
    基于OpenGL的图形程序-OpenGL-based graphics program
    2022-06-19 01:21:43下载
    积分:1
  • image processing to the needs and would like to achieve th ree
    本人为了图像处理的需要,很想实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是bmp图像文件,二是来自剪贴板。本代码在MFC中调用OpenGL库函数来实现二维图像的三维显示,图像的宽度、高度和象素的亮度分别为三维空间的x,z,y坐标。程序主要有初始化、绘图、资源释放和操作部分,这些功能在OGL_MFCView.cpp文件中实现。OpenGL库的初始化在该文件中的OnCreate,InitScene和DrawScene函数中实现,主要初始化OpenGL运行时的环境变量,三维物体的光照,材质等,由于介绍OpenGL库的初始化的文档很多,在这里我就不多说了,感兴趣的读者可以参考有关的文档。在DrawScene函数中调用全局函数GLDraw3DBMP完成绘图部分。 编译源代码时,必须把opengl32.lib glu32.lib链到工程中。 可以通过对话框改变材质。按上下箭头键可以实现三维图像的绕x轴旋转,按左右箭头键可以实现三维图像绕z轴旋转。 本代码在Windows2000下编译通过。-image processing to the needs and would like to achieve th ree-dimensional two-dimensional images, then wrote the code, with the readers are interested in sharing. Image Access First bmp image files, two from the clipboard. The MFC code Calling OpenGL library functions to achieve the three-dimensional two-dimensional image display, image width, height and pixel brightness of the three-dimensional space x, z, y coordinates. Main initialization procedures, mapping, the release of resources and operation, the function of these documen
    2023-02-17 05:45:03下载
    积分:1
  • 一个用OpenGL写得时钟,还算一般,呵呵。
    一个用OpenGL写得时钟,还算一般,呵呵。-A clock written using OpenGL, fairly general, huh, huh.
    2023-01-31 01:45:04下载
    积分:1
  • OpenGL fog examples of the application of procedures
    OpenGL中雾的应用的例子程序-OpenGL fog examples of the application of procedures
    2023-02-04 17:20:03下载
    积分:1
  • C语言指纹识别源码
    很好的C语言指纹识别程序,指纹增强程序,怎样细化一个指纹图像,计算有效的指纹区域,包含了指纹识别中各种算法的实现代码,该部分的代码由C写成。通过了测试。
    2022-03-11 21:30:49下载
    积分:1
  • OpenGL高级编程与可视化系统开发(高级编程篇)之chap 2
    OpenGL高级编程与可视化系统开发(高级编程篇)之chap 2-OpenGL Programming and Advanced Visualization System (Advanced Programming chapter) of chap 2
    2023-03-25 08:35:04下载
    积分:1
  • 如何开发OPENGL程序的基本方法之五,如何加入二维纹理的多边形....
    如何开发OPENGL程序的基本方法之五,如何加入二维纹理的多边形.-OPENGL procedures how to develop the five basic methods, how to join the two-dimensional texture of the polygon.
    2022-03-22 05:39:14下载
    积分:1
  • 实现基本的几何三的使用
    利用OPENGL实现基本三维几何图像的绘制和显示,源代码。-OPENGL realize the use of basic geometric three-dimensional image rendering and display, the source code.
    2023-07-09 04:10:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载