摘要
为解决3DS模型关键帧动画数据的快速生成和高速显示问题,采用实验分析法对3DS模型关键帧数据进行了深入研究。在给出了3DS模型各类对象几何数据的正确计算公式之后,提出了一种利用Open GL直接实现3DS模型关键帧动画快速显示的方法。该方法无需计算每一帧动画的坐标,直接由3DS关键帧数据求解各帧坐标的变换矩阵,利用Open GL高效坐标变换同时完成动画数据的生成和显示,降低了计算复杂度,节省了数据空间。给出了动画数据生成和层次结构求解等难点问题的详细计算公式和算法流程,并用真实数据对所得结论进行了验证,正确实现了复杂3DS模型数据的实时动画显示。
To solve the problem of 3DS animation data fast generation and high-speed display, the 3DS key frame data is studied in depth with experimental analysis method. Formulas that can obtain correct geometric data of all object types are given. Then a method for displaying 3DS animation directly with OpenGL is proposed. The method calculates the transform matrices instead of geometric data of animatic frames and the matrices is submitted to OpenGL for generating geometric data while browsing 3DS models. It reduces computational complexity and saves the spaces for geometric data. Detailed formulas for calculating transform matrices and hierarchical structure are given and verified by real data in practical projects for displaying complex 3DS key frame animation.
作者
王晶杰
胡平平
WANG Jingjie;HU Pingping(School of Applied Sciences, Beijing Information Science & Technology University, Beijing 100192, China)
出处
《北京信息科技大学学报(自然科学版)》
2017年第6期63-69,共7页
Journal of Beijing Information Science and Technology University
基金
北京信息科技大学研究生教育质量工程项目(YJT2015XX)