Texture Mapping on irregular mesh

glHi,

I have a model which looks more or less like that:
I…I
I…I
I.II.I
I.I
I.I
I.II.I
I.I
I.I
I.I~~I.I

Legend:
I -> Border of Model
. -> Inside Model
~ -> Outside Model

The other thing is the model isn’t flat. The texture I have is the same size as the model (but still power of 2).
What would be the fastest way to compute the UV-Coordinates?

glThanks,

Martin