[jitter] Re: lua questions
Wesley Smith
wesley.hoke at gmail.com
Wed Jan 2 14:31:27 MST 2008
- Previous message: [jitter] Re: lua questions
- Next message: [jitter] Re: how to rotate a camera?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
argh. thanks for checking. I had tried doing some "fancy" scripting on the enum definitions from GLEW and apparently there are several definitions of ZERO and ONE. I'll get this patched up with a full update in a few days. wes On Jan 2, 2008 12:52 PM, yair reshef <yair99 at gmail.com> wrote: > 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 > > > > > _______________________________________________ > jitter mailing list > jitter at cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > >
- Previous message: [jitter] Re: lua questions
- Next message: [jitter] Re: how to rotate a camera?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
