“3d魔方”游戏的设计与实现毕业论文+开题报告+外文翻译.doc

约63页DOC格式手机打开展开

“3d魔方”游戏的设计与实现毕业论文+开题报告+外文翻译,摘要魔方是一种变化多端的智力玩具,又称鲁毕克方块,1974年由匈牙利建筑学教授鲁毕克发明。由于魔方的奥妙无穷,一直以来,不但有魔方游戏的大批爱好者,在学术界,对魔方也有着广泛而深入的研究,包括数学、物理等各个方向,魔方的研究成果也在许多领域得到了应用三维动画又称3d动画,是近年来随着计算机软硬件技术的发展而产生的一新兴...
编号:40-232072大小:529.00K
分类: 论文>计算机论文

内容介绍

此文档由会员 wanli1988go 发布

摘要
魔方是一种变化多端的智力玩具,又称鲁毕克方块,1974年由匈牙利建筑学教授鲁毕克发明。由于魔方的奥妙无穷,一直以来,不但有魔方游戏的大批爱好者,在学术界,对魔方也有着广泛而深入的研究,包括数学、物理等各个方向,魔方的研究成果也在许多领域得到了应用

三维动画又称3D动画,是近年来随着计算机软硬件技术的发展而产生的一新兴技术,其技术是模拟真实物体的方式使其成为一个有用的工具。由于其精确性、真实性和无限的可操作性,目前被广泛应用于医学、教育、军事、娱乐等诸多领域。
本设计是在Visual C++6.0开发环境下,使用OpenGL(Open Graphics Library)函数库,绘制魔方并实现魔方的旋转、随机生成、回拧、透明处理和放大缩小等功能。采用基本图形的绘图函数及定位函数,添加相应的颜色、纹理来实现魔方模型的绘制。通过读取载入BMP文件,应用纹理贴图技术来完成对魔方旋转面的处理。利用随机数来随机产生一个打乱顺序的魔方,并使用C++标准模板库(STL)中的容器来记录魔方的旋转动作,为魔方的回拧提供依据。

关键词:魔方,动画,三维模型,纹理贴图

Abstract
3-D animation is also called 3D animation, in recent years as computer hardware and software technology and the development of a new and emerging technologies, its technical simulate the real object is the way to become a useful tool. Because of its accuracy, authenticity and unlimited operable, is now widely used in medicine, education, military, entertainment and many other areas.
This is designed to Visual C + +6.0 development environment, the use of OpenGL (Open Graphics Library) functions, drawing Rubik's Cube and Rubik's Cube to achieve the rotation, randomly generated, to twist, transparent processing and zoom functions. Drawing a basic function of the graphics and positioning function, add the corresponding color, texture Rubik's Cube model to achieve the draw. By reading load BMP files, applications texture mapping technology to complete the Rubik's Cube rotation of the handle. Using randomly generated random numbers to disrupt the order of a Rubik's Cube, and the use of C + + Standard Template Library (STL) of containers to record the rotating Rubik's Cube action for the Rubik's Cube to provide the basis for fastening.
Key words: Rubik's Cube, animation, model, rendering, texture mapping

目 录
1引言 1
1.1课题研究的目的与意义 1
1.2 国内外发展现状 2
1.3 论文的主要内容 3
2 开发环境及开发工具 5
2.1 课题需要的知识 5
2.2 OpenGL概述 6
3 3D魔方生成的技术实现 12
3.1 设计思路和需要解决的问题 12
3.2 初始化 13
3.3 魔方模型的设计 17
3.4 纹理及灯光的设计 20
3.5 程序功能效果 32
4 总结 35
参考文献 36
致 谢 辞 37
附录1 外文原文 38
附录2 中文译文 47

参考文献

[1] Norman Chin,Chris Frazier,Paul Ho.The OpenGL Graphics System Utility Library(Version 1.3),1~190
[2] Mary Treseler.OpenGL Programming Guide.Addison-Wesley Publishing Company,1997,1~200
[3] 和平鸽工作室 著.OpenGL高级编程与可视化系统开发.北京:中国水利水电出版社,2002,1~300
[4] K.霍金,D.阿斯特 著.田昱川 译.OpenGL游戏程序设计.北京:科学出版社,2003,1~415
[5] 肖勇亮 著.Visual C++ 游戏变成基础.北京:电子工业出版社,2000,1~150
[6] (美)Edward Angel著,吴文国 译.交互式式计算机图形学—基于OpenGL的自顶向下方法(第三版).北京:清华大学出版社,2000,1~390
[7] (美)Donald Hearn,M.Pauline Baker 著.蔡士杰,宋继强,菜敏 译.计算机图形学-基于OpenGL的自顶向下的方法(第三版).北京:清华大学出版社,2000,1~209
[8] David Kruglinski, Scot Wingo&George Shepherd 著.Programming Visual C++(第五版).希望图书创作室 译.北京:希望电子出版社,1999,1~252