Abstract
Scientific visualization can present the information to researchers with the graphic form, which makes it very explicit and provide the capacity to let the researchers observe the process of emulation. What's more, it can allow the researchers to communicate with the information visually. From 1990s to now on, Scientific Visualization is becoming a more and more important issue in the daily life.
First, the assay expatiate the background of visualization technology and its application fields; Then we analyze the need of visualization system from the point of people’s daily requirement. And we get the feasibility of the system because OpenGL graphic development took kits is very mature, the theoretic research of 3DS file format is being run very well, and the client-server mode is being used widely when we design application based on window. Then we obtain the meanings of the job we did after we investigated the internal and external situation about how far the job is going.
Secondly, the assay introduces the 3DS file format briefly and gives a detailed reference to the main block, the global block, the edit block and the main frame block. Then the assay presents the logical structure and gives the according storage structure for most of important blocks. At the end of this chapter, it introduces how to parse 3DS file format in C++.
At last, the assay states the client-server mode used in system design, and concentrates on its expansibility, maintainability, structural readability and the cohesion and encapsulation for model design. Then it analyses the system structure from the angle of system control flow and system logical business flow.
And the innovations of the assay are as following:
(1) it provides a light-weighted platform for 3D model previewing. It implements the common function set for previewing multiple-format models, and it also preserves some plug-in interfaces for functions expansibility. Then, on the one hand it can provide environment for sharing and searching 3D models; on the other hand, it can support other 3D file formats through plug-in mechanism.
(2 ) it applies visualization technology to low-end fields, thus can enhances the popularity of 3D graphics, even let 3D graphics instead of 2D graphics in people's daily life; thus it can promote development of visualization technology.
Key Words: Visualization; 3DS file format;3D model;System design
目 錄
摘 要 I
Abstract II
目 錄 III
第一章 引言 1
1.1課題研究的必要性 1
1.1.1 可視化技術 1
1.1.2 3DS三維模型 1
1.1.3 OpenGL圖形開發庫 1
1.2課題研究的可行性 2
1.2.1 三維繪圖標準 2
1.2.2 3DS格式理論性研究 2
1.2.3客戶/服務器模式研究 2
1.3國內外研究狀況 2
1.4 基本概念描述 3
第二章 3DS文件解析原理及其實現 5
2.1 3DS文件格式說明 5
2.1.1簡介 5
2.1.2基本主塊 5
2.1.3 全局子塊 5
2.1.4 編輯子塊 6
2.1.5關鍵幀塊 10
2.2 3DS解析實現 11
第三章 用戶交互功能的原理與實現 13
3.1 幾何變換基本原理 13
3.1.1平移變換 13
3.1.2 縮放變換 13
3.1.3 旋轉變換 14
3.2 程序實現 15
第四章 可視化系統的系統分析與實現 19
4.1系統功能描述 19
4.2軟件的系統結構分析 20
4.2.1系統的組成和結構 20
4.2.2多維體系結構設計 21
4.2.3繪圖引擎組件結構設計 22
4.2.4數據流、控制流分析與設計 23
4.2.5用戶界面設計 26
第五章 性能分析 27
5.1表面材質與環境光照模型 27
5.2模型坐標變換及法向量控制 28
總 結 29
致 謝 30
參考文獻 31
附錄 32