Slashdot Mirror


Programmer Unveils OpenGL Bindings for Bash (opensource.com)

Slashdot reader silverdirk writes: Compiled languages have long provided access to the OpenGL API, and even most scripting languages have had OpenGL bindings for a decade or more. But, one significant language missing from the list is our old friend/nemesis Bash. But worry no longer! Now you can create your dazzling 3D visuals right from the comfort of your command line!
"You'll need a system with both Bash and OpenGL support to experience it firsthand," explains software engineer Michael Conrad, who created the first version 13 years ago as "the sixth in a series of 'Abuse of Technology' projects," after "having my technical sensibilities offended that someone had written a real-time video game in Perl.

"Back then, my primary language was C++, and I was studying OpenGL for video game purposes. I declared to my friends that the only thing worse would be if it had been 3D and written in Bash. Having said the idea out loud, it kept prodding me, and I eventually decided to give it a try to one-up the 'awfulness'..."

5 of 47 comments (clear)

  1. Dang it, I was hoping for 3D Accerlerated Bash by rsilvergun · · Score: 4, Funny

    imagine Fortune at 60 fps with 16x SOAA, God rays on Ultra and hair works. It would be glorious.

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
  2. Gtk Server, anyone? by K.+S.+Kyosuke · · Score: 2

    I thought that the Gtk Server allowed one to use GtkGlArea in scripts.

    --
    Ezekiel 23:20
  3. Maybe by PPH · · Score: 4, Insightful

    In the hands of responsible programmers. But what happens if you need to run a bash script from a character based console?

    Too many simple utilities have morphed from: Here's a command-line tool, and here's an optional graphical UI that runs on top of it. Next, we'll merge the graphics right into the basic tool's codebase. So you need to link every hair-brained graphics lib to build it. Finally, the damned thing will refuse to run (even if you use all the text-only command line switches) if it can't find a bitmapped display.

    --
    Have gnu, will travel.
  4. brace yourself by lucm · · Score: 4, Funny

    Command-line ads are coming

    --
    lucm, indeed.
  5. Re:Which version of OpenGL? by ArchieBunker · · Score: 2

    Don't AMD and Nvidia both have different OpenGL implementations?

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard