OpenGl


#1

Any willing to talk offline or here if all are interested in the
OpenGL bindings I hear are in Ruby? I would like to know more about
it and if anyone has successfully used them or ran a simple ruby/
OpenGL application.

Raymond


#2

Hi,

Any willing to talk offline or here if all are interested in the
OpenGL bindings I hear are in Ruby? I would like to know more about
it and if anyone has successfully used them or ran a simple ruby/
OpenGL application.

There are several OpenGL demo programs (ports of the SGI demos)
that come with the OpenGL bindings when you install them.

Also, here are bindings for rendering true-type fonts in OpenGL
in Ruby: http://rubyforge.org/projects/ruby-ftgl/

Regards,

Bill


#3

Raymond,

Ruby + OpenGL works great (comes w/ windows installer too).

I’ve only done very basic GL apps so far… most amusing thing was a
small partical system … spewing colored dots from under the mouse
cursor and then causing them to blow around on window. Very basic,
very silly, but really amusing because it ‘Just Worked’ in both Linux
(./run_it) and Windows (double click it). Actually getting the linux
to work was a bit harder since I had to install the opengl bindings.

Other fun gl related stuff

http://rubyforge.org/projects/rubyglew/

http://librend.rubyforge.org/wiki/wiki.pl

librend is a really interesting looking project… but at this time
only is going to work in Linux land… and only if you are willing to
dedicate a lot of time towards getting all of its dependancies (both
in ruby and out) compiled and working… but the end result is
amazing… the following is all the code needed to make a anti-aliased
true-type opengl clock:

http://rafb.net/paste/results/pw8XY150.html

Fun stuff!

-dayne


#4

On 12/22/05, Dayne removed_email_address@domain.invalid wrote:

librend is a really interesting looking project… but at this time
only is going to work in Linux land… and only if you are willing to
dedicate a lot of time towards getting all of its dependancies (both
in ruby and out) compiled and working…

Regarding future direction of librend, I’ve been having as a
long-running (read: lazy and using time to do other things) goal to
split it into disjoint parts, so there would be the 2D vector
rendering lib, the basic OpenGL lib, and the advanced OpenGL lib
(GLEW, FTGL.) Then the dephell would be more manageable, since the
core would only require ruby-opengl, sdl and some image loading lib.
Hopefully more portable too.

I’ll likely pick up librend development again after getting this thing
I’m doing now out of the way fingers crossed. Been reading about
bone-driven animation, so maybe something like that next in the new
features -land.

The goal for librend is to be something like a next-gen GUI engine to
run super desktop that looks and works like a RTS game / Ragnarok
Online with great effects and easy themeability. But… it’s difficult
:slight_smile:

-dayne

Ilmari


#5

Hi,

On Thu, 22 Dec 2005 10:48:10 +0900
Raymond B. removed_email_address@domain.invalid wrote:

Any willing to talk offline or here if all are interested in the
OpenGL bindings I hear are in Ruby? I would like to know more about
it and if anyone has successfully used them or ran a simple ruby/
OpenGL application.

How about Ruby/OpenGL with Ruby-GNOME2 ?

It includes sample scripts and there is a “Logo demo” on Ruby-GNOME2
Website.
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Logo

It works on *nix and MS Windows.