[vtkusers] Mapping a texture to a cylinder
feynman
manfeyn at gmail.com
Mon Sep 26 05:42:22 EDT 2016
Hi guys:
I am trying to map a texture to a cylinder. I followed the
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/TextureMapPlane and
here is my codes: http://pastebin.com/T0H0tZJL .
Everything works fine except there is two lines on the cylinder. It seems
like the texture is mapped twice.
[image: Inline image 1]
Is there something I missed?
Thanks for any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160926/6375fbc9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 49040 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160926/6375fbc9/attachment.png>
More information about the vtkusers
mailing list