[PD] Arbitrary meshes/drawlines in GEM?

Daniel Iglesia daniel.iglesia at gmail.com
Fri Aug 5 18:56:55 CEST 2016


I have (large, e.g. size  >512) quickly-varying arrays of data in Pd that
I'd like to turn into vertices/lines in GEM. How do I either

1) draw a large mesh (such as with jit.gl.mesh) without having to, for
example, specify a [polygon] with 512 inlets

or

2) send individual drawline commands to GEM (without having to, for
example, use GEMglBegin with 512 GEMglVertex3f objects in a row), e.g.
[drawline x y z x y z (

(the only other idea I have is to use a vertex shader and send in lists of
point data as a parameter to that, which hopefully doesn't have a
bottleneck)

thanks for any advice, Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160805/ed79e79e/attachment-0001.html>


More information about the Pd-list mailing list