line_strip/loop

Problems with Canvas, OpenGL, etc...

line_strip/loop

Postby fps6 » Sun Feb 27, 2011 2:52 am

i'm making a game and i'm trying to make some asteroids, like the classic ones. i tried with GL10.LINE_STRIP but i don't get what i program. maybe are the vertices the problem, maybe i don't write them right. i tried with simple shapes, a 2d house was drawn like it should. some other things made a diagonal rectangular. i can paste the vertices if it helps. gl_polygon is not implemented in openGLES so this is my only solution (or drawing a few asteroids and setting them as textures).

can somebody help me with this, with a way how to do it or something?
fps6
Freshman
Freshman
 
Posts: 4
Joined: Sun Feb 27, 2011 2:01 am

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 1 guest