Slashdot Mirror


OpenGL in PHP

Neophytus writes "Submitted as an entry into the .geek PHP5 tournament a proof of concept openGL implementation in PHP has been released by Peter 'iridium' Waller. The demonstration (download) shows four items being rendered in realtime by PHP at a not unreasonable 59FPS. The author welcomes feedback with practical uses for this technology." Update: 06/09 01:10 GMT by T : iridiumz0r, author of this entry, adds a link to this informative page responding to a number of comments in the discussion below.

28 of 286 comments (clear)

  1. my favorite game... by AtariMike · · Score: 3, Funny

    How soon till we see a port of Unreal?

    1. Re:my favorite game... by DarkHelmet · · Score: 3, Funny

      Right after the Duke Nukem Forever port.

      --
      /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
  2. Practical uses for this technology by vxvxvxvx · · Score: 5, Funny

    Opengl in php.. well, let's see, you could umm.. sell it to a PHB who doesn't know any better, or make bets with people at the local pub that it can be done and then whip it out to win the bet.

    1. Re:Practical uses for this technology by Doomrat · · Score: 5, Funny

      Opengl in php.. well, let's see, you could umm.. sell it to a PHB who doesn't know any better, or make bets with people at the local pub that it can be done and then whip it out to win the bet.

      You'd have to find a pub full of freaks first, though.

  3. Re:Running This by rat7307 · · Score: 4, Funny

    I'm sure others are thinking, like me, "Huh? PHP in a window, not a server-side script?"

    PHP-GTK baby.... GTK apps written in php..

    Soon php will be used for all kinds of innapropriate uses!!

    Viva PHP!

    --
    Burma?
  4. Do not be fooled by this by Anonymous Coward · · Score: 4, Funny

    cheap implementation. JBoss have a far superior product and this does not even come close to the technical excellence that is JBoss. I do not work for JBoss.

    1. Re:Do not be fooled by this by Anonymous Coward · · Score: 3, Funny
  5. Hrm.. by Anonymous Coward · · Score: 5, Funny

    Maybe I'll just start using my kitchen sink as a bathtub just because I can.

    1. Re:Hrm.. by mrjb · · Score: 2, Funny

      Actually my dad tried this once [using the sink as bathtub] before I was born, according to legend, because the tiny house they bought had no shower-- used the sink as tub and got stuck. If he moved one way he'd turn up the burning hot peel-your-skin-off temperature water, moving the other way he'd turn up the so-cold-it-would-freeze-his-you-know-what-off water. My mom, instead of helping out, ran off to get the photo camera. None of the pictures she took got any good, they were all shaken cause of her laughing....

      --
      Visit http://ringbreak.dnd.utwente.nl/~mrjb/growingbettersoftware to download your free copy of the book
  6. Re:PHP OpenGL on SourceForge by abscondment · · Score: 5, Funny

    This just in:

    Ken Brown of AdTI reports that there's no way this code could have been written in one year. More investigations are planned to see if code was stolen from MINIX.

  7. Two words... by tickticker · · Score: 4, Funny

    ...better pr0n

    --
    This sig doesn't do windows

  8. Feedback by Anonymous Coward · · Score: 2, Funny

    The author welcomes feedback with practical uses for this technology.

    Because he couldn't think of any.

    *ducks*

  9. And I say, by consumer · · Score: 3, Funny

    welcome to the party, PHP.

  10. Re:Using the right tool for the job by chabotc · · Score: 4, Funny

    When you have a hammer, everything looks like a nail!

  11. What about by T-Kir · · Score: 3, Funny

    Soon php will be used for all kinds of innapropriate uses!!

    For a moment I thought of someone writing a PHP script to dynamically generate Perl scripts for web output... just for no real reason

    But then I thought.... Naaaaaa.

    ;)

    P.S. Anything on NeHe about this yet? I did a text search of the front page but nada (I haven't been to the site in months).

    --
    Are you local? There's nothing for you here!
  12. Re:Mod parent down. by ultramk · · Score: 4, Funny

    ... and I doubt they would make it to the front page on Slashdot without someone actually downloading and running them to see what they are.

    Hi, welcome to Slashdot. You must be new here.

    m-

    --
    You catch enchiladas by picking them up behind the head and holding them underwater until they don't kick anymore -VeGas
  13. Re:Running This by PCM2 · · Score: 5, Funny
    Soon php will be used for all kinds of innapropriate uses!!
    Like programming, you mean?

    OOooooooh, FACE!!

    --
    Breakfast served all day!
  14. uh, you read that wrong by theantix · · Score: 4, Funny

    from the they-said-it-couldn't-be-done dept.

    No, that was the "from the they-said-it-shouldn't-be-done dept." It's down the hall to the right, and be sure to knock loudly before entering.

    --
    501 Not Implemented
  15. Cant wait till ads rely on my processor even more! by Moonpie+Madness · · Score: 3, Funny

    think about it, im surfing the web, and some stupid ad comes up and demands my processor and video card take time away from whatever I purchased them to do... arrgh... unless I want to disable all the latest plugins or something, and that's a hassle to my lazy moonpie pudged ass

  16. Re:Running This by jdray · · Score: 4, Funny

    Let me get this straight...

    1. Read story on Slashdot.
    2. Download .zip file to Windows box.
    3. Unzip file.
    4. Execute unknown code.
    5. ????
    6. Pray.

    Is that about it?

    --
    The Spoon
    Updated 6/28/2011
  17. Re:PHP OpenGL on SourceForge by typobox43 · · Score: 4, Funny

    You obviously don't read Slashdot as regularly as you say if you think that a "mess-around" wouldn't make it onto the front page.

  18. Re:Running This by no+longer+myself · · Score: 3, Funny

    It couldn't be anymore dangerous than checking your e-mail in Outlook...

  19. Re:PHP OpenGL on SourceForge by The+Ogre · · Score: 5, Funny

    Please, "not slashdot worthy"? I believe the page that details how to make an Enterprise out of a dead floppy disk made it up here, twice. You got that *BEAT*.

  20. Re:PHP OpenGL on SourceForge by Profane+MuthaFucka · · Score: 3, Funny

    I would have been the author of this thing, but I read Slashdot too fucking much.

    --
    Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
  21. Re:Running This by yerfatma · · Score: 2, Funny

    Close one eye.

  22. Re:Using the right tool for the job by DMUTPeregrine · · Score: 2, Funny

    Everything you just said can be applied to INTERCAL. It's turing complete. It's object oriented. Normally the object being a sledgehammer taken to the inventors, but still an object. It supports inheritance. Thousands have inherited headaches from trying to comprehend it. It has exception handling. The language is an exception, and it can handle printing the word INTERCAL rather without all That much difficulty. Assertions. Very easy in intercal. A large library. Well, there are a good number of libraries. Large community: Well, it's a good size, and anyone who has ever obfuscated code is an INTERCAL user at heart. Also anyone sick of the establishment. So why not INTERCAL? What makes INTERCAL a poor choice as opposed to say perl, python, ruby, vb.net, or any other language whatsoever?

    --
    Not a sentence!
  23. Re:Yet another OpenGL binding by vidarh · · Score: 2, Funny

    It's mean to suggest something like that... Someone now WILL feel they NEED to write OpenGL bindings for BrainF*ck and Bash just because you suggested it and it's perverted enough.

  24. Re:Using the right tool for the job by TheRaven64 · · Score: 2, Funny

    When the only tool you have is a chainsaw, every problem looks like fun.

    --
    I am TheRaven on Soylent News