ye, i got an error. im on beta4<br>ob3d_draw_preamble initial: GL Error: Invalid enumeration<br><br>function init()<br>--initialize the dispaly list<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(this.context ~= 0) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BuildLists()<br>&nbsp;&nbsp; gl.Enable
(&quot;BLEND&quot;)<br>&nbsp;&nbsp; gl.BlendFunc(&quot;ONE&quot;, &quot;ONE_MINUS_SRC_ALPHA&quot;)<br>&nbsp;&nbsp; --gl.ClearColor(1,1,0,1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br>end<br><br><br><div class="gmail_quote">On Jan 2, 2008 6:42 PM, Wesley Smith &lt;<a href="mailto:wesley.hoke@gmail.com">
wesley.hoke@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Jan 2, 2008 4:51 AM, Erik Mijwaard &lt;
<a href="mailto:erik@videotroopers.com">erik@videotroopers.com</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; try this:<br>&gt;<br>&gt; gl.BlendFunc(ONE, ONE_MINUS_SRC_ALPHA)<br>&gt;<br><br></div>Indeed, this is the way to go. &nbsp;The Jitter constants for blend
<br>functions just enumerate the list of enums. &nbsp;In jit.gl.lua, the enums<br>have become strings corresponding to the name of the enum. &nbsp;BTW, if<br>you get errors from the ONE enum and you have the latest version of<br>jit.gl.lua
 for your platform, let me know.<br><br>wes<br><div><div></div><div class="Wj3C7c">_______________________________________________<br>jitter mailing list<br><a href="mailto:jitter@cycling74.com">jitter@cycling74.com</a><br>
<a href="http://www.cycling74.com/mailman/listinfo/jitter" target="_blank">http://www.cycling74.com/mailman/listinfo/jitter</a><br></div></div></blockquote></div><br>