0 Replies Latest reply on Feb 5, 2016 4:40 PM by Manikantan Nambi

    How can I find pixel position for a texture image for each tessellation triangle vertex?

    Manikantan Nambi

      IFace2::GetTessTextures() gives the texture coordinates for tessellation triangles. How do these relate to pixel position for a texture image?


      The values I am getting from this function do not seem to make sense to me. For instance, when mapping an image to the face of a cube, the values returned by GetTessTextures() are (0.2, 0.7), (0.7, 0.7), and (0.7, 0.2). I would expect these to be (0, 1), (1, 1), and (1, 0) which is then scaled according to the size of an image.