http://www.perlmonks.org?node_id=72315

HTTP-404 has asked for the wisdom of the Perl Monks concerning the following question:

Is it possable to make OpenGL Polygons in Perl, it would be really nice to make a 3d game in Perl

Replies are listed 'Best First'.
Re: OpenGL in Perl
by arhuman (Vicar) on Apr 13, 2001 at 14:26 UTC

    A (quick) search on google (keywords opengl AND perl) bring me :

    this link and this one and hundreds of other links...

    "Only Bad Coders Badly Code In Perl" (OBC2IP)
Re: OpenGL in Perl
by athomason (Curate) on Apr 15, 2001 at 22:38 UTC
    The Simple DirectMedia Layer has a Perl binding, if you'd like to save yourself some effort. It provides direct OpenGL support and all the other goodies you need for game program.

    You can't beat SDL for portability either, as it currently supports Linux, Win32, BeOS, MacOS, Solaris, IRIX, and FreeBSD. And if you ever found yourself wanting to program in another language (but why? ;-), it supports C and C++ natively and has additional bindings for Ada, Eiffel, ML, and Python. Both the current release of SDL and the Perl binding claim to be stable on the most important target platforms.

      I cant get perl SDL bindings to work properly.. (well all of them work except for the opengl bit (dam)) I suspect it is my gl is a non mesa thingy, but im not sure
Re: OpenGL in Perl
by strredwolf (Chaplain) on Apr 13, 2001 at 19:45 UTC
    There's a few around in CPAN, but they are rather old. However, if you code your own using Inline.pm, you may have something. Good Luck!

    --
    $Stalag99{"URL"}="http://stalag99.keenspace.com";