opengl: What happened to GetString?

H

Henon

hi, on ruby173 and previous this worked:
GL.GetString( GL::VERSION)

but with 180-10 i am getting this error message:
:in `GetString': NULL pointer given (ArgumentError)

ruby 180/10 windows installer on win2000

any ideas?
 
H

Henon

i always have a feeling that there's nobody programming opengl on this
mailinglist.
but it's really great that ruby supports opengl.
 
J

Joel VanderWerf

Henon said:
i always have a feeling that there's nobody programming opengl on this
mailinglist.
but it's really great that ruby supports opengl.

I use opengl a bit (in the context of fxruby), but I have no experience
with GetString, sorry to say.

Are there enough ruby opengl users to form a ML?
 
H

Hugh Sasse Staff Elec Eng

Henon said:
i always have a feeling that there's nobody programming opengl on this
[...]

Are there enough ruby opengl users to form a ML?

Going by my searches for opengl examples in ruby on the web: no

More than a list we need examples and some notes. The OpenGL part
of the FOX docs seems to be missing/unwritten. Fair enough,
documentation always lags development in open source, and it is not
easy to do well. But if people are doing things in this area, then
more needs to be on the web. Make it easier for people to start, and
more will join in. I wouldn't ask people to publish their full apps
because they may have reasons for not doing so, but the short
experimental bits of code to see how this or that feature works
would really help, IMHO.

Hugh
 
J

James Adam

Joel VanderWerf said:
I use opengl a bit (in the context of fxruby), but I have no experience
with GetString, sorry to say.

Are there enough ruby opengl users to form a ML?

i'm an OpenGL user, and i've used it fairly extensively with Ruby on
with Windows and now MacOS X. If you look in the opengl module source,
you can pretty easily see which parts of OpenGL are going to be
supported by your compile, depending on platform and what GL version
you have running.

- james
 
J

James Adam

Henon said:
hi, on ruby173 and previous this worked:
GL.GetString( GL::VERSION)

but with 180-10 i am getting this error message:
:in `GetString': NULL pointer given (ArgumentError)

ruby 180/10 windows installer on win2000

any ideas?

with Ruby 1.8.0 on MacOS X ruby actually Bus Error-dies with this...

- james
 

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

No members online now.

Forum statistics

Threads
474,109
Messages
2,570,671
Members
47,262
Latest member
EffiePju4

Latest Threads

Top