登录
首页 » OpenGL图像 » Opengl画钟

Opengl画钟

于 2022-01-25 发布 文件大小:118.39 kB
0 241
下载积分: 2 下载次数: 1

代码说明:

在c++下用opengl画了个钟。用户输入小时,分钟数就能得到显示出该时间的钟的图形。 钟的图形包括圆形边框,小时刻度,分钟刻度和时针分针。 没有画秒针。 很简单的一个小程序,很适合初学者练手学习

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

发表评论

0 个回复

  • ch3GL: OpenGL Windows应用程序GL的工程ch3GL.exe: 执行程序
    ch3GL: OpenGL Windows应用程序GL的工程ch3GL.exe: 执行程序-CH3 GL : OpenGL Windows applications GL works CH3 GL.exe : implementation procedures
    2022-03-18 16:41:43下载
    积分:1
  • VC平台下开发的可以读取obj格式的显示界面,具有渲染,平滑,缩放功能,有需要的朋友可以下载参考....
    VC平台下开发的可以读取obj格式的显示界面,具有渲染,平滑,缩放功能,有需要的朋友可以下载参考.-VC platform developed under the obj format can be read by the display interface, with rendering, smooth, zoom feature, there is a need of a friend can download the reference.
    2022-02-15 19:45:22下载
    积分: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
  • this is the headear file to crate 3d spheres.. or 3d objects
    this the headear file to crate 3d spheres.. or 3d objects-this is the headear file to crate 3d spheres.. or 3d objects
    2022-09-10 23:50:02下载
    积分:1
  • OpenGL learners to find a dream the source code examples, OpenGL supporters at t...
    找到一个OpenGL学习者梦寐以求的源代码例子,OpenGL的支持者都来看看吧-OpenGL learners to find a dream the source code examples, OpenGL supporters at the end of
    2022-07-13 10:32:21下载
    积分:1
  • opengl 3D mobile operators to achieve the rotation
    opengl三维操作移动旋转等的实现-opengl 3D mobile operators to achieve the rotation
    2022-03-19 09:00:12下载
    积分:1
  • openGL实现3D模型加载
    使用OPENGL实现三维模型的加载。openGL + C++实现3维模型的加载,并显示加载的结果
    2022-04-28 20:45:40下载
    积分:1
  • most simple initialization OpenGL window (full screen) code
    最简单的 OpenGL 初始化 窗口(完整屏幕)的代码-most simple initialization OpenGL window (full screen) code
    2022-07-13 11:41:42下载
    积分:1
  • 奥运五环的OpenGL动画动画技术
    奥运五环动画openGL动画技术-Olympic rings animation openGL animation technology
    2022-03-20 18:06:47下载
    积分:1
  • OpenGL_Programming_Guide_1.1 OpenGL学习的好帮手!
    OpenGL_Programming_Guide_1.1 OpenGL学习的好帮手!-Learn OpenGL_Programming_Guide_1.1 OpenGL help!
    2022-04-06 16:23:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载