开发者

3D texturing with PHP

I want to generate this http://de.novumpro.com/typo3temp/pics/0512014950.jpg http://de.novumpro.com/typo3temp/pics/0512014950.jpg with PHP and two source images: gray book background and book cover texture (front-facing, not rotated).

Combining two images would not be a problem with GD, but I n开发者_运维百科eed to 3D rotate the book cover first.

Image_3D doesn't do texturing.

Will ImageMagic help me?

Any other options?


all you need to do is skew the image, like How would I skew an image with GD Library?


Real 3D is out of the question with ImageMagick, but faking it (i.e. skewing and rotating bitmaps so they fit) is possible. See e.g. this IM Forum thread.

See also the distortion chapter in the IM examples book.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜