Shiny balls with OpenGL

Hi, anyone done interesting things with ruby-opengl?

Made some lit spheres: http://dark.fhtr.org/light2.rb
(needs ruby-opengl and glut)

Seems like it'd be quite feasible to use Ruby for managing the scene and
write the heavy drawing functions in C for speed. (Or precalc to display
lists)

Ilmari Heikkinen

Hi, anyone done interesting things with ruby-opengl?

Made some lit spheres: http://dark.fhtr.org/light2.rb
(needs ruby-opengl and glut)

Very cool!

···

On Friday 01 April 2005 10:14 am, Ilmari Heikkinen wrote:

Seems like it'd be quite feasible to use Ruby for managing the scene and
write the heavy drawing functions in C for speed. (Or precalc to display
lists)

Ilmari Heikkinen

I did some reasonably neat stuff for my PhD software using Ruby, C++ and OpenGL on OS X, you can have a look at a short video:

http://privatewww.essex.ac.uk/~jgadam/videos/before.avi

- James Adam

···

On 2005-04-01 19:14:07 +0100, Ilmari Heikkinen <kig@misfiring.net> said:

Hi, anyone done interesting things with ruby-opengl?

Hi, I enjoyed it!
  3 changes made it more comfortable for me to look at: I changed the 2nd parameter in gluLookAt (in set_camera() ) from 2.0 to 4.0 (the y-coord of the eye) to back off and see the whole setup of the spheres. Also, I divided the time value in set_camera() and draw_lights() by 10.0 to smooth out the animation.
  Thanks for sharing the code!
    Barry

Kent Loobey wrote:

···

On Friday 01 April 2005 10:14 am, Ilmari Heikkinen wrote:

Hi, anyone done interesting things with ruby-opengl?

Made some lit spheres: http://dark.fhtr.org/light2.rb
(needs ruby-opengl and glut)

Very cool!

Seems like it'd be quite feasible to use Ruby for managing the scene and
write the heavy drawing functions in C for speed. (Or precalc to display
lists)

Ilmari Heikkinen

la, 2005-04-02 kello 00:44, James Adam kirjoitti:

···

On 2005-04-01 19:14:07 +0100, Ilmari Heikkinen <kig@misfiring.net> said:

> Hi, anyone done interesting things with ruby-opengl?

I did some reasonably neat stuff for my PhD software using Ruby, C++
and OpenGL on OS X, you can have a look at a short video:

http://privatewww.essex.ac.uk/~jgadam/videos/before.avi

- James Adam

Ehehe, it looks fun
Especially the bees(?) running around

Yeah - I particularly enjoyed creating the bees :slight_smile:

- James

···

On 2005-04-02 11:35:59 +0100, Ilmari Heikkinen <kig@misfiring.net> said:

la, 2005-04-02 kello 00:44, James Adam kirjoitti:

On 2005-04-01 19:14:07 +0100, Ilmari Heikkinen <kig@misfiring.net> said:

Hi, anyone done interesting things with ruby-opengl?

I did some reasonably neat stuff for my PhD software using Ruby, C++ and OpenGL on OS X, you can have a look at a short video:

http://privatewww.essex.ac.uk/~jgadam/videos/before.avi

- James Adam

Ehehe, it looks fun
Especially the bees(?) running around