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> if(this.context ~= 0) then<br> BuildLists()<br> gl.Enable
("BLEND")<br> gl.BlendFunc("ONE", "ONE_MINUS_SRC_ALPHA")<br> --gl.ClearColor(1,1,0,1)<br> end<br>end<br><br><br><div class="gmail_quote">On Jan 2, 2008 6:42 PM, Wesley Smith <<a href="mailto:wesley.hoke@gmail.com">
wesley.hoke@gmail.com</a>> 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 <
<a href="mailto:erik@videotroopers.com">erik@videotroopers.com</a>> wrote:<br>><br>><br>> try this:<br>><br>> gl.BlendFunc(ONE, ONE_MINUS_SRC_ALPHA)<br>><br><br></div>Indeed, this is the way to go. The Jitter constants for blend
<br>functions just enumerate the list of enums. In jit.gl.lua, the enums<br>have become strings corresponding to the name of the enum. 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>