Android中opengl es要实现Obj格式的3D导入

上传者: tlancs | 上传时间: 2019-12-21 21:16:05 | 文件大小: 57KB | 文件类型: rar
MyRenderer类中把model=parser.parseOBJ("/sdcard/windmill.obj");路径跟文件名改成你自己的就可以了

文件下载

资源详情

[{"title":"( 37 个子文件 57KB ) Android中opengl es要实现Obj格式的3D导入","children":[{"title":"objLoaderTest","children":[{"title":".project <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"objLoader","children":[{"title":"OBJParser.java <span style='color:#111;'> 6.75KB </span>","children":null,"spread":false},{"title":"RGBColor.java <span style='color:#111;'> 550B </span>","children":null,"spread":false},{"title":"TDModelPart.java <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"Triangulator.java <span style='color:#111;'> 418B </span>","children":null,"spread":false},{"title":"TDModel.java <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"MyRenderer.java <span style='color:#111;'> 5.55KB </span>","children":null,"spread":false},{"title":"MTLParser.java <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"ObjLoaderApp.java <span style='color:#111;'> 1013B </span>","children":null,"spread":false},{"title":"Material.java <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 714B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable","children":[{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 382B </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 169B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":[{"title":"new 2 <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"cube.obj <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":"material.mtl <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"objLoader","children":[{"title":"R.java <span style='color:#111;'> 643B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"default.properties <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"example","children":[{"title":"objLoader","children":[{"title":"R$layout.class <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"Material.class <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"MTLParser.class <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"MyRenderer.class <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"RGBColor.class <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"Triangulator.class <span style='color:#111;'> 955B </span>","children":null,"spread":false},{"title":"OBJParser.class <span style='color:#111;'> 5.81KB </span>","children":null,"spread":false},{"title":"ObjLoaderApp.class <span style='color:#111;'> 1001B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 507B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 436B </span>","children":null,"spread":false},{"title":"TDModelPart.class <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"TDModel.class <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"objLoader.apk <span style='color:#111;'> 15.94KB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 19.34KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • p86771158 :
    很有用,谢谢分享
    2018-07-10
  • fangwanfei :
    可以用,谢谢
    2018-05-25
  • paikerui :
    谢谢楼主分享
    2017-11-29
  • juran001 :
    谢谢分享!
    2017-07-30
  • ba370921 :
    首先说优点:可以运行 ,但是放大缩小后位置不对 在屏幕之外了 !!!!
    2016-06-29

免责申明

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