Android app to load 3D models in obj, stl, dae & gltf format using pure OpenGL ES 2.0. Published on Play Store https://play.google.com/store/apps/details?id=org.andresoviedo.dddmodel2
This is a demo of OpenGL ES 2.0.
It is an android application with a 3D engine that can load Wavefront OBJ, STL, DAE & glTF files.
The application is based on andresoviedo's project which can be found here with an additional function of loading and rendering glTF format.
The purpose of this application is to learn and share how to draw using OpenGLES and Android. As this is my first android app, it is highly probable that there are bugs; but I will try to continue improving the app and adding more features.
Collada support is limited. Collada renderer currently supports a maximum of 60 bones.
In order to see models in 3D virtual reality, you need red-cyan and/or VR glasses
If you have any issue in general,please open an issue and attach model if possible, specifying Android version and Device model.
About
Load 3D models and see how to do it with this open source code application.
The main purpose of this app is to show how to draw in android using the OpenGL 2.0 by sharing the source code.
So please, don't expect this application to be much richer or nicer than the ones already published in the app store,
but at least it's opened to anyone who wants to contribute or don't want to start a similar project from scratch.
As this is my first android app and Im still learning the OpenGL 2.0 language, it is highly probable that there are bugs;
but I will try to continue improving the app and adding more features. So please send me your comments, suggestions or
complains by opening an issue or email me to [email protected].
The app comes with some included 3D models that were taken for free from Internet.
Whats next
Chromecast support
3D without glasses
Augmented reality
Collada: Show bind pose, key frames and variate speed
clone the repository, build and run with android studio
Open the application. You should see a menu. From there you can load models
Once the model is rendered, pinch and rotate to see the 3D scene from another perspective.
Screenshots
Emulator
You can run application in an emulator
// install some file provider (i.e. es file explorer)
adb devices -l
adb -s emulator-5554 install .\com.estrongs.android.pop_4.0.3.4-250_minAPI8(armeabi,x86)(nodpi).apk
// push some files to test file loading
adb -s emulator-5554 push .\app\src\main\assets\models /sdcard/download