Thanks for the reply. I did the same thing but its getting difficult to manage the coordinates in floating points. Is there a way out to use the absolute screen coordinates in OpenGL? if so can you provide with some example to do it.
On Feb 10, 6:44 pm, niko20 <[email protected]> wrote: > No, you shouldn't change the vertices if you don't have to. > > To "move" an image just perform a glTranslate. So what you do is like > this: > > glTranslate(0,0); > DrawYourImage(); > glTranslate(x,x); > DrawYourImage(); > glTranslate(x,x); > DrawYourImage(); > > Etc. > > -niko > > On Feb 8, 12:58 am,Rikki<[email protected]> wrote: > > > > > I'm new to opengGL and excuse if the questions are too naive. I'm > > going through some tuturials for seeking help on learning this. I have > > a small program written where i'm drawing a texture on a > > GLSurfaceView. > > > I want to draw a number of textures(bitmap images) in a sequential > > order starting from 0,0 coordinates. Also I need some gap in images on > > the screen. Please help. Do I need to change the positioning of > > vertices buffer. please suggest. > > > For more code details, checkout hte below link: > > >http://stackoverflow.com/questions/9188857/draw-texture-in-opengl-and...- > >Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

