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.

13 of 286 comments (clear)

  1. PHP OpenGL on SourceForge by mdrejhon · · Score: 5, Interesting

    Very impressive -- A while back I heard about PHPOpenGL.

    But he didn't even use this at all! Pretty self contained, even to the gzipped uuencoded DLL file embedded in this PHP script whose sole purpose is to create the window that this PHP demo needs for the 3D graphics.

    1. 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.

    2. Re:PHP OpenGL on SourceForge by iridiumz0r · · Score: 5, Informative

      I'm the author of this thing. I read slashdot quite regularly and I'm very suprised this found it's way here. In my opinion it is not slashdot worthy. It relies on lots of experimental stuff, and is just generally not up to production standard. It was my mess-around one afternoon when I should have been studying. I entered it into the competition because I wanted to do something different. I chose intentionally not to use PHP-GTK for various reasons. I wanted to start out from scratch and see if I can do everything myself. It was not my intention to do this all 'properly' as such.

    3. Re:PHP OpenGL on SourceForge by iridiumz0r · · Score: 5, Interesting

      I didn't think anyone would submit it. I didn't. But, I suppose I'm not suprised it reached it if someone were to submit it.

    4. 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*.

  2. Using the right tool for the job by Cardinal · · Score: 5, Insightful

    ...Is truly a lost art.

    Of course, we already knew this.

  3. 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.

  4. Correct me if I'm wrong, but... by Anonymous Coward · · Score: 5, Informative

    This actually isn't an "OpenGL implementation". It just calls OpenGL func in win32 environment.

  5. Hrm.. by Anonymous Coward · · Score: 5, Funny

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

  6. Perfect application by Capt'n+Hector · · Score: 5, Interesting

    I've joined a group at LBNL (berkeley lab) that could use this. They have a database of molecular data, and they need a way to visualize it using a web interface.

    --
    Quid festinatio swallonis est aetherfuga inonusti?
    Africus aut Europaeus?
  7. This is NOT Server-side by cbrocious · · Score: 5, Informative

    Just from reading a few comments, I see people still believe PHP is only server-side. This is all client-side. No server is neccesary. This is just like php-gtk, and the old php_opengl implimentation.

    --
    Disconnect and self-destruct, one bullet at a time.
  8. 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!