5
votes
1answer
241 views

Animation of moving circle by square's outer surface

I want to make this animation in OpenGL, here I attached a simple gif how I want it to looks like: Main problem is that I can not figure out how to move by corner - circle should smoothly move by ...
3
votes
2answers
1k views

OpenGL GL_LINE_STRIP produces arcs with visible line edges

Another member mentioned an issue while drawing arcs with GL_LINE_STRIP. He has GL_LINE_SMOOTH enabled. The question is, how could he avoid the tiny gaps between vertices without increasing their ...
1
vote
2answers
4k views

How to draw a smooth circle in Android using OpenGL?

I am learning about OpenGL API on Android. I just drew a circle. Below is the code I used. public class MyGLBall { private int points=360; private float vertices[]={0.0f,0.0f,0.0f}; private ...