in reply to Perl Opengl Question
I think you're on the right track with POGL. It's the most actively maintained of the Perl-OpenGL bindings. Check out the examples directory that comes with the distribution.
If you're starting from zero with OpenGL, I can tell you that it's just a simple state machine. You tell it where things are in the universe, and it draws them while you're telling it to. Whatever the current drawing color, lighting settings, model-view matrix, etc., it just does what you tell it to according to its current state.
Using the glu* commands to draw shapes is very easy. Just remember to set up things first (color, light, etc.) before calling them.
Couple quick tips:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Opengl Question
by Anonymous Monk on Jul 15, 2008 at 14:46 UTC | |
by grafman (Acolyte) on Jul 15, 2008 at 18:32 UTC | |
|
Re: Perl Opengl Question
by grafman (Acolyte) on Jul 15, 2008 at 18:28 UTC |