XML Feeds

.

[jitter] Re: efficiency - using multiple .text2d objects

yair reshef yair99 at gmail.com
Sun Feb 3 12:05:53 MST 2008


you can also try the jit.gl.mutliple with the text object.

On Feb 3, 2008 9:01 PM, yair reshef <yair99 at gmail.com> wrote:

> hi John, the trick with the single-object-multiple-rendering is that you
> have to stuff all its alternating states between the [t b erase] of the
> jit.gl.render.
> you see, jit.render will not output a screen refrash if not given a bang,
> so any valid opengl object you stuff into it between the erase and bang will
> be stored and outputted in time.
>  [t    b    b             erase]
>        |     |                |
>        |     jit.gl.text    |
>        |____________|
>        |
>       jit.gl.render
> you have to have your gl object set to @automatic 0 so it will not auto
> add to render Que, only when it receives a bang. you can then give the same
> object many diffrent states and it will go to the same rendering context.
> that said, im not sure its more efficient or not. experiment.
>
> this is the explanation floating in my head, it can be put better and
> there are some finer details to this then i gave. also drawing ascii-patches
> is a bitch!
>
> On Feb 3, 2008 8:33 PM, Leafcutter John <thetawnyowl at googlemail.com>
> wrote:
>
> > And here is my patch.
> > --
> > http://www.leafcutterjohn.com
> >
> > "The Forest And The Sea"
> > Out on Staubgold Records
> > Staubgold 68 CD/LP
> >
> > _______________________________________________
> > jitter mailing list
> > jitter at cycling74.com
> > http://www.cycling74.com/mailman/listinfo/jitter
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cycling74.com/pipermail/jitter/attachments/20080203/f9febafe/attachment.htm


More information about the jitter mailing list