Ages ago I created a set of vertex_ objects that does exactly this. It was too hard to use most of the objects and shaders more or less replaced a lot of the functions anyway. There is a vertex_tab_read that would allow uploading of table data to the GPU.
The other option is to use the tables as textures. On Sun, Sep 2, 2012 at 1:06 PM, ronni montoya <[email protected]>wrote: > 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 <[email protected]>: > > 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 <[email protected]>: > >> 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 > >> _______________________________________________ > >> [email protected] mailing list > >> UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list >
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
