I'm making a 2D game, with sprites drawn using the glDrawTexfOES() method. I'm wondering if there are ways to draw things like lines and squares along side this.
Now, I know that technically there's nothing stopping me from drawing 3D cubes and such. But, you see, glDrawTexfOES draws using pixel coordinates, i.e. draw texture at 30,30. What I'd like is a similar approach to boxes and lines, using pixel coordinates, i.e. draw line from (5,5) to (10,10). Is this possible? I don't want to simulate 3D coordinates because it would be very hard to try to get the camera and perspective in such a perfect way where I could say draw cube from (5,5,0) to (10,10,0), as well as from (300,300,0) to (310, 310, 0), with no perspective warping in the different corners. (Also, as a backup plan I can always create my line and box effects with sprite textures as well, but I thought I'd ask) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en