On Mon, Feb 9, 2009 at 11:01 AM, Martin O'Leary <[email protected]> wrote: > 2009/2/8 Alex Holkner <[email protected]> >> >> On Mon, Feb 9, 2009 at 3:16 AM, Martin O'Leary <[email protected]> >> wrote: >> >> > Am I missing something? It seems that ideally, there would be a way to >> > put the same geometry in a batch multiple times, using different >> > groups. >> >> You could add multiple groups to the batch that reference the same >> vertex data, but there's no interface exposed to do this. The end >> result will be the same, except that pyglet will be making the >> multiple draw calls instead of you. > > Is there any chance of an interface being exposed to do this in future? It > seems like a fairly common use case, and while doing it yourself each time > yields the same end result, it would make things easier if there was a > standardised way of dealing with it. If nothing else it would simplify the > interface when dealing with complex repeated drawables.
I'll keep it in mind, but such an interface wouldn't really gel with the current add() method -- some sort of redesign would be required (and probably desirable). Alex. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
