On 4/1/06, [email protected] [email protected] wrote:
Just for some background, here on Debian Etch I can apt-get install
libopengl-ruby (the package which supplies ruby-opengl:
dfltweb1.onamae.com – このドメインはお名前.comで取得されています。 ). To install it, it pulls in freeglut3
also. It gives you opengl.so and glut.so. The readme does not seem to
be available in english.
Would someone mind posting a translation of the README.EUC here?
Thanks,
—John
It’s out of date, but here goes, with the help of wwwjdic:
opengl extension module
This module is for using OpenGL+glut from ruby.
Due to the implementation still being incomplete,
use it with the awareness that there is a great
number of bugs and functions that can’t be used.
This module has been tested with ruby-1.4.3 on
irix6.5+glut3.7.
External dependencies: OpenGL(Mesa)+glut.
Installing
copy opengl.0.3.tgz into ruby’s directory and
execute the following commands:
gzip -dc opengl.0.3.tgz | tar xvf -
cd ruby-gl
ruby extconf.rb
make
Usage
For using GL, GLU:
require “opengl”
For using GLUT:
require “glut”
For more details, consult the source files
in the sample directory.
Note: if a sample app crashes with an X error,
comment out the line with have_library(“pthread”,“pthread_create”)
in extconf.rb, recompile the module, and try again.
Send bug reports, opinions about the module, etc.
to one of the following, please:
[contact infos]
Most of the work was done by yashi. Muchos gracias (???)