[jitter] Re: lua questions
yair reshef
yair99 at gmail.com
Wed Jan 2 13:52:02 MST 2008
- Previous message: [jitter] Re: lua questions
- Next message: [jitter] Re: lua questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
the "one" enumeration error disappeared but i tried the others and "ZERO" gave the error. On Jan 2, 2008 8:11 PM, Wesley Smith <wesley.hoke at gmail.com> wrote: > ok, I've updated to beta4.1 with a new windows external fixing the ONE > enum problem. Let me know if you still have issues. > wes > > On Jan 2, 2008 9:33 AM, Wesley Smith <wesley.hoke at gmail.com> wrote: > > ok, I'll have an update soon. I'm assuming you're on windows? > > > > wes > > > > > > On Jan 2, 2008 9:05 AM, yair reshef <yair99 at gmail.com> wrote: > > > ye, i got an error. im on beta4 > > > ob3d_draw_preamble initial: GL Error: Invalid enumeration > > > > > > > > > function init() > > > --initialize the dispaly list > > > if(this.context ~= 0) then > > > BuildLists() > > > gl.Enable ("BLEND") > > > > > > gl.BlendFunc("ONE", "ONE_MINUS_SRC_ALPHA") > > > --gl.ClearColor(1,1,0,1) > > > end > > > end > > > > > > > > > > > > > > > On Jan 2, 2008 6:42 PM, Wesley Smith < wesley.hoke at gmail.com> wrote: > > > > > > > > > > > > > > > > > > > > On Jan 2, 2008 4:51 AM, Erik Mijwaard < erik at videotroopers.com> > wrote: > > > > > > > > > > > > > > > try this: > > > > > > > > > > gl.BlendFunc(ONE, ONE_MINUS_SRC_ALPHA) > > > > > > > > > > > > > Indeed, this is the way to go. The Jitter constants for blend > > > > functions just enumerate the list of enums. In jit.gl.lua, the > enums > > > > have become strings corresponding to the name of the enum. BTW, if > > > > you get errors from the ONE enum and you have the latest version of > > > > jit.gl.lua for your platform, let me know. > > > > > > > > wes > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > jitter mailing list > > > > jitter at cycling74.com > > > > http://www.cycling74.com/mailman/listinfo/jitter > > > > > > > > > > > > > _______________________________________________ > > > jitter mailing list > > > jitter at cycling74.com > > > http://www.cycling74.com/mailman/listinfo/jitter > > > > > > > > > _______________________________________________ > jitter mailing list > jitter at cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20080102/a2e4b0aa/attachment.htm
- Previous message: [jitter] Re: lua questions
- Next message: [jitter] Re: lua questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
