OpenGL加载Obj模型和纹理贴图

上传者: gengwenhui123 | 上传时间: 2024-08-18 20:35:17 | 文件大小: 125.77MB | 文件类型: RAR
基于Qt+OpenGL 实现的3D模型obj文件加载以及纹理贴图,未使用第三方库,根据obj文件的格式,逐行解析并读取,加载到顶点缓冲区中,适合学习OBJ模型加载的同学参考。

文件下载

资源详情

[{"title":"( 69 个子文件 125.77MB ) OpenGL加载Obj模型和纹理贴图","children":[{"title":"ModelLoad_GL","children":[{"title":"ModelLoad_GL.sln <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":".vs","children":[{"title":"ModelLoad_GL","children":[{"title":"v17","children":[{"title":"Browse.VC.db <span style='color:#111;'> 52.60MB </span>","children":null,"spread":false},{"title":".suo <span style='color:#111;'> 99.50KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"AutoPCH","children":[{"title":"9339561335bfbf93","children":[{"title":"OPENGLWIDGET.ipch <span style='color:#111;'> 153.63MB </span>","children":null,"spread":false}],"spread":true},{"title":"149b16490dec2c2d","children":null,"spread":false},{"title":"9d861303100563d","children":[{"title":"MODELLOAD_GL.ipch <span style='color:#111;'> 151.13MB </span>","children":null,"spread":false}],"spread":true},{"title":"412b6c99cb85b92d","children":[{"title":"MAIN.ipch <span style='color:#111;'> 151.63MB </span>","children":null,"spread":false}],"spread":true},{"title":"82371b765f212797","children":[{"title":"GENERICRENDER.ipch <span style='color:#111;'> 148.38MB </span>","children":null,"spread":false}],"spread":true},{"title":"3bf409e3c779ba7c","children":[{"title":"OBJLOADER.ipch <span style='color:#111;'> 87.13MB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"FileContentIndex","children":[{"title":"read.lock <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"98439a9e-7fa8-4305-9ba8-f3208647c2e9.vsidx <span style='color:#111;'> 20.10KB </span>","children":null,"spread":false},{"title":"e5e011fd-c126-4303-b8b2-95609efca2f3.vsidx <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"dbd3f826-98a7-4513-931c-fd0d05035761.vsidx <span style='color:#111;'> 28.33KB </span>","children":null,"spread":false},{"title":"bd42d736-ac32-48d0-99bf-50864e2235cf.vsidx <span style='color:#111;'> 12.25KB </span>","children":null,"spread":false},{"title":"merges","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"x64","children":[{"title":"Debug","children":[{"title":"ModelLoad_GL.pdb <span style='color:#111;'> 4.02MB </span>","children":null,"spread":false},{"title":"ModelLoad_GL.exe <span style='color:#111;'> 2.14MB </span>","children":null,"spread":false},{"title":"ModelLoad_GL.ilk <span style='color:#111;'> 1.80MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ModelLoad_GL","children":[{"title":"vertex.vsh <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"shader.vert <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"fragment.fsh <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"objloader.cpp <span style='color:#111;'> 13.23KB </span>","children":null,"spread":false},{"title":"ModelLoad_GL.vcxproj.user <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":"ModelLoad_GL.vcxproj <span style='color:#111;'> 5.16KB </span>","children":null,"spread":false},{"title":"modelload_gl.h <span style='color:#111;'> 822B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"vc143.pdb <span style='color:#111;'> 1.61MB </span>","children":null,"spread":false},{"title":"qmake","children":[{"title":"temp","children":[{"title":"qtvars.pro <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"moc_predefs.h.cbt <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"qtvars.log <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"qtvars.vcxproj.filters <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"qtvars.vcxproj <span style='color:#111;'> 5.94KB </span>","children":null,"spread":false},{"title":"props.txt <span style='color:#111;'> 1008B </span>","children":null,"spread":false},{"title":".qmake.stash <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"qtvars_x64_Debug.props <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"qtvars_x64_Debug.props <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"qrc_modelload_gl.obj <span style='color:#111;'> 1.67MB </span>","children":null,"spread":false},{"title":"uic","children":null,"spread":false},{"title":"moc","children":[{"title":"moc_modelload_gl.cpp <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false}],"spread":false},{"title":"modelload_gl.obj <span style='color:#111;'> 245.08KB </span>","children":null,"spread":false},{"title":"ModelLoad_GL.tlog","children":[{"title":"moc.read.1u.tlog <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"moc.write.1u.tlog <span style='color:#111;'> 260B </span>","children":null,"spread":false},{"title":"Cl.items.tlog <span style='color:#111;'> 627B </span>","children":null,"spread":false},{"title":"rcc.read.1u.tlog <span style='color:#111;'> 610B </span>","children":null,"spread":false},{"title":"rcc.write.1u.tlog <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"ModelLoad_GL.lastbuildstate <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false},{"title":"ModelLoad_GL.write.1u.tlog <span style='color:#111;'> 6.11KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 4.74KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 968B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 194.39KB </span>","children":null,"spread":false}],"spread":false},{"title":"ModelLoad_GL.Build.CppClean.log <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"qt_work.log <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"ModelLoad_GL.log <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":"objloader.obj <span style='color:#111;'> 351.58KB </span>","children":null,"spread":false},{"title":"moc_modelload_gl.obj <span style='color:#111;'> 147.82KB </span>","children":null,"spread":false},{"title":"ModelLoad_GL.exe.recipe <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"rcc","children":[{"title":"qrc_modelload_gl.cpp <span style='color:#111;'> 8.66MB </span>","children":null,"spread":false}],"spread":false},{"title":"ModelLoad_GL.vcxproj.FileListAbsolute.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"qt.natvis <span style='color:#111;'> 38.79KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 161.02KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"objloader.h <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"modelload_gl.cpp <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"shader.frag <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"ModelLoad_GL.vcxproj.filters <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"cat.obj <span style='color:#111;'> 5.12MB </span>","children":null,"spread":false},{"title":"cat.jpg <span style='color:#111;'> 338.74KB </span>","children":null,"spread":false},{"title":"rect.obj <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"modelload_gl.qrc <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"texture.jpg <span style='color:#111;'> 17.96KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明