Reply to Re: Tattoo simulation using PHP

Your name:

Reply:


Posted by Steve on 10/09/05 01:06

> I would like to create an application where the user enters some text
> and the text is displayed on a photo of person as a tattoo.

> I have already used the "text on image" capability of GD but it doesn't
> look real enough.

The reason it doesn't look realistic is because you are projecting a
flat tattoo image onto a curved bodypart. Depending on where the tattoo
is intended to go (please, don't tell me, it would only upset me) you
should alter the tattoo image after the basic text has been created.
Doing it rather simplistically, a cylindrical projection would make it
look as if it had been wrapped around - say - a forearm; a spherical
projection would look OK on top of a shoulder, and so on. The
transformations can be found in any online tutorial on 3D graphics
manipulation.

---
Steve

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация