Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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 Inline.pm, you may have something. Good Luck!

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://72315]
help
Chatterbox?
[Eily]: well I had to google translate that
[Eily]: let me inform you that the Dutch reek translate into the Czech páchnout
[Eily]: very useful default translation :P
[Eily]: BTW LanX, you should try typing a few random chars at the beginning of each message. This will prevent expansion :P
[LanX]: qwiud you sthink so?
[LanX]: zxwqbd good idea! :)
LanX embraces his new habit spqopiwjdnq
[ambrus]: qQUkZTmHTuKxStGT- BzTIK9gdudif7TkTLI t3mnF144UaAZjkknXY 8nN-QM19wHBsTrp5vB lEYU_Kksa7X1RIBB4x EWLD5X7SW3jGX5ryfN OMn_yL5FTdQxzjhtyX mKN9sjUCzBNHK5Rrp0 S2WMUvIb1i9aZFgjtq VR0GH1bjPMvm1G16iz hBqc1U6toPd4FbJOFj VsOeT745AN1_pO88rD SRAYKtBZwCZedESZmN mvutrOTHiSNwflB- pRfn_k
[Eily]: so far it seems to work
Your Mother reminds the monks they should be grateful not to share an office, lest they be subjugated to constant inanities like, "Czech please!"

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2017-03-27 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.