<P>
&nbsp; <BR>
Hi,<BR>
<BR>
I donno whether the question I am asking is very complex or very trivial but i hope somebody helps me.<BR>
<BR>
I have a vtk file with 3d co-ordinates to make a face.I also have texture co-ordinates in 2d but the number of texture co-ordinates are more than the number of 3d co-ordinates. I also have a .ppm file for texture mapping.<BR>
I also have a texture index file in the format. <BR>
0 1 2<BR>
2 1 3<BR>
.....<BR>
This set is the same number as the cells i have in the vtk file. i.e if i have about 40,000 triangle strips in the vtk file then there are 40,000 such triangle indices in the texture index file too...<BR>
<BR>
This texture index 0 1 2 means the triangle with points 0 1 2 shud hv the texture co-ordinates as the 0th texture co-ordinate, 1th texture co-ordinate and 2nd texture co-ordinate.<BR>
<BR>
I have seen that the vtk file takes texture co-ordinate as part of the attributes but I donno how to include the texture indices.<BR>
<BR>
Another place where i am facing a problem is the texture co-ordinates i am having are almost 4 times more than the points i have. So when i am running the program i am getting the error <BR>
&quot;vtkPolyDataReader (013AA920): Number of points don't match number data values!&quot;<BR>
<BR>
I am in a fix as to what i shud do.<BR>
Its a little urgent.<BR>
<BR>
Can anyone please help me<BR>
<BR>
Regards<BR>
Kirthi<BR>
<BR>
<BR>

</P>


<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>