I wouldn't place all my bets on OpenGL ES 2.0 so fast as most devices out there won't support it (hardware wise, it's not so much a question of the Android version used). For a foreseeable time you will have to have to rendering paths one for OpenGL 1.x and another for 2.0. Start with 1.x, it's easier to crasp conceptually especially if you've never done any graphics programming before.
On 18 Mrz., 18:54, Loki117 <[email protected]> wrote: > Indeed as Robert said and as I mentioned in the question I did not > want to use Canvas operations as it is just too slow especially if any > other animation is running at the same time or could run as the result > of some user input such as a slide up menu or animated swirl. > > Thanks for your suggestion Robert I am now looking at picking up the > books you mentioned also I see Google just officially released the ES > 2.0 supports yesterday so like you said best not to pick up a dated > book. > > Tom > > On Mar 18, 1:49 pm, Robert Green <[email protected]> wrote: > > > That's not OpenGL. That's a Canvas method. You could use that to > > draw to a texture, upload that and draw a quad with that texture on > > it, appearing to be a circle. > > > On Mar 18, 4:34 am, tarin <[email protected]> wrote: > > > > Loki, > > > > you can try this: > > > > Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); > > > paint.setColor(Color.BLUE); > > > paint.setStyle(Style.STROKE); > > > paint.setStrokeWidth(2); > > > > c.drawCircle(100, 100, 60, paint); > > > > On Mar 16, 11:38 pm, Loki117 <[email protected]> wrote: > > > > > Afternoon all, > > > > > I hope someone can help. I am trying to get my head around OpenGL on > > > > Android and hopefully start making some nice GUI's that are both quick > > > > and nice to look at. At the moment I am attempting to draw a radar > > > > type screen. To describe the screen think of a mapview with a point on > > > > the map. From the point a circle will radiate like a sonar pulse > > > > spreading out. Now I have tried doing this via MapOverlays and it is > > > > just not fast enough so I would like to try doing it via openGL ontop > > > > of the mapview. > > > > > Does anyone know how I can draw this "ring"? I can't even work out > > > > where to start here. I did have a look at the OpenGL sample for the > > > > spinning cubes but that just confused me further. Any help would be > > > > much appreciated. > > > > > Thanks in advance, > > > > > Tom -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

