登录
首页 » OpenGL图像 » 基于OpenGL的扁平化设计五子棋

基于OpenGL的扁平化设计五子棋

于 2022-04-28 发布 文件大小:9.56 kB
0 339
下载积分: 2 下载次数: 1

代码说明:

使用OpenGL实现的非常漂亮的五子棋。可以读盘,复盘,悔棋,人机对战,多人对战。游戏中AI有多种程度的只能可供选择。程序界面采用了现在非常流行的扁平化设计,非常具有现代科技感:)整体程序只是用了OpenGL的实用函数库以及glut,在windows 7 + visual studio2010下开发,实测可用。使用方法:只需配置好opengl环境,将代码加入到项目即可运行。

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

发表评论

0 个回复

  • 二维图像的三维显示 详细信息 < OpenGL > 本人为了图像处理的需要,很想实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是bmp图像文件,二是来自剪贴板。本代码在MFC中调用OpenGL库函数来实现二维图像的三维显示,图像的宽度、高度和象素的亮度分别为三维空间的x,z,y坐标。程序主要有初始化、绘图、资源释放和操作部分,这些功能在OGL_MFCView.cpp文件中实现。OpenGL库的初始化在该文件中的OnCreate,InitScene和DrawScene函数中实现,主要初始化OpenGL运行时的环境变量,三维物体的光照,材质等,由于介绍OpenGL库的初始化的文档很多,在这里我就不多说了,感兴趣的读者可以参考有关的文档。在DrawScene函数中调用全局函数GLDraw3DBMP完成绘图部分。编译源代码时,必须把opengl32.lib glu32.lib链到工程中。 可以通过对话框改变材质。按上下箭头键可以实现三维图像的绕x轴旋转,按左右箭头键可以实现三维图像绕z轴旋转。本代码在Windows2000下编译通过。 -two-dimensional images of three-dimensional display detailed information Image Processing himself 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 co
    2022-05-22 12:29:02下载
    积分:1
  • This is the source code of the book VC++ advantage program Opengl!
    Visual C++ 高级编程技术OpenGL篇 》程序源代码5613879-This is the source code of the book VC++ advantage program Opengl!
    2022-03-20 06:05:05下载
    积分:1
  • A simulated aircraft fire near the ground opengl procedures, documentation in th...
    一个模拟飞机近地面射击的opengl程序,文件中有相应的模型和算法-A simulated aircraft fire near the ground opengl procedures, documentation in the corresponding model and algorithm
    2022-06-15 07:07:37下载
    积分:1
  • 融合多个传感器检测到的障碍数据,绘出障碍地形
    融合多个传感器检测到的障碍数据,绘出障碍地形图-Integration of multiple sensors to detect obstacles to data, topographic maps drawn obstacles
    2022-08-09 00:07:01下载
    积分:1
  • 这是Nehe开发的一个简单的OpenGL程序
    这是Nehe开发的一个简单的OpenGL程序-This is the development of a simple procedure OpenGL
    2023-06-13 08:05:04下载
    积分:1
  • 本实例通过对OpenGL库的引用实现一个带纹理的茶壶绕水平中心线旋转的动画...
    本实例通过对OpenGL库的引用实现一个带纹理的茶壶绕水平中心线旋转的动画-In this instance through the implementation of the OpenGL library reference to a teapot with a texture animation rotation around the center line level
    2023-08-29 23:30:03下载
    积分:1
  • 有OpenGL实现的decal贴,decal贴技术可实现爆炸、子弹射击等的痕迹效果。程序经测试运行正确。
    有OpenGL实现的decal贴图,decal贴图技术可实现爆炸、子弹射击等的痕迹效果。程序经测试运行正确。-Realize the decal has OpenGL textures, decal mapping technology can realize explosions, bullets and other traces of fire effects. Procedures have been tested to run correctly.
    2022-03-11 05:35:53下载
    积分:1
  • <;基于OpenGL形编程>;>;更多的是一种经典的编程书…
    < OpenGL基础图形编程>>是比较经典的编程书籍,简洁易懂,并附有大量的愿代码。我现特把它整理成Word文档格式,希望能和大家一起分享。-> is a more classic programming books, simple and easy to understand, along with a large number of ready code. I hereby put it together into a Word document format, hoping to share with everyone.
    2022-07-28 09:52:54下载
    积分:1
  • opengl 球的模型
    opengl 球的模型-opengl ball model
    2022-03-22 03:10:46下载
    积分:1
  • A very famous collision detection engine and the simple example of using it.
    A very famous collision detection engine and the simple example of using it.-A very famous a collision detection engine nd the simple example of using it.
    2022-11-05 02:20:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载