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