visual3dexcise

所属分类:OpenGL
开发工具:Visual C++
文件大小:104KB
下载次数:115
上传日期:2007-07-15 12:10:29
上 传 者kathybjut
说明:  可以读入并显示obj模型,可以用键盘的上下左右键随意旋转模型,并提供了两个obj3D模型
(Can read and display the obj model, can be used around the top and bottom of the keyboard keys at random spin model, and provide two obj3D model)

文件列表:
visual3dexcise (0, 2002-12-11)
visual3dexcise\openGL_example.dsw (551, 2002-05-21)
visual3dexcise\pig_3000.obj (188573, 2002-03-11)
visual3dexcise\nose30.obj (2197, 2002-03-11)
visual3dexcise\default.obj (514, 2002-05-09)
visual3dexcise\Ctriangle.h (891, 2002-05-23)
visual3dexcise\CVertex3f.h (885, 2002-05-23)
visual3dexcise\CPoint3f.h (1951, 2002-05-23)
visual3dexcise\openGL_example.plg (1214, 2003-10-15)
visual3dexcise\openGL_example.ncb (115712, 2003-10-15)
visual3dexcise\CMesh.h (12255, 2002-12-24)
visual3dexcise\CMeshnew.h (18457, 2003-01-03)
visual3dexcise\openGL_example.opt (54784, 2003-10-15)
visual3dexcise\openGL_example.dsp (3878, 2003-01-03)
visual3dexcise\openGL_example.cpp (18076, 2003-10-15)
visual3dexcise\CmeshNorm.h (10312, 2002-12-12)
visual3dexcise\cursor1.cur (326, 2002-12-13)
visual3dexcise\resource.h (456, 2002-12-13)
visual3dexcise\Script1.rc (1616, 2002-12-13)
visual3dexcise\CCurvature.h (14890, 2002-12-18)

openGL example 我自己写的显示三维网格的程序,当然是简化版的,只保留了与显示有关的部 分,其中用到的几个类是我自己写的,仅供参考,虽然是简化过的,但最好还是 不要拿给别人看的好。 下面是程序操作说明: 数字键1:切换显示模式,即只显示三维坐标点、显示三维网格、显示三维面片三者 之一。默认是显示三维网格。 数字键2:切换smooth view和flat view,只有显示三维面片时才有用。 数字键3:读入一个三维模型,格式为.obj,默认显示的是default.obj,按3后在 命令窗口中敲入文件名(如附带的pig_3000.obj)即可。 数字键4:将当前三维模型导出到一个obj文件,操作同3。 小写l: 切换有无光照,只有显示三维面片时才有用。 小写i: zoom in 小写o: zoom out 方向键: 旋转模型。

近期下载者

相关文件


收藏者