Loading (bmp) textures to OpenGL

Hi,

From: meinrad.recheis@aon.at [mailto:meinrad.recheis@aon.at]
Sent: Saturday, 8 February 2003 2:57 AM
To: ruby-talk@ruby-lang.org
Subject: loading (bmp) textures to OpenGL

hi,

i dont want to write a reader for bmp files in ruby, so
i have googled through comp.lang.ruby and found only one thread about
“loading textures to opengl”, which contains a link to the imlib2-ruby
library.

the problem is, that i have no idea how to install this lib on
windows.

does anyone have an idea how to load *.bmp s?

I converted some of the NeHe OpenGL tutorials to Ruby using the RUDL
library. There are some examples of loading bmps and using them as textures
in OpenGL.

http://froukepc.dhs.org/rudl/download/applications/opengl-tutorial-(nehe%2
9.zip

i think it should be possible with FX/Ruby, but again i have no clue
how to do it in an easy way.

please help, Meinrad Recheis

enjoy,

Martin

···

-----Original Message-----