<DIV>Hi again Marc,</DIV> <DIV> </DIV> <DIV>I tried the vtkQuadricDecimation Filter with various target reductions -- 0.2, 0.5, 0.8, 0.9.</DIV> <DIV> </DIV> <DIV>But if i decimate using this filter and then try to display with the texture.........the texture does not show up at all.</DIV> <DIV> </DIV> <DIV>It looks like it is displayed in uniform color.</DIV> <DIV> </DIV> <DIV>Waiting for your reply.</DIV> <DIV> </DIV> <DIV>Regards,</DIV> <DIV> </DIV> <DIV>Deepak</DIV> <DIV><BR><BR><B><I>Marc Cotran <marc@cotran.ca></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Deepak Roy wrote:<BR><BR>> But when i visualize these surface models, in third party vrml viewers <BR>> the texture comes out well. Its only in my program that i find these <BR>> pattern of cracks.<BR>> What do you think could be the problem ?<BR><BR>Hi again Deepak,<BR><BR>Something
you could try... Run your vtkPolyData through the <BR>vtkQuadricDecimation filter with an insignificant target reduction. I <BR>was able to clean up some of my models using this technique, though <BR>still haven't figured out *why* it works.<BR><BR>hth<BR><BR>Marc<BR><BR>><BR>> */Marc Cotran <MARC@COTRAN.CA>/* wrote:<BR>><BR>> Hi Deepak,<BR>><BR>> I had experienced similar results before and concluded that the<BR>> polygon<BR>> normals were the culprit. I would suggest visualizing the polydata<BR>> mesh<BR>> in wireframe to see if some of your polygons are oriented opposite to<BR>> the others. I am not sure this is what you're dealing with, but it<BR>> might<BR>> explain your problem. As for a potential solution... I am at a loss.<BR>><BR>> Should you figure out the problem, I'd love to know the solution.<BR>><BR>> HTH,<BR>><BR>> Marc<BR>><BR>> Deepak Roy wrote:<BR>> ><BR>> > Hello everyone,<BR>>
><BR>> > I have had a hard time trying to fix this texture display problem.<BR>> ><BR>> > Attached is a part of the texture image i am using for the human<BR>> body.<BR>> > I have removed the face and other parts due to some identity<BR>> revealment<BR>> > problems.<BR>> ><BR>> > But the image gives an idea of the problem i am facing. Look at the<BR>> > image and you will see the cracks on the texture.<BR>> ><BR>> > when i visualize the same model in some other standard graphics<BR>> software<BR>> > like Rapid Forms, the texture shows up with out any cracks.<BR>> ><BR>> > I have tried all the possible options with vtkTexture but still<BR>> i could<BR>> > not fix the problem.<BR>> ><BR>> > /"Can anyone explain this phenomenon ? "/<BR>> ><BR>> > One more point to note, which i also mentioned in my previous<BR>> posting to<BR>> > the mailing list, is that
exactly the same pattern of cracks<BR>> appear in<BR>> > every model i load.<BR>> ><BR>> > I suspect, it is got to do with clamping or interpolation.<BR>> ><BR>> > Please help me fix this problem.<BR>> ><BR>> > Thanks in Advance.<BR>> ><BR>> > Regards,<BR>> ><BR>> > Deepak Roy<BR>> ><BR>> ><BR>> ><BR>> ><BR>> > Yahoo! Music Unlimited - Access over 1 million songs. Try it free.<BR>> ><BR>> ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> ><BR>> > Subject:<BR>> > Texture Mapping Problem....Please Help !!!!!<BR>> > From:<BR>> > Deepak Roy<BR>> > Date:<BR>> > Fri, 14 Oct 2005 15:42:33 -0700 (PDT)<BR>> > To:<BR>> > vtkusers@vtk.org<BR>> ><BR>> > To:<BR>> > vtkusers@vtk.org<BR>> ><BR>> ><BR>> > Hi,<BR>> ><BR>> > I am trying to
displaying a 3D surface of a human body with<BR>> texture, all<BR>> > captured from a 3D scan. I am using vtkTecture to assosciate the<BR>> actor<BR>> > with the texture.<BR>> ><BR>> > The problem is:<BR>> ><BR>> > I see a pattern of cracks on surface when displayed with<BR>> texture. These<BR>> > cracks are not present in the basic geometry of the model as the<BR>> surface<BR>> > when visualised without texture appears fine and smooth. I am<BR>> 100% sure<BR>> > that this is the problem with texture mapping.<BR>> ><BR>> > One more thing that was wierd was that i see more or less the same<BR>> > pattern of tracks on each model i display.<BR>> ><BR>> > Could anyone explain the reason why this is happening?<BR>> ><BR>> > I guess the problem is with the edge clamping used while mapping<BR>> the<BR>> > texture. But vtkTexture does not give me any control on how
to<BR>> change<BR>> > these parameters.<BR>> ><BR>> > How can i change the these parameters and control the way texture<BR>> > mapping is done. Is there an easy way to do this?<BR>> ><BR>> > Thanks in Advance.<BR>> ><BR>> > Regards<BR>> ><BR>> > Deepak<BR>> ><BR>> ><BR>> > Yahoo! Music Unlimited - Access over 1 million songs. Try it free.<BR>> ><BR>> ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> ><BR>> ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> ><BR>> > _______________________________________________<BR>> > This is the private VTK discussion list.<BR>> > Please keep messages on-topic. Check the FAQ at:<BR>> http://www.vtk.org/Wiki/VTK_FAQ<BR>> > Follow this link to subscribe/unsubscribe:<BR>> >
http://www.vtk.org/mailman/listinfo/vtkusers<BR>><BR>><BR>> Yahoo! Photos – Showcase holiday pictures in hardcover<BR>> Photo Books <BR>> <HTTP: evt="38088/*http://pg.photos.yahoo.com/ph//page?.file=photobook_splash.html" us.rd.yahoo.com *http: pa.yahoo.com photos taglines mail_us photobooks>. <BR>> You design it and we’ll bind it! <BR><BR><BR></BLOCKQUOTE> <DIV><BR></DIV><p>
        
                <hr size=1>Yahoo! Photos<br>
Got holiday prints? <a href="http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*http://pg.photos.yahoo.com/ph//print_splash">See all the ways</a> to get quality prints in your hands ASAP.