Hi!

hmm...do you maybe have an example-implementation of this for me?

Thanks for your answer! :-)
Frank


Am Mittwoch, 2. September 2009 schrieb Keean Schupke:
>Hi,
>
>Use a TRIANGLE_FAN and compute the coordinates to put in your array
>buffer or VBO using the formula:
>
>x = cos r
>y = sin r
>
>where r goes from 0 to 2*PI in whatever step size you like. This will
>give you an anti-clockwise circle.
>
>Regards,
>Keean.
>
>On Sep 2, 8:16 am, "Frank von Daak" <[email protected]> wrote:
>> Hi!
>>
>> I'm new to openGL and I have done some first tests with drawing a
>> triangle... Now I would like to draw a circle, which is filled with a
>> texture, but I have no idea, how to do so.
>> Can someone of you give me a hint?
>>
>> Thank you very much!
>> Frank
>>
>> --
>> Name:   Frank von Daak
>> eMail:  [email protected]
>> "Enjoy yourself - it's later than you think!"
>
>

-- 
Name:   Frank von Daak  ICQ: 490068423
eMail:  [email protected]
"Enjoy yourself - it's later than you think!"



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to