<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to use the texture mapping in VTK. For
example, I have some geometry shapes like triangle cells, for each vertex, we
have different texture coordinate. So I want to set each point's coordinate like
common OpenGL routine. But I find VTK only have <A class=el
href="mk:@MSITStore:C:\DVS\VTKDoc-4.2.chm::/classvtkTextureMapToPlane.html">vtkTextureMapToPlane</A>
<A class=el
href="mk:@MSITStore:C:\DVS\VTKDoc-4.2.chm::/classvtkTextureMapToSphere.html">vtkTextureMapToSphere</A>
vtkTextureMapToBox vtkTransformTexture <A class=el
href="mk:@MSITStore:C:\DVS\VTKDoc-4.2.chm::/classvtkThresholdTextureCoords.html">vtkThresholdTextureCoords</A>.
So which one should be used for assign each point's coordinates? Anyone can
provide a simple example for two triangles with user-specified texture
coordinate?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hui Zhang</FONT></DIV></BODY></HTML>