Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-06-19 01:07 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.