Texture Mapping

How could I do the texture mapping by myself other than AIS_TexturedShape,which seems lack of flexibility. for example, I need to map a texture on a TopoDS_Face of a Box, I want to pick the four vertexs in order and assign each to different texture coordinate? what should i do?

zhangzhigang824's picture

Have you solve it yet? I meet with the same problem.

When I use AIS_TexturedShape to do texture mapping, how to assign different texture coordinate?
Just like OpenGL functions, for example:

glTexCoord2f(0.0f, 1.0f);

Who can help me? Thanks in advance.