On Feb 2, 2008 8:49 AM, marius schebella marius.schebella@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.