[vtkusers] Can we apply texture to the output of a vtkTubeFilter

Hal Canary hal at cs.unc.edu
Mon May 13 07:22:50 EDT 2013


Yes. This is a three-step process. First, apply texture coordinated to the tube. (vtkTextureMapToCylinder may be exactly what you want.)

Second, load the texture into memory using vtkTexture.

Finally, use vtkActor::SetTexture to associate the texture with the actor. 

On May 13, 2013, at 5:02 AM, Divya  wrote:

> Can we apply texture to the output of a vtkTubeFilter? Please help..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130513/7006f1ed/attachment.htm>


More information about the vtkusers mailing list