tags:

views:

77

answers:

1

I am working on shopping cart. pls follow the link www.photohaat.com In the mug section whenever the user upload the image i want to wrap the complete image onto the mug so that he/she will saw the final output immediately.

we develop this shopping cart on PHP language.

I am trying to resolve this problem but unfortunately can't get a success.

If you have any solutions regarding this than please let me know.

Thanks & Regards Sachin Jain

+1  A: 

I'm pretty sure there is Linux 3D/Raytracing software that can do what you need, but I don't know any easy way.

Maybe ImageMagick can be of help (only maybe, because IM is focused on 2D image manipulation.)

There is an example of cylindrical mapping that might serve as base for your needs. It also might not, it could well be that it is too limited (no real 3D possibilities of changing the axis, perspective, etc.)

Update: There's also Cylinderize, a script for ImageMagick. It's not true 3D either, but looks pretty interesting:

alt text alt text

Pekka
I am following that cylinderize script but how can i use it coz i am working in PHP and that script follows the command line.
Sachin jain
@Sachin http://de2.php.net/exec
Pekka
Still i am not get any idea how to use cylinderize script on windows b'coz this scripts are written in linux. how can i use image magick script on windows??Is GD library of php will help to me??
Sachin jain
@Sachin ImageMagick is available for Windows. Check the downloads section.
Pekka