[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Raymond Brown

12/22/2005 1:48:00 AM

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


4 Answers

Bill Kelly

12/22/2005 1:59:00 AM

0

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/...


Regards,

Bill




Dayne

12/22/2005 3:52:00 AM

0

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...

http://librend.rubyforge.org/wi...

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/pw8...

Fun stuff!


-dayne


Masao Mutoh

12/22/2005 2:17:00 PM

0

Hi,

On Thu, 22 Dec 2005 10:48:10 +0900
Raymond Brown <raymond@silenttrace.com> 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/hik...

It works on *nix and MS Windows.

--
:% Masao Mutoh<mutoh@highway.ne.jp>


Ilmari Heikkinen

12/22/2005 5:25:00 PM

0

On 12/22/05, Dayne <broderson@gmail.com> 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 along-running (read: lazy and using time to do other things) goal tosplit it into disjoint parts, so there would be the 2D vectorrendering lib, the basic OpenGL lib, and the advanced OpenGL lib(GLEW, FTGL.) Then the dephell would be more manageable, since thecore 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 thingI'm doing now out of the way *fingers crossed*. Been reading aboutbone-driven animation, so maybe something like that next in the newfeatures -land.The goal for librend is to be something like a next-gen GUI engine torun super desktop that looks and works like a RTS game / RagnarokOnline with great effects and easy themeability. But.. it's difficult:-)>> -dayne>Ilmari