I have an android application for viewing 3D models. I could draw 3D models in shaded mode. But unable to draw it in wireframe mode. Please tell how to do this?
I have all the vertices in an array.
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.
Drawing in wireframe mode should only require one change in your current code. That is to switch the polygon mode to
GL_LINESorGL_LINE_STRIP, in theglDrawElements()/glDrawArrays()call.