设计和实现了一套专门面向Direct3D应用程序的模型几何信息演示系统,该系统可从Direct3D流水管线中抓取三维模型的几何信息,并以图形化的方式实时显示在用户窗口内。系统具备良好的用户交互性,支持用户的多种操作,包括图元信息和顶点信息的对应关系拾取和高亮显示,几何模型的旋转、缩放和平移等,可以应用于Direct3D程序开发过程中辅助用户进行更快速更高效的分析和调试。
A new 3D model geometric information demonstration system for Direct3D application program was designed and implemented. This system is to capture the geometric information of 3D model from Direct3D pipeline and display it in the users' window in the form of graph. It has excellent user interactivity and suppors various operations, including pick and highlighting display of corresponding primitive information and vertex information, as well as rotation, scaling and translation of geometric model, which can be used to assist and help Direct3D application development and debug in a more rapid and effective way.