首页 | 本学科首页   官方微博 | 高级检索  
     

OpenGL在视频游戏中的应用
引用本文:张大强,翟素兰,程家兴. OpenGL在视频游戏中的应用[J]. 微机发展, 2006, 16(2): 73-75
作者姓名:张大强  翟素兰  程家兴
作者单位:安徽大学计算智能与信号处理实验室 安徽合肥230029
摘    要:OpenGL是一个图形系统的标准软件接口,使用OpenGL可以开发出高性能并能充分发挥硬件机能的图形程序。OpenGL被广泛使用在视频游戏、三维图像制作、工业设计等多个方面,它包含有120个不同的命令用于描述3D物体以及渲染方式。文中简述了在Windows平台下OpenGL在三维游戏开发中的地位,及它是如何将游戏画面快速高质地显示在屏幕上的。文中详述了使用OpenGL绘图,gltranslate函数实现对坦克的平移,利用OpenGL提供的函数实现坦克的3d效果。通过使用OpenGL,DirectInput在Windows下设计一个3D游戏的构架。

关 键 词:开放图形库  直接输入  DirectX
文章编号:1005-3751(2006)02-0073-03
修稿时间:2005-05-14

Game Programing with OpenGL
ZHANG Da-qiang,ZHAI Su-lan,CHENG Jia-xing. Game Programing with OpenGL[J]. Microcomputer Development, 2006, 16(2): 73-75
Authors:ZHANG Da-qiang  ZHAI Su-lan  CHENG Jia-xing
Abstract:OpenGL is a software interface to graphics hardware. OpenGL can develop high performance graphic program.It is widely used in Video Game,3D designing and industrial design.It contains 120 commands to specify the objects and operations needed to produce interactive three-dimensional applications.This paper discusses the importance of OpenGL in the development of 3D Video Game,and explains how to rapidly display pictures on the screen.It also presents the ways to design with OpenGL,to move the tank using gltranslate function,and to achieve 3D effect of the tank.The paper uses OpenGL to design a basic framework of 3D Video Game.
Keywords:OpenGL  direct input  DirectX
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号