GL_LINE_LOOP not drawing correctly

Problems with Canvas, OpenGL, etc...

GL_LINE_LOOP not drawing correctly

Postby hakk69 » Sat Oct 30, 2010 12:12 am

I have a square which I'm rendering using four vertices and GL_LINE_LOOP. It works fine.
However, if I start to rotate this square on all axes and part of the square leaves the emulator screen, the loop appears to drop the vertex that has left the screen. I then get a triangle for a while until the fourth vertex returns to the screen and the loop draws the square again.
I'm extremely new to OpenGL. Is this expected behaviour, a bug in the Android emulator, or something I've missed?

Thanks in advance for any thoughts.
Once Poster
Once Poster
Posts: 1
Joined: Sat Oct 30, 2010 12:04 am


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

Who is online

Users browsing this forum: No registered users and 2 guests