[PD] speed

chris clepper cgclepper at gmail.com
Sat Feb 2 18:36:17 CET 2008


On Feb 2, 2008 8:49 AM, marius schebella <marius.schebella at gmail.com> wrote:

> I don't know exactly why lua is faster.
> maybe because in lua, I create one long gl command list (from glbegin to
> glend) and in gem I trigger gemhead everytime I draw a square. is there
> a way to make the gem part faster?
>

Resetting the gemhead is somewhat expensive as is calling glBegin()/End()
pairs.  It is not surprising that lua is faster since it just calls the
geometry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080202/2bb44f59/attachment.htm>


More information about the Pd-list mailing list