[vtkusers] Missing texture file in vtkTexturedSphere example?
bebe0705 at colorado.edu
Fri Oct 28 21:26:04 EDT 2016
I have been trying to map a 2D texture onto a spherical surface following
the tutorial on vtkTexturedSphere
Unfortunately, no information on the image used in this example (dimensions,
image pre-processing , not to mention the actual file) is provided to the
user. Applying the example code to an arbitrary rectangular image results in
an incorrect results, as if the texture image was wrapped multiple times
around the sphere.
I'm thinking that the input file used in the example was probably applied
some sort of transform before being fed to vtk. I tried to use the SetScale
method in vtkTexturedSphere, to no avail (I honestly don't know which way to
Any advice as to how I could get rid of the wrapping discrepancies using a
rectangular image such as this one
View this message in context: http://vtk.1045678.n5.nabble.com/Missing-texture-file-in-vtkTexturedSphere-example-tp5740971.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers