From: Peter Laurens Date: 2007-07-27T22:52:24+09:00 Subject: OpenGL Wrapper Bindings 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)" I'm having difficulty finding a list, or rule, for these mappings. This means I'm finding it difficult to take some plain C GLUT call, and make the same call using the Ruby wrapper, or vice-versa. For example, "GL.ShadeModel(GL::FLAT)" is a line from a Ruby Opengl example, how do I translate this to a native GLUT call to look up the documentation? Or, another example, the GLUT call "glutSolidTetrahedron()", what is the equivalent call for the Ruby wrapper? Any help much appreciated, thanks for taking the time to read! - Nex -- Posted via http://www.ruby-forum.com/.