Set Bitmap Texture on the specific polygon

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Set Bitmap Texture on the specific polygon

farshidABZ
This post has NOT been accepted by the mailing list yet.
I'm working on texture mapping in PCL and I want to implement my texture mapping method. for this matter I have a PLY file with includes some vertices and a face (a triangle) and I have an image for them.

I found points UV coordinates on image. I crop the image and copy that to a sub image.

Now I have a sub image and a polygon.

but I don't know how can I set polygon's texture or how can I set this polygon's image.