embed yoshi's opengl in ruby/tk?

T

Tom Nakamura

How can i run opengl (specifically I want to run the webcam example in
ruby-v4l) in a ruby/tk frame? I hear its possible for sdl at the least,
and I know people have done this with python/perl and tk/opengl.
Tom Nakamura
 
E

esperanc

There are two packages for embedding opengl in a tk window: togl and
tkogl, both available for using tk with tcl. Haven't seen it ported to
ruby, though. A better idea is to move from tk to fox (FXruby), which
is nicer (IMHO) than tk and supports opengl natively.
 
H

Hidetoshi NAGAI

From: "Tom Nakamura" <[email protected]>
Subject: embed yoshi's opengl in ruby/tk?
Date: Sat, 11 Jun 2005 06:53:58 +0900
Message-ID: said:
How can i run opengl (specifically I want to run the webcam example in
ruby-v4l) in a ruby/tk frame?

What decides the posibility is whether the library has some ways
to use the given window (by window-ID) to display.
I don't know about that library.
If the library can display on the given window, for example,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top