[vtkusers] Mapping a texture to a cylinder

feynman manfeyn at gmail.com
Mon Sep 26 06:24:44 EDT 2016


I mapped a picture to the cylinder now. It turns out the picture is mapped
twice.
[image: Inline image 1]

On Mon, Sep 26, 2016 at 5:42 PM, feynman <manfeyn at gmail.com> wrote:

> 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/23f7edbf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 138921 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160926/23f7edbf/attachment-0002.png>
-------------- 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/23f7edbf/attachment-0003.png>


More information about the vtkusers mailing list