opengl读取并显示obj模型源码

너를 만나 서나는 멍 해 졌 67 0 ZIP 2019-05-01 12:05:28

本程序在qt下,使用opengl读取并处理obj模型,包括两种:包含纹理的obj模型以及使用颜色处理的obj模型。注意:由于是qt的源码文件,涉及到资源路径问题,请将源码放在桌面上,例如:C:/..../桌面/QT

用户评论
请输入评论内容
评分:
Generic placeholder image 卡了网匿名网友 2019-05-01 12:05:28

换了个obj 就崩溃了

Generic placeholder image 卡了网匿名网友 2019-05-01 12:05:28

error: "C:/Users/Liew Dennis/Desktop/Qt/ourHouse/resource/house_diffuse.jpg" failed to texture image!

Generic placeholder image 卡了网匿名网友 2019-05-01 12:05:28

自己去找了下载了glut的库才运行了起来, 是对第三方库的的第二次运用

Generic placeholder image 卡了网匿名网友 2019-05-01 12:05:28

error: "C:/Users/Liew Dennis/Desktop/Qt/ourHouse/resource/house_diffuse.jpg" failed to texture image!

Generic placeholder image 卡了网匿名网友 2019-05-01 12:05:28

还在编译,看上去不错

Generic placeholder image 卡了网匿名网友 2019-05-01 12:05:28

非常好用。就是配置环境挺麻烦的。

Generic placeholder image 卡了网匿名网友 2019-05-01 12:05:28

是QT的资源,所以没用上,其实还挺好的。