Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

OpenGL in Perl

by HTTP-404 (Sexton)
on Apr 13, 2001 at 14:18 UTC ( #72315=perlquestion: print w/ replies, xml ) Need Help??
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

Comment on OpenGL 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, you may have something. Good Luck!


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://72315]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-10-04 11:49 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (102 votes), past polls