Hi,
i really have next to no GEM knowledge, but i was always asking
myself whether GEM compiles the GL commands to display lists.
If yes, is that structured by using separate gemheads, if no, why
isn't it used?
If display lists are used i would think it shouldn't make a lot of
difference which language is used for the GL commands (apart from
changing parameters maybe).
gr~~~
Am 13.04.2008 um 16:38 schrieb Frank Barknecht:
Hallo, cyrille henry hat gesagt: // cyrille henry wrote:
luagl is not as fast as C, but it's already much faster than using lots of separators or double gemheads.
Regarding Gem-externals: Does anyone have a simple template project how to write and compile a custom Gem external? This could be very useful, but I'm a bit confused how to do this in a simple way.
use a gem object (like cube). search and replace "cube" by the name of your object in both the
ccp and h file. use this makefile (adjust the name of the file / src directory). it should compile.Thanks a lot Cyrille. I made a little "benchmark" of a [linebuffer] object in luagl vs. a quickly hacked C++ version (warning, very ugly code!! Includes bugs I didn't care to fix for now.)
In this case, Lua does compare quite well with the C++ version on my machine.
Ciao
Frank Barknecht _
______footils.org__<lua-c- gemtest.tgz>_______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list