登录
首页 » OpenGL图像 » 用openGL制作的一个射击小游戏。对悬浮物体进行射击。

用openGL制作的一个射击小游戏。对悬浮物体进行射击。

于 2023-01-16 发布 文件大小:983.41 kB
0 194
下载积分: 2 下载次数: 1

代码说明:

用openGL制作的一个射击小游戏。对悬浮物体进行射击。-Making a little game of shooting.use opengl.shooting the suspending object.

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

发表评论

0 个回复

  • 3D 太阳系 - OpenGL 和 C#
    翻译  maninwest@Codeforge 作者:Vasily Tserekh@CodeProject这是个  3D 太阳系,使用 OpenGL 和 C# 实现。我尽量让它简单。它包含行星、卫星、太阳月亮和其他星星。我使用了 TAO命名空间,它是在 OpenGL dll 和 .NET Framework 之间的互操作。我也用了 Shadowengine - 一个我自己开发的小图形框架。使用它,我可以省去加载图形和初始化图形上下文的代码编写工作。3D 编程员眼中的太阳系3D 编程员需要将宇宙、轨道、星星等实体在程序设计环境中进行转化。宇宙是一个黑色背景,可以使用 OpenGL 的函数  Gl.glClearColor(0, 0, 0, 1);//red green blue alpha 。至于星星,可以使用点来替代。可以使用 OpenGL 处理绘制点的基元。你也可使用随机函数生成大量点,只要确保它们不在太阳系中即可。行星是有底纹的球体。它们有自己的轨道和旋转轴。你得使用 变量跟踪并更新,因为它们随着时间改变。如果不想使用3D max 制作球体,可以使用 OpenGL 二次曲线。卫星和行星一样,只是不饶太阳而是绕行星转。使用代码项目中包含对 ShadowEngine和 TAO.OpenGL 的引用.  项目类有: Camara.cs典型的 FPS 相机。鼠标以屏幕中间为中心。用户移动鼠标时,会计算离开始点的  delta X 和 Delta Y 。这些 Delta X 和 Delta Y 被转化成角度当你向前/向后移动相机时,相机会移动到角度指的方向。 
    2022-02-04 03:32:08下载
    积分:1
  • 在vc++的环境下用opengl绘制场景并且能播放音乐
    在vc++的环境下用opengl绘制场景并且能播放音乐-In vc++ Environment rendering scenes with opengl and can play music
    2022-01-22 03:14:51下载
    积分:1
  • vb调用opengl的过程,一个opengl模型绘制的例子,包括一个初始化opengl的模块...
    vb调用opengl的过程,一个opengl模型绘制的例子,包括一个初始化opengl的模块-vb called opengl process, a model opengl rendering for example, include a module initialization opengl
    2022-09-25 07:55:03下载
    积分:1
  • 形学简单的直线
    图形学简单的直线-simple line graphics
    2022-07-02 00:13:18下载
    积分:1
  • A novice started strongly recommended the book OpenGL book containing a highly p...
    一本OpenGL书 新手入门强烈推荐 书内附有源代码 实用价值很高 !-A novice started strongly recommended the book OpenGL book containing a highly practical source code!
    2022-06-21 23:32:19下载
    积分:1
  • 用OpenGL编写的模拟地球、太阳、月亮三者运行状态的文件,可以用方向键操作它们的运动。自己写的代码,欢迎批评,...
    用OpenGL编写的模拟地球、太阳、月亮三者运行状态的文件,可以用方向键操作它们的运动。自己写的代码,欢迎批评,-with OpenGL simulation prepared by the Earth and the sun, the moon three running in the paper, you can use the direction keys to operate their campaigns. His writing code, welcome criticism, illustrious
    2022-05-21 19:10:33下载
    积分:1
  • 程序演示了MFC开发OpenGL的框架,和演示如在OpenGL访问封装在可执行文件中的资源,这一个程序是参考NeHe改写而成,对用MFC写OpenGL程序有很好...
    程序演示了MFC开发OpenGL的框架,和演示如在OpenGL访问封装在可执行文件中的资源,这一个程序是参考NeHe改写而成,对用MFC写OpenGL程序有很好指导作用。 -Procedures demonstrated MFC framework for the development of OpenGL and OpenGL demo visit in the executable file in the package of resources, which is a reference to a procedure adapted from NeHe to use MFC to write a good OpenGL program guide.
    2023-05-01 19:00:04下载
    积分:1
  • nehe的opengl教程第43课,nehe的教程十分出名,是初学者必备
    nehe的opengl教程第43课,nehe的教程十分出名,是初学者必备-opengl tutorial nehe of the 43rd Division, nehe the tutorial is very well known, is essential for beginners
    2022-02-09 17:23:00下载
    积分:1
  • a template cache examples overseas./** Example program demonstrating the use of...
    一个模板缓存的例子,值得一看。/* * Example program demonstrating the use of glStencilFunc and glStencilOp to cut away the middle of a cube for Chapter 11. */-a template cache examples overseas./** Example program demonstrating the use of glStencilFunc and glStencilOp to cut away the middle of a cube for Chapter 11.* /
    2022-02-04 23:20:56下载
    积分:1
  • Based on VC++ The opengl classic graphics algorithms to develop a document
    基于VC++的opengl经典图形算法开发文档-Based on VC++ The opengl classic graphics algorithms to develop a document
    2022-01-25 19:15:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载