您的位置:首页 > 运维架构

推荐一个opengl导入3ds模型的源码,可bmp或jpg贴图

2008-12-16 15:21 483 查看
版权:

/********************************************************
* APRON TUTORIAL PRESENTED BY MORROWLAND *
*********************************************************
* Author : Ronny Andr?Reierstad *
* Web Page : www.morrowland.com *
* E-Mail : apron@morrowland.com *
*********************************************************/

说明:

This program loads a 3ds-file with jpeg or bmp texture. Make a model with texture in 3D Studio Max or similar and export it as a 3ds-file. Remember to use the top view in 3D studio as your front view.

下载地址:

http://www.pudn.com/downloads117/sourcecode/windows/opengl/detail496849.html

评价:

真的挺不错的,简单易懂,功能齐全。
如果编译运行时出现了:Run-Time Check Failure #2 - Stack around the variable 'version' was corrupted. 把3ds.cpp中version的数据类型改成unsigned int 就可以了。

如果没有pudn的账号,发邮件管我要吧sallybear119@gmail.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: