The IBM developerWorks site has posted a tutorial covering the generation of 3D Images inside PHP - with the help of the Image_3D PEAR package, of course.
PHP, a language originally intended for Web development, has been used for years to manage dynamic Web sites and database applications. Extensions to the language available through the PHP Extension and Application Repository (PEAR) have allowed developers to take the language in new and interesting directions.
PEAR's Image_3D package is an object-oriented interface for creating three-dimensional (3-D) graphics in a variety of formats, including PNG and SVG, two image formats with increasing support by modern Web browsers. Find out how to use the Image_3D package, learn the limitations of using dynamic 3-D images, and investigate solutions and practical applications of 3-D graphics.
You'll have to log in to get at the actual tutorial, but it's full of good info and code to get you started. You'll need a bit of knowledge of object-oriented programming to really get a handle on it, and a shell prompt (Windows or Linux) will be needed to run some of the examples.