look at the gemvertexbuffer object. it's 1 year old, so with a bit of luck it should be included in latest pd-extended. cheers c
Le 02/09/12 19:06, ronni montoya a écrit :
In processing theres a library called glgraphics that allows to use vertex arrays,this allow to calculate vertices in the gpu and it is very fast, i can draw up to 80 000 vertices in my computer.
Is it possible something like this in pd? Is it possible to access to vertex arrays commands from pure opengls from gem?
any idea?
R.
2012/9/2 ronni montoya ronni.montoya@gmail.com:
In processing theres a library called glgraphics that allows to use vertex arrays,this allow to calculate vertices in the gpu and it is very fast, i can draw up to 80 000 vertices in my computer.
Is it possible something like this in pd? Is it possible to access to vertex arrays commands from pure opengls from gem?
any idea?
R.
2012/9/2 Max abonnements@revolwear.com:
Am 02.09.2012 um 18:23 schrieb Cyrille Henry:
hello,
the repeat/gemlist trick is very fast. it can be used to render lot's more point in real time. (try pmpd example 57 : 2000 points are rendered at 50 fps on my computer with no problem)
ok, good to know. by the way: the examples in pd-ext go only until 51, but i found the others (not there: drpichon.free.fr/pmpd/ google top result) but http://www.chnry.net/ch/?081-pmpd
i suspect that the bottleneck is the list parsing.
i see.
one trick to speed this is to put the list in a table, and use tabread to access the data.
to you know how tables compare to iemmatrix? the advantage of a matrice would be that i can get a whole row at once.
(i did not have a look a the patch, so i may be wrong).
i'll try.
thanks cyrille!
max _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list