<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-US>I wrote my own source (like CylinderSource, CubeSource etc.) This works very well. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I set all normals as well as texture coordinates. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Everything works fine and even the Texture gets drawn properly EXCEPT that the last Quad (the Quad with the id 359 if you have a resolution of 360) does not get textured with the actual texture but with some rubbish. (I am not sure: it might be that it repeats the texture or some small condensed part of it)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The texture I am using is one I created using <span style='color:green'>vtkImageCanvasSource2D. </span>This works just fine.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>I think I know what the problem is: when the cylindric surface gets drawn the Point with Id 0 is assinged texture coordinates (0, 0, 0)(Bottom left corner of the texture).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Actually the texture should end at the point with id 1(I hope you can follow me). This Point should have the coordinates (1, 1, 0)(Upper right corner of the texture).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Unfortunately the Point with id 1 gets the coordinates (1, 0, 0) which is also correct, because it should also have the bottom right corner of the texture.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The Problem is, that a point can only have one texture coordinate. As it is in vtkCylinderSource the Point with the id resolution*2-1(In this case 719) &nbsp;gets the upper right corner of the texture.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Is there any smart way to solve this?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I think this problem also exists with vtkCylinderSource?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Thank you,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Kirstin<o:p></o:p></span></p></div></body></html>