I am trying to make an android application, but to do so I am trying to figure out how to get the (x, y, z) coordinates of an object. How do I do this?
I am really new to OpenGL, so use simple lingo. Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
OpenGL is not a scene graph library. You have to do the bookkeeping yourself.
You give OpenGL buch of vertices/indices/texcoords and it renders them obeying the current render mode, without any clue about the high-level representation of the vertices.
Take a look at the chopsticks3d Android scene graph library to get ‘live’ example of how its done.