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

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

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

代码说明:

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

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

发表评论

0 个回复

  • 可以读入并显示obj模型,可以用键盘的上下左右键随意旋转模型,并提供了两个obj3D模型...
    可以读入并显示obj模型,可以用键盘的上下左右键随意旋转模型,并提供了两个obj3D模型-Can read and display the obj model, can be used around the top and bottom of the keyboard keys at random spin model, and provide two obj3D model
    2022-01-28 08:27:23下载
    积分: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的真实感三维地形生成 读取三维地形文件,地形模型用三角网法实现,并在地形上增加了一些简单分型产生的树
    2022-05-13 12:27:57下载
    积分:1
  • 学术论文;基于OpenGL实现虚拟校园漫游系统
    学术论文;基于OpenGL实现虚拟校园漫游系统-Theses OpenGL-based virtual campus roaming system
    2022-07-11 11:26:40下载
    积分:1
  • 机器人的键盘及旋转控制
    机器人的键盘及旋转控制-Keyboard and rotating robot control
    2022-01-24 14:17:36下载
    积分:1
  • Opengl es 1.0 透明物体,混合
    Opengl es 1.0 透明物体,混合-Opengl es 1.0 transparent objects, blend
    2023-01-06 18:35:03下载
    积分:1
  • 在VC平台上编写的简单OpenGL小例程,绘制了一个可以旋转及延Z轴方向运动的立方体...
    在VC平台上编写的简单OpenGL小例程,绘制了一个可以旋转及延Z轴方向运动的立方体-In the VC platform OpenGL write a simple little routine, drawing can be rotated and the extension of a Z-axis movement of the cube
    2022-03-16 04:51:33下载
    积分:1
  • 一个OpenGl的小例子,画了一座山
    一个OpenGl的小例子,画了一座山-a small example, a drawing of a mountain
    2022-03-04 19:59:23下载
    积分:1
  • OpenGL超级宝典-第4版
    OpenGL超级宝典-第4版 chapter4-transformgl.cpp运行方法
    2022-12-13 22:30:03下载
    积分:1
  • a 3D particle dispersion process
    一个三维粒子分散的程序-a 3D particle dispersion process
    2022-11-10 03:30:03下载
    积分:1
  • 696516资源总数
  • 106571会员总数
  • 2今日下载