# OpenGl

**URL:** <https://www.ruby-forum.com/t/opengl/74311>\
**Category:** Ruby\
**Created:** [December 22, 2005, 2:48am UTC](https://www.ruby-forum.com/t/opengl/74311 "2005-12-22T02:48:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigbrother2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/97f17d/32.png) [@bigbrother2](https://www.ruby-forum.com/u/bigbrother2)\
**Post date:** [December 22, 2005, 2:48am UTC](https://www.ruby-forum.com/t/opengl/74311/1 "2005-12-22T02:48:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bigbrother2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/97f17d/32.png) [@bigbrother2](https://www.ruby-forum.com/u/bigbrother2)\
**Post date:** [December 22, 2005, 3:00am UTC](https://www.ruby-forum.com/t/opengl/74311/2 "2005-12-22T03:00:39Z")

</div>

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/](http://rubyforge.org/projects/ruby-ftgl/)

Regards,

Bill

---

<div class="post-metadata">

**Author:** ![bigbrother2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/97f17d/32.png) [@bigbrother2](https://www.ruby-forum.com/u/bigbrother2)\
**Post date:** [December 22, 2005, 4:54am UTC](https://www.ruby-forum.com/t/opengl/74311/3 "2005-12-22T04:54:50Z")

</div>

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://rubyforge.org/projects/rubyglew/)

[http://librend.rubyforge.org/wiki/wiki.pl](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](http://rafb.net/paste/results/pw8XY150.html)

Fun stuff!

-dayne

---

<div class="post-metadata">

**Author:** ![bigbrother2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/97f17d/32.png) [@bigbrother2](https://www.ruby-forum.com/u/bigbrother2)\
**Post date:** [December 22, 2005, 6:26pm UTC](https://www.ruby-forum.com/t/opengl/74311/4 "2005-12-22T18:26:17Z")

</div>

On 12/22/05, Dayne [removed\_email\_address@domain.invalid](mailto: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  
🙂

> -dayne

Ilmari

---

<div class="post-metadata">

**Author:** ![bigbrother2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/97f17d/32.png) [@bigbrother2](https://www.ruby-forum.com/u/bigbrother2)\
**Post date:** [December 22, 2005, 3:17pm UTC](https://www.ruby-forum.com/t/opengl/74311/5 "2005-12-22T15:17:53Z")

</div>

Hi,

On Thu, 22 Dec 2005 10:48:10 +0900  
Raymond B. [removed\_email\_address@domain.invalid](mailto: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](http://ruby-gnome2.sourceforge.jp/hiki.cgi?Logo)

It works on \*nix and MS Windows.
