I'm searching for a way to get simple graphical output in ruby for a simple physics simulation. All I need are circles and lines and a decent framerate in fullscreen-like resolutions. I tried ruby-processing but in 800*600 i get less than 10 frames on my not-too-old pc. And that's just a circle moving around, no physics whatsoever involved.
I'm searching for a way to get simple graphical output in ruby for a simple physics simulation. All I need are circles and lines and a decent framerate in fullscreen-like resolutions. I tried ruby-processing but in 800*600 i get less than 10 frames on my not-too-old pc. And that's just a circle moving around, no physics whatsoever involved.
I'm searching for a way to get simple graphical output in ruby for a simple physics simulation. All I need are circles and lines and a decent framerate in fullscreen-like resolutions. I tried ruby-processing but in 800*600 i get less than 10 frames on my not-too-old pc. And that's just a circle moving around, no physics whatsoever involved.
I used Ruby/OpenGL in my physics simulator. It gave me 60 fps on ~20 objects w/out physics or 30 with it. Fast enough for me. I have NVidia Geforce FX 5200 and Athlon 64 3000+.
I'm searching for a way to get simple graphical output in ruby for a simple physics simulation. All I need are circles and lines and a decent framerate in fullscreen-like resolutions. I tried ruby-processing but in 800*600 i get less than 10 frames on my not-too-old pc. And that's just a circle moving around, no physics whatsoever involved.
Thanks for your input
Philip
I mentioned tkar, my own tool for this purpose, on the list a few weeks ago:
I'm searching for a way to get simple graphical output in ruby for a
simple physics simulation. All I need are circles and lines and a decent
framerate in fullscreen-like resolutions. I tried ruby-processing but in
800*600 i get less than 10 frames on my not-too-old pc. And that's just
a
circle moving around, no physics whatsoever involved.
ok, maybe this is getting off-topic now, but when I
sudo gem install gosu
i get
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I have no idea where to search for this mkmf.log file and I have no idea why it fails in the first place.
If this is off-topic here please direct me somewhere where it fits.
thanks
Philip
···
On Tue, 24 Mar 2009 21:08:12 +0100, Rolando Abarca <funkaster@gmail.com> wrote:
ok, maybe this is getting off-topic now, but when I
sudo gem install gosu
i get
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I have no idea where to search for this mkmf.log file and I have no idea
why it fails in the first place.
If this is off-topic here please direct me somewhere where it fits.
Rubygame and Gosu are great options. I use Rubygame; I have started a
framework on top of it to make simple game objects with physics attached
easy to setup and run.
Can anyone tell me how to correct the following error?
RUBY PROGRAM:
···
---------------------
require 'sqlite3'
p "open db"
db = SQLite3::Database.new( "data.db" )
p "db close"
db.close
-------------------
ERROR:
>ruby dbtest.rb
./sqlite3.dll: 127: The specified procedure could not be found. - Init_sqlite3 (LoadError)
./sqlite3.dll from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from dbtest.rb:2
>Exit code: 1
-------------------
SYSTEM CONFIGURATION
Windows Vista
sqlite3.dll is in the same directory as the program - windows version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
gem sqlite3-ruby-1.2.0-mswin32
I'd appreciate any information available.
Thanks
Tom Reilly
Can anyone tell me how to correct the following error?
RUBY PROGRAM:
---------------------
require 'sqlite3'
p "open db"
db = SQLite3::Database.new( "data.db" )
p "db close"
db.close
-------------------
ERROR:
ruby dbtest.rb
./sqlite3.dll: 127: The specified procedure could not be found. -
Init_sqlite3 (LoadError)
./sqlite3.dll from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from dbtest.rb:2
Exit code: 1
-------------------
SYSTEM CONFIGURATION
Windows Vista
sqlite3.dll is in the same directory as the program - windows version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
gem sqlite3-ruby-1.2.0-mswin32
Or switch to Amalgalite so you don't have to worry about issues like this.
James Edward Gray II
···
On Mar 25, 2009, at 9:13 AM, Heesob Park wrote:
2009/3/25 Tom Reilly <w3gat@nwlagardener.org>:
Can anyone tell me how to correct the following error?
RUBY PROGRAM:
---------------------
require 'sqlite3'
p "open db"
db = SQLite3::Database.new( "data.db" )
p "db close"
db.close
-------------------
ERROR:
ruby dbtest.rb
./sqlite3.dll: 127: The specified procedure could not be found. -
Init_sqlite3 (LoadError)
./sqlite3.dll from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from dbtest.rb:2
Exit code: 1
-------------------
SYSTEM CONFIGURATION
Windows Vista
sqlite3.dll is in the same directory as the program - windows version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
gem sqlite3-ruby-1.2.0-mswin32