国产精品婷婷久久久久久,国产精品美女久久久浪潮av,草草国产,人妻精品久久无码专区精东影业

“3d魔方”游戲的設計與實現(xiàn)畢業(yè)論文+開題報告+外文翻譯.doc

約63頁DOC格式手機打開展開

“3d魔方”游戲的設計與實現(xiàn)畢業(yè)論文+開題報告+外文翻譯,摘要魔方是一種變化多端的智力玩具,又稱魯畢克方塊,1974年由匈牙利建筑學教授魯畢克發(fā)明。由于魔方的奧妙無窮,一直以來,不但有魔方游戲的大批愛好者,在學術界,對魔方也有著廣泛而深入的研究,包括數(shù)學、物理等各個方向,魔方的研究成果也在許多領域得到了應用三維動畫又稱3d動畫,是近年來隨著計算機軟硬件技術的發(fā)展而產(chǎn)生的一新興...
編號:40-232072大小:529.00K
分類: 論文>計算機論文

內(nèi)容介紹

此文檔由會員 wanli1988go 發(fā)布

摘要
魔方是一種變化多端的智力玩具,又稱魯畢克方塊,1974年由匈牙利建筑學教授魯畢克發(fā)明。由于魔方的奧妙無窮,一直以來,不但有魔方游戲的大批愛好者,在學術界,對魔方也有著廣泛而深入的研究,包括數(shù)學、物理等各個方向,魔方的研究成果也在許多領域得到了應用

三維動畫又稱3D動畫,是近年來隨著計算機軟硬件技術的發(fā)展而產(chǎn)生的一新興技術,其技術是模擬真實物體的方式使其成為一個有用的工具。由于其精確性、真實性和無限的可操作性,目前被廣泛應用于醫(yī)學、教育、軍事、娛樂等諸多領域。
本設計是在Visual C++6.0開發(fā)環(huán)境下,使用OpenGL(Open Graphics Library)函數(shù)庫,繪制魔方并實現(xiàn)魔方的旋轉、隨機生成、回擰、透明處理和放大縮小等功能。采用基本圖形的繪圖函數(shù)及定位函數(shù),添加相應的顏色、紋理來實現(xiàn)魔方模型的繪制。通過讀取載入BMP文件,應用紋理貼圖技術來完成對魔方旋轉面的處理。利用隨機數(shù)來隨機產(chǎn)生一個打亂順序的魔方,并使用C++標準模板庫(STL)中的容器來記錄魔方的旋轉動作,為魔方的回擰提供依據(jù)。

關鍵詞:魔方,動畫,三維模型,紋理貼圖

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 國內(nèi)外發(fā)展現(xiàn)狀 2
1.3 論文的主要內(nèi)容 3
2 開發(fā)環(huán)境及開發(fā)工具 5
2.1 課題需要的知識 5
2.2 OpenGL概述 6
3 3D魔方生成的技術實現(xiàn) 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高級編程與可視化系統(tǒng)開發(fā).北京:中國水利水電出版社,2002,1~300
[4] K.霍金,D.阿斯特 著.田昱川 譯.OpenGL游戲程序設計.北京:科學出版社,2003,1~415
[5] 肖勇亮 著.Visual C++ 游戲變成基礎.北京:電子工業(yè)出版社,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++(第五版).希望圖書創(chuàng)作室 譯.北京:希望電子出版社,1999,1~252