[PD] display waveform in GEM
Ti Bo
tim at timesup.org
Mon Feb 27 12:36:34 CET 2006
Hi!
This has been sitting in my in-box for ages, so today I finally decided
to test it. I am trying to use it with Pix' nqpoly4 abstraction in order
to get a lot of lines at the same time. But when I do this, I only
get one of the lines existent, the others only appear as the end
vertices.
Any idea why this might be? And even better, how I might go about
solving this problem?
cheers,
tim
On Jun 6, 2005, at 2:50 PM, cyrille henry wrote:
> hello,
>
>
>> Actually I asked a similar question as this a few month ago.
>> I also played around a bit with the [curve 2] object and posted my
>> first result
>> on the list too..
>
> [curve 2] is quite slow for drawing a single line,
> I use an abstraction made with the openGL objects (see attachment)
> that is compatible with [curve 2], but lot's faster when you have 1000
> lines to draw...
> cyrille
> #N canvas 409 354 379 280 10;
> #X obj 31 123 GEMglBegin;
> #X obj 86 100 GLdefine GL_LINE_STRIP;
> #X obj 31 13 inlet;
> #X obj 86 77 loadbang;
> #X obj 159 13 inlet;
> #X obj 221 12 inlet;
> #X obj 31 200 GEMglEnd;
> #X obj 31 151 GEMglVertex3fv;
> #X obj 31 175 GEMglVertex3fv;
> #X connect 0 0 7 0;
> #X connect 1 0 0 1;
> #X connect 2 0 0 0;
> #X connect 3 0 1 0;
> #X connect 4 0 7 1;
> #X connect 5 0 8 1;
> #X connect 7 0 8 0;
> #X connect 8 0 6 0;
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
----- Tim Boykett TIME'S UP::Research Department
\ / Industriezeile 33b A-4020 Linz Austria
X +43-732-787804(ph) +43-732-7878043(fx)
/ \ tim at timesup.org http://www.timesup.org
-----
http://www.timesup.org/fieldresearch/setups/index.html
More information about the Pd-list
mailing list