From: Gregory Seidman Date: 2007-07-27T23:30:39+09:00 Subject: Re: OpenGL Wrapper Bindings On Fri, Jul 27, 2007 at 10:52:24PM +0900, Peter Laurens wrote: > Hi all, > > I've been getting some visualisation working using the ruby-opengl > OpenGL/GLUT wrapper. > > One thing that is hampering my progress is not having a mapping from the > Ruby commands to the GLUT/GL commands, for example: > > This code: "GL.Normal(x, y, z)" > Translates to this GL/GLUT call: "glNormal3f(x, y, z)" [...] > Any help much appreciated, thanks for taking the time to read! You must be using an old version. The current version provides GL.glNormal3f rather than GL.Normal, and so on. An easy way to find a method is to run irb (with appropriate -r flags to require the right files) and something like GL.public_methods.grep /shademodel/i > - Nex --Greg