|
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
Navigation:
[Reply to this message]
|