-
OPENGL编写时钟表盘
编程实现时钟运动,通过使用OpenGL提供的标准库函数,综合图形学Bresenham画线和画圆的算法,OpenGL颜色模型中的RGBA模式,颜色表示模式等实现指针式时钟运动,并通过点击右键菜单实现时钟背景与时针颜色的转换。根据Bresenham画线和画圆的算法,画出时钟的指针和表盘。再根据OpenGL颜色模型用glColor()定义当前颜色。设置当时钟运行时交换的菜单,运行程序时可变换时钟背景与时针的颜色。在此中综合实现本学期中学习到OpenGL编程中部分的方法与操作。软硬件运行环境:Microsoft Windows XP。工发工具:VC++ 6.0。
- 2022-07-08 01:44:25下载
- 积分:1
-
学习如何映射有很多好处。我们说你想要一个导弹…
光照和键盘控制:
添加光照和键盘控制,它让程序看起来更美观。
-Learning how to texture map has many benefits. Lets say you wanted a missile to fly across the screen. Up until this tutorial we d probably make the entire missile out of polygons, and fancy colors. With texture mapping, you can take a real picture of a missile and make the picture fly across the screen. Which do you think will look better? A photograph or an object made up of triangles and squares? By using texture mapping, not only will it look better, but your program will run faster. The texture mapped missile would only be one quad moving across the screen. A missile made out of polygons could be made up of hundreds or thousands of polygons. The single texture mapped quad will use alot less processing power.
- 2022-05-15 07:48:56下载
- 积分:1
-
使用cg和opengl实现的水的跳跃模拟。
使用cg和opengl实现的水的跳跃模拟。-Cg and opengl realize the use of the water jump simulation.
- 2022-03-01 19:57:15下载
- 积分:1
-
A OpenGL 3D Temple (Particles, Fountain, and Others)
标题:OpenGL 3D庙宇(粒子、喷泉等)
- 2022-07-08 18:43:55下载
- 积分:1
-
计算机图形学OpenGL立方体旋转
计算机图形学 OPENGL旋转立方体-Computer Graphics OpenGL rotating cube
- 2022-02-02 14:53:15下载
- 积分:1
-
本程序是基于opengl平台而开发的3d c++代码,表示的图形是贴有图片的立方体...
本程序是基于opengl平台而开发的3d c++代码,表示的图形是贴有图片的立方体-this program is based on opengl platform developed by the 3d c code, the graphic pictures posted with the cube
- 2022-10-29 21:15:03下载
- 积分:1
-
用OpenGL,在VC++环境下,制作彩色三角形
用OpenGL,在VC++环境下,制作彩色三角形-use OpenGL, the VC environment, the production of color triangle
- 2022-01-26 01:00:32下载
- 积分:1
-
OpenGL演示之太阳、地球、月球的运转实例
OpenGL演示之太阳、地球、月球的运转实例
-OpenGL demo Zhi sun, the earth, moon examples of the operation.
- 2023-01-05 11:40:03下载
- 积分:1
-
Using Visual c++ Development opengl its way to the development of how to create...
用Visual c++开发opengl其本开发方法一如何创建窗口,初始化绘图设备,如何画图.-Using Visual c++ Development opengl its way to the development of how to create one window, initialize the drawing equipment, how to draw.
- 2022-06-27 16:53:46下载
- 积分:1
-
gpu 实现marching cube
使用OPENGL的新特性实现了MARCHING CUBE算法,使用了OPENGL的shader语言glsl,在GPU上实现了MARCHING CUBE算法,提高了速度。 该代码使用GLUT来进行窗口的控制,同时引入了新的库。
控制方式:使用D键来切换数据(共3种数据)
使用A键暂停/继续动画效果
使用VS2010 编辑 需要在工程属性中的INCLUDE路径中包含代码内的GL文件夹
- 2023-05-12 15:00:03下载
- 积分:1