Right, the only way I found is to delete label and rebuild it using
proper group when necessary. In the end I have a single batch.

Nicolas


On Jul 23, 8:49 pm, Tristam MacDonald <[email protected]> wrote:
> On Thu, Jul 23, 2009 at 11:43 AM, Lynx <[email protected]> wrote:
>
> > On Jul 23, 5:17 am, Nicolas Rougier <[email protected]> wrote:
> > > But in your case, you have to make a scissor test for each one of your
> > > entry, is that right ?
>
> > That's what concerns me, yes.  The big saving in time here is that by
> > converting them to Labels, they can share the same Groups, and thus
> > all vertex lists are being rendered in the same pass - one call to
> > OpenGL.  If I were to set a scissor group for each input field, that
> > would to some degree undo the performance gain.
>
> I had to stop batching labels anyway, because there is no way currently to
> move a label between batches/groups...
>
> --
> Tristam MacDonaldhttp://swiftcoder.wordpress.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to