On Feb 2, 2008 8:49 AM, marius schebella &lt;<a href="mailto:marius.schebella@gmail.com">marius.schebella@gmail.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I don&#39;t know exactly why lua is faster.<br>maybe because in lua, I create one long gl command list (from glbegin to<br>glend) and in gem I trigger gemhead everytime I draw a square. is there<br>a way to make the gem part faster?<br>
<font color="#888888"></font></blockquote><div><br>Resetting the gemhead is somewhat expensive as is calling glBegin()/End() pairs.&nbsp; It is not surprising that lua is faster since it just calls the geometry.<br></div></div>
<br>