I've been working on porting a cel-shader I wrote a few years ago to
Ruby using ruby-opengl, and it's been going well. I have hit a
show-stopping snag, though, in that ruby-opengl doesn't seem to support
1D texturing, and that was how I implemented my shading model.
Does anyone have some insight into how to get around this? Maybe a
patch that adds 1D texturing support? I'd like to avoid rewriting the
shading model if at all possible, but if I have to end up doing so I
will. I'm using version 0.32f of ruby-opengl, on Slackware 10, and it
compiled and installed with no problems.
Hi,
I've been working on porting a cel-shader I wrote a few years ago to
Ruby using ruby-opengl, and it's been going well. I have hit a
show-stopping snag, though, in that ruby-opengl doesn't seem to support
1D texturing, and that was how I implemented my shading model.
Sorry I can't be of more help. But I would bet it would be
easy to add a binding for GLTexImage1D to the ruby-opengl
source. I'm guessing if you searched for GLTexImage2D
and copied the binding as GLTexImage1D and removed the
height parameter, that might be all there is to it.
That said, I haven't looked at the code, so I apologize if
this is incorrect... 
Regards,
Bill
ยทยทยท
From: "David F. Dembinski" <dave.dembinski@gmail.com>