[vtkusers] Seams in textures

Thompson, David C dcthomp at sandia.gov
Sat Dec 6 22:40:43 EST 2008


A few weeks ago, texture edge clamping was added to vtkTexture. If
you are using the CVS head of VTK (as opposed to a stable release),
you might try EdgeClampOn() + RepeatOff() on your texture.

    David
________________________________________
From: vtkusers-bounces at vtk.org [vtkusers-bounces at vtk.org] On Behalf Of Matthias Riechmann [riechmann at ira.uka.de]
Sent: Saturday, December 06, 2008 16:23
To: vtkusers at vtk.org
Subject: [vtkusers] Seams in textures

Hi,

I applied a cylindrical texture mapping to a polydata in order to render
a texturized object. So far it works quite well but at the border
between the texture coordinates 1.0 and 0.0 there is some stragne
behavior. The class vtkTextureMapToCylinder calls this "seam" and tries
to solve this by adding a mirrored instance of the texture. But in my
case I neet to apply an exact texture without any mirroring and
duplicating. Does VTK provide any way of solving this issue? Or do I
have to accept this as a feature of VTK?


Matthias




--
Dipl.-Inform. Matthias Riechmann
Institut für Prozessrechentechnik, Automation und Robotik
Medizin-Gruppe
Universität Karlsruhe (TH)
Gebäude 40.28, Zimmer 103
Engler-Bunte-Ring 8
76131 Karlsruhe

Fon: +49 (721) 608-4049
Fax: +49 (721) 608-7141

Web: http://wwwipr.ira.uka.de/~richmann




More information about the vtkusers mailing list