PDA

View Full Version : how to map an image onto an irregular 3d object?



Alison
07-15-2008, 02:59 PM
Hello,

I was asked to map an image to a heart model whose shape is irregular. Could anyone please give me some idea how to do this?
Is this possible?
Thanks a lot
Alison

ZbuffeR
07-15-2008, 03:39 PM
The keyword you search for is "unwrapping".
A good technique is "Least Squares Conformal Mapping", abreviated as LSCM.
The Blender 3D package has good tools to help artists unwrap sucessfully any sort of meshes, even the most complex ones.
http://wiki.blender.org/index.php/Manual/Unwrapping_a_Mesh

If you prefer simpler concepts, depending on the complexity of the mesh, a simple spherical or cubic mapping can be enough.

By the way, this is not really an opengl subject, more a "Math & Algorithms" one.

Alison
07-15-2008, 04:23 PM
Hi Zbuffer,
Thanks for the reply.
I will take some time read the link first. If i still have questions, i will post another thread in "Math & Algorithms" forum.