Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jakob Westhoff's Blog:
It's alive - Image_3D live browser rendering
Apr 04, 2007 @ 13:32:00

There's plenty of 2D graphics libraries out there, some 3D ones as well, but that hasn't stopped Jakob Westhoff from creating his own driver for the Image_3d package to allow for live 3D image browser rendering.

Quite some time ago my friend Kore Nordmann had a talk at our local PHP Usergroup about 3D rendering techniques which was quite inspiring. Shortly after that talk I decided to write a simple 3D renderer. But, hey there are so many of them already out there, that I decided to do something more unusual.

I just started over and began to write a ECMA Script based live 3D renderer for browsers which understand the new "canvas" tag. After some simple tests I realized that it would be quite cool to implement this as a driver for Kore's Image_3D package, which is entirely written in PHP.

Be sure to check out his post to see what this new driver makes possible. There's an image complete with controls to rotate, zoom, turn of its axis and export to both the SVG and PNG formats. Definitely work checking out!

tagged: 3d image render browser driver package rotate zoom export 3d image render browser driver package rotate zoom export

Link:

Jakob Westhoff's Blog:
It's alive - Image_3D live browser rendering
Apr 04, 2007 @ 13:32:00

There's plenty of 2D graphics libraries out there, some 3D ones as well, but that hasn't stopped Jakob Westhoff from creating his own driver for the Image_3d package to allow for live 3D image browser rendering.

Quite some time ago my friend Kore Nordmann had a talk at our local PHP Usergroup about 3D rendering techniques which was quite inspiring. Shortly after that talk I decided to write a simple 3D renderer. But, hey there are so many of them already out there, that I decided to do something more unusual.

I just started over and began to write a ECMA Script based live 3D renderer for browsers which understand the new "canvas" tag. After some simple tests I realized that it would be quite cool to implement this as a driver for Kore's Image_3D package, which is entirely written in PHP.

Be sure to check out his post to see what this new driver makes possible. There's an image complete with controls to rotate, zoom, turn of its axis and export to both the SVG and PNG formats. Definitely work checking out!

tagged: 3d image render browser driver package rotate zoom export 3d image render browser driver package rotate zoom export

Link:

ASys DataService's Blog:
Rounded corners using PHP and the GD library
Jan 25, 2006 @ 19:01:50

On ASys DataService's blog, there's an article posted about creating rounded corners on your images with a little help from the PHP GD libraries.

I needed to add rounded corners to some pictures and didn't want to modify the source files in Photoshop (I think it's a bad idea to modify original pictures if the effect can be added dynamically).

That's when I decided to use the GD library, which I had found very useful in other projects. I'm not saying that this solution is perfect or better that others, but it has worked very well for me, and I hope it will be useful to some of you as well. Feel free to contact me if you have any comment about this code.

He briefly describes the code, noting where you can make config changes based on your needs. After that, it's all code, a procedural script that takes in any file and spits back out a custom rounded-corners image with your chosen settings. He even gives a PNG file of the rounded corner to use...

tagged: rounded corners GD library png image rotate rounded corners GD library png image rotate

Link:

ASys DataService's Blog:
Rounded corners using PHP and the GD library
Jan 25, 2006 @ 19:01:50

On ASys DataService's blog, there's an article posted about creating rounded corners on your images with a little help from the PHP GD libraries.

I needed to add rounded corners to some pictures and didn't want to modify the source files in Photoshop (I think it's a bad idea to modify original pictures if the effect can be added dynamically).

That's when I decided to use the GD library, which I had found very useful in other projects. I'm not saying that this solution is perfect or better that others, but it has worked very well for me, and I hope it will be useful to some of you as well. Feel free to contact me if you have any comment about this code.

He briefly describes the code, noting where you can make config changes based on your needs. After that, it's all code, a procedural script that takes in any file and spits back out a custom rounded-corners image with your chosen settings. He even gives a PNG file of the rounded corner to use...

tagged: rounded corners GD library png image rotate rounded corners GD library png image rotate

Link:


Trending Topics: