登录
首页 » OpenGL图像 » 贪吃蛇游戏

贪吃蛇游戏

于 2022-02-07 发布 文件大小:3.21 kB
0 162
下载积分: 2 下载次数: 1

代码说明:

#include < stdio.h > #include < time.h > #include < windows.h > #include < gl/glut.h > #define 1 #define 下 2 #define 左 3 #define 右 4 状态变量 闪烁

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

发表评论

0 个回复

  • 用OpenGL实现简单动画
    用OpenGL实现简单动画-use OpenGL simple animation
    2022-10-12 10:10:03下载
    积分:1
  • Image processing procedures for OpenGL programming Chap06_Terrain.rar
    图像处理程序OpenGL编程Chap06_Terrain.rar-Image processing procedures for OpenGL programming Chap06_Terrain.rar
    2022-07-21 04:45:29下载
    积分:1
  • 迷你蛇 3d
    在这个游戏中,你可以和一条蛇玩,可以让你玩 !!!在这个游戏中,你可以和一条蛇玩,可以让你玩 !!!在这个游戏中,你可以和一条蛇玩,可以让你玩 !!!在这个游戏中,你可以和一条蛇玩,可以让你玩 !!!在这个游戏中,你可以和一条蛇玩,可以让你玩 !!!在这个游戏中,你可以和一条蛇玩,可以让你玩 !!!在这个游戏中,你可以和一条蛇玩,可以让你玩 !!!在这个游戏中,你可以和一条蛇玩,可以让你玩 !!!在这个游戏中,你可以和一条蛇玩,可以让你玩 !!!
    2022-02-27 06:59:47下载
    积分: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和vc++实现了下雨天雨伞的移动和下雨的场景。可以控制雨伞的变化和颜色...
    用opengl和vc++实现了下雨天雨伞的移动和下雨的场景。可以控制雨伞的变化和颜色-use opengl and vc++ realization of the rainy umbrella movement and the rain scene. The umbrella can control and change color
    2022-05-13 14:38:08下载
    积分:1
  • OpenGL +纹理映射实现火灾模拟
    opengl+texture mapping实现fire仿真-opengl+ texture mapping to achieve fire simulation
    2022-02-01 17:53:07下载
    积分:1
  • 例子简单,但很实用的一个OPENGL编程,在VC的MFC环境中编写,初学者可以参考....
    例子简单,但很实用的一个OPENGL编程,在VC的MFC环境中编写,初学者可以参考.-example simple, but a very practical programming OpenGL, MFC in the VC environment preparation, beginners reference.
    2022-03-06 00:03:20下载
    积分:1
  • opengl显示材质贴
    用opengl显示材质贴图-use opengl show material textures
    2022-10-06 22:30:03下载
    积分:1
  • in VC using OpenGL series of the virtual reality plane. Objects can provide virt...
    在VC下用OpenGL编的虚拟现实飞机。可以提供虚拟物体的方法。-in VC using OpenGL series of the virtual reality plane. Objects can provide virtual method.
    2022-01-22 08:45:10下载
    积分:1
  • 在VC++环境下运行Opengl得到三维字体,是初学者的好例子。
    在VC++环境下运行Opengl得到三维字体,是初学者的好例子。-In VC++ Environment running opengl be three-dimensional character, is a good example for beginners.
    2022-02-01 19:26:12下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载