Simple scene graph engine in OpenGL

  • Thread starter Ilmari Heikkinen
  • Start date
I

Ilmari Heikkinen

Hi,

Continuing my GL hackathon, I've been scribbling together a scene graph
engine during the past few days using ruby-opengl, glut and ruby-imlib2
for texture loading.

It can handle around 200 (moving) objects per frame on my AthlonXP
1733MHz, and gulps a lot of cpu for that. Haven't tested the amount of
geometry and textures.

Now if I could stop playing with sinewave animations and implement some
useful things instead, like an input handler, a model importer and a
scene editor, life would be just perfect...

It's not really even at 0.1 yet but feel free to take a look:
http://dark.fhtr.org/repos/gl/

Here's a screenshot of iso/iso.rb:
http://dark.fhtr.org/trees2.jpg


- Ilmari

P.S. my 3D-fu is weak so there's more than likely a good amount of
crack-rock in the design.. feel free to offer comments and critique
 

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,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top