大连民族学院学报
大連民族學院學報
대련민족학원학보
JOURNAL OF DALIAN UNIVERSITY FOR NATIONAL MINORITIES
2012年
3期
260-264
,共5页
3ds%Max%三维建模%3ds数据文件%实时交互%解析
3ds%Max%三維建模%3ds數據文件%實時交互%解析
3ds%Max%삼유건모%3ds수거문건%실시교호%해석
3ds Max%three dimensional modeling%3ds data file%real -time interaction%parsing
为了实现三维建模数据的快速读取和解析,提出了一种解析保存3ds数据的方法并应用到实际三维漫游软件中。作为专业的三维建模软件,3ds Max提供了强大的快速建模功能。但由于需要占用大量CPU和内存资源,因此其实时交互性较差,很难直接应用到实际工程项目中。充分利用3ds Max的快速建模能力,分析3ds Max的建模文件3ds数据格式,以其内部树状数据结构为基础,按照其存储特点及数据之间的关系有效读取,并采用C++高效编码实现,以自定义的列表类、对象类、材质库类合理的组织和保存,为三维场景重建奠定基础。实际应用表明该解析算法实用有效。
為瞭實現三維建模數據的快速讀取和解析,提齣瞭一種解析保存3ds數據的方法併應用到實際三維漫遊軟件中。作為專業的三維建模軟件,3ds Max提供瞭彊大的快速建模功能。但由于需要佔用大量CPU和內存資源,因此其實時交互性較差,很難直接應用到實際工程項目中。充分利用3ds Max的快速建模能力,分析3ds Max的建模文件3ds數據格式,以其內部樹狀數據結構為基礎,按照其存儲特點及數據之間的關繫有效讀取,併採用C++高效編碼實現,以自定義的列錶類、對象類、材質庫類閤理的組織和保存,為三維場景重建奠定基礎。實際應用錶明該解析算法實用有效。
위료실현삼유건모수거적쾌속독취화해석,제출료일충해석보존3ds수거적방법병응용도실제삼유만유연건중。작위전업적삼유건모연건,3ds Max제공료강대적쾌속건모공능。단유우수요점용대량CPU화내존자원,인차기실시교호성교차,흔난직접응용도실제공정항목중。충분이용3ds Max적쾌속건모능력,분석3ds Max적건모문건3ds수거격식,이기내부수상수거결구위기출,안조기존저특점급수거지간적관계유효독취,병채용C++고효편마실현,이자정의적렬표류、대상류、재질고류합리적조직화보존,위삼유장경중건전정기출。실제응용표명해해석산법실용유효。
To read and parse three dimensional modelling data rapidly, an approach of parsing and saving 3ds data is proposed and applied in a practical 3D walkthrough software. As a professional three dimensional modelling software, 3ds Max provides powerful and rapid functions of model- ling. But due to massive occupation of resources of CPU and memory, real - time interaction of this software is poor and practical application of engineering projects is difficult. Making full use of the advantages of rapid modelling functions of 3ds Max software, we analyzed modelling file with 3ds data format provided by 3ds Max based on its inner tree - structured data structure. C + + programming language is adopted to implement effective reading according to its saving characteristics and relationship between data. Then self- defined list class, object class and material library class are introduced to organize and save the parsed data for three dimensional reconstruction. Practical application shows the effectiveness of the proposed parsing algorithm.