Good idea Greg. Likely, your 2D circles won't contain a tremendous number of vertices, as these things go.
Therefore, you could just 'pre-create' a single, large circle, and draw it many times, each to a different scale (using the modelview matrix) That way, if you wanted circles in different colors or styles, could pre-create a whole array of different looking ones, all the same size. On May 29, 2:56 am, Greg Ewing <[email protected]> wrote: > Mike Lawrence wrote: > > Some of my circles are static, but some are dynamic (size based on > > mouse position). > > You might like to consider pre-creating vertex lists > for a range of step sizes, then for each circle > pick the one nearest the resolution you want and > scale it to size. > > -- > Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" 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/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
