lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Waldemar Celes <> wrote:
> you only need to create a buffer for a few functions like glReadPixels.
> the correct code would be to use gluProject would be something like:
> local model = {}
> local proj = {}
> local view = {}
> glGet(GL_VIEWPORT,view)
> local rx,ry,rz = gluProject(x,y,z,model,proj,view)
> -- waldemar


Btw, glLua works great. I did have to work a bit to get it running
on NT though(Jim Mathies got it working for me). I have the executable 
if you're interested in having a precompiled version for NT available 
on the glLua web page.