XML Feeds

.

[jitter] Re: lua questions

Wesley Smith wesley.hoke at gmail.com
Wed Jan 2 10:33:19 MST 2008


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
>
>


More information about the jitter mailing list