From: Ben Giddings Date: 2004-10-14T08:21:11+09:00 Subject: Re: [QUIZ] Geodesic Dome Faces (#3) martinus wrote: > Here is my solution: > http://martinus.geekisp.com/files/geodesic.zip > unzip and start depthcue.rb for a simple opengl visualization. > > geodesic.rb contains the subsampling code, > geodesic-data.rb contains the data as published in the quiz, and > depthcue.rb is a simple opengl visualization (a modified opengl > sample). *sob* % ruby -v depthcue.rb ruby 1.8.2 (2004-07-29) [i686-linux] /usr/lib/ruby/1.8/mathn.rb:19: warning: method redefined; discarding old gcd2 /usr/lib/ruby/1.8/mathn.rb:119: warning: method redefined; discarding old inspect /usr/lib/ruby/1.8/mathn.rb:231: warning: method redefined; discarding old sqrt depthcue.rb:81: [BUG] Segmentation fault ruby 1.8.2 (2004-07-29) [i686-linux] zsh: 28856 abort ruby -v depthcue.rb Any ideas if the segfault is in the opengl stuff, ruby, or what? I'd like to see the answer, and especially like to see some OpenGL stuff done in ruby. Ben