I'm trying to build a model viewer in opengl, but got stumped... I basically just want to build my own app that can load a custom model in .off or .obj format and display it on my tablet.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
This question already has answers here:
Closed 5 years ago.
回答1:
Take a look at open source code for examples:
OBJloaderforAnd:
http://sourceforge.net/projects/objloaderforand/
Android-GL
http://code.google.com/p/android-gl/
and search Stackoverflow before asking questions:
Android OpenGL .OBJ file loader
https://stackoverflow.com/questions/6505025/load-a-obj-file-on-android