View Full Version : OpenGL Android - Rotate objects other than a cube or triangle

03-20-2016, 08:08 AM

I 've already had access to Android code available on internet where a cube can be created and rotated on reply to events.

What I really need is to find a way to upload a png image file and be able to rotate it. The issue is how to set the cube behaviour to an image loaded from memory. An example is the Teapot project NHK available in project samples in Android Studio. But it uses an .inl file.


03-20-2016, 11:30 AM
Hi all,

I already know how to draw a cube and rotate and translate it on reply to events in Android.

Now I need something slightly different for an Android app: Instead of having a cube I would like to replace it with a 3D image. The same way it is done in C++ with .obj files where we have a Scene and 3D .obj files.

Any clues or examples on how to do this?


Dark Photon
03-20-2016, 06:03 PM
Please read the Forum Posting Guidelines (https://www.opengl.org/discussion_boards/showthread.php/176139-Forum-Posting-Guidelines?p=1230021&viewfull=1#post1230021). In particular, don't cross-post. I've combined your threads here.