开发者

open GL ES basis applications

How can I draw an Ellipse using op开发者_如何学PythonenGL ES


There are many good tutorials that help you to learn Open GL ES. These tutorials particularly give examples to draw Ellipse, Circle, Square etc..

Some are here,

  1. OpenGL ES for iPhone tutorial - By Simon Maurice
  2. Open GL 2.0 for iPhone tutorial - by Ray Wenderlich
  3. Resources for iPhone OpenGL ES - Beginners / Intermediate

Best Wishes


Draw a bunch of line segments around the circumference.

Also note that your system may not support anti-aliased lines (the iPhone doesn't). There's a nice article on drawing antialiased lines here. You can do something similar to draw the line segments (though you don't need the end-caps, so it's a bit simpler).

Another solution to anti-aliasing that requires more polygons is here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜