C
Ciph3rzer0
So I just recently started using ruby and I love it. I am also taking
a computer graphics course and I am using C and C++ to use OpenGL. I
did a little searching, and it seems that ruby can do OpenGL too, but
I've had some problems...
I get this error every time I try to call Glut.glutCreateWindow :
freeglut ERROR: Internal error <FBConfig with necessary capabilities
not found> in function fgOpenWindow
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x0
Serial number of failed request: 25
Current serial number in output stream: 28
I used both my code and example code (though I haven't had much luck
finding any). The ruby-opengl page is surprisingly unhelpful, with
very little information and tutorials.
Also, I've noticed that the sample programs I found haven't needed
these two lines:
require 'rubygems'
gem 'ruby-opengl'
I'm not entirely sure what's up.
a computer graphics course and I am using C and C++ to use OpenGL. I
did a little searching, and it seems that ruby can do OpenGL too, but
I've had some problems...
I get this error every time I try to call Glut.glutCreateWindow :
freeglut ERROR: Internal error <FBConfig with necessary capabilities
not found> in function fgOpenWindow
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x0
Serial number of failed request: 25
Current serial number in output stream: 28
I used both my code and example code (though I haven't had much luck
finding any). The ruby-opengl page is surprisingly unhelpful, with
very little information and tutorials.
Also, I've noticed that the sample programs I found haven't needed
these two lines:
require 'rubygems'
gem 'ruby-opengl'
I'm not entirely sure what's up.