Thanks everybody, I've having problems replying, some messages didn't
show up in the list.

anyway, I've noticed ScrollableTextLayout uses a
ScrollableTextLayoutGroup that is unique for each instance and not
shared at all.
I'm trying to hack that group to perform all the scaling, so I don't
hook up more groups and degrade performance.

I've tried using custom groups before, but it was too slow for
scrollableText, now I see why, and know how to do it right.

I'm slowly trying to code a media center software like moovida and
mediaportal, hope I can finish it before I give up.

On Mar 2, 1:05 am, Mike Wyatt <[email protected]> wrote:
> You can apply state changes like scaling or a perspective projection
> matrix with a custom group.
>
> On Feb 28, 9:53 am, Alex V <[email protected]> wrote:
>
> > Hi guys,
>
> > I'm trying to perform some text scaling and I don't care it pixelates
> > as I scale it up, I just need the method to be fast and doesn't
> > regenerate the glyphs on each draw.
>
> > I also need to do it in such way that is compatible with batch
> > rendering, that means It doesn't have to require a opengl state change
> > (is it that how it's called?) like doing a glScalef() surrounded by
> > glPushMatrix glPopMatrix...as far as I know you can't put a lot of
> > text labels in a single batch and do a a glScalef on a single label of
> > the batch, is that right?
>
> > so, in short: how can I have 50 labels (or ScrollableTextLayout) in a
> > single batch, and scale 1 label of that batch without regenerating the
> > glyphs,I don't care if it stretches the vertex_lists and the text
> > looks weird and pixelated.. in fact, that is quite exactly what I'm
> > looking for.
>
> > any hints?? thanks!!

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