A glTF file viewer for Android. Similar to the .OBJ Viewer project, this project aims to load a 3D model asset from a file and render it onto the screen on an Android mobile with OpenGL ES. This project aims to load from a more modern and up-to-date file format. The glTF file format is an easy-to-parse, royalty-free specification that also supports animations and skinning, unlike the .OBJ file format. It also supports node hierarchies with translations, rotations, and scaling able to be performed on a root node and have that transformation apply to all nodes further down the hierarchy. As this project is still in its early stages, I am currently reading the material data from a .mtl file (part of the .OBJ file format) separately from the .gltf and .bin files. However, all data for vertices, indices, and texture coordinates are read directly from the .bin file after finding the correct offset in the .gltf file as specified by the glTF specification. This provides much faster loading speeds and also less memory usage than the .OBJ file, allowing the data to be passed directly into buffers for use by OpenGL. The project also has support for the node structure, with all translations, rotations, and scaling applied to each node and having that transformation data propagated down the hierarchy. As the glTF specification is much more widely used, I was able to find numerous test models for use on popular 3D model sharing websites such as Sketchfab and download them as a glTF file for use with this project. I did, however, have to go through an intermediate step of loading the file into Blender and exporting it as a .OBJ file to get the associated .mtl file for loading the materials as previously mentioned. This project does not use any external libraries or have any dependencies.
Geometry Sort is a shape-sorting game I developed for Android using custom code in OpenGL ES. The project doesn’t rely on a game engine or use any external libraries or dependencies — everything was built from the ground up. The app was previously released on the Google Play Store.
A work-in-progress OBJ file viewer for Android. This project aims to read 3D models from files in the OBJ format and render them on screen using OpenGL. The model currently displayed was created by me in Blender, a 3D modeling software, and exported as an OBJ file. The source code for this project is also included in this folder.
See Google Drive Link for Android Project APKs:
https://drive.google.com/drive/folders/1jt4TxAk_qz4sNWXmvybEbnUf5YdlQo8r?usp=sharing
Coming Soon...