# how to generate vtkTexture?

**URL:** https://discourse.vtk.org/t/how-to-generate-vtktexture/6924
**Category:** Support
**Created:** [October 20, 2021, 9:10am UTC](https://discourse.vtk.org/t/how-to-generate-vtktexture/6924 "2021-10-20T09:10:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![junqiangchen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/junqiangchen/32/4087_2.png) [@junqiangchen](https://discourse.vtk.org/u/junqiangchen)
#### Post date: [October 20, 2021, 9:10am UTC](https://discourse.vtk.org/t/how-to-generate-vtktexture/6924/1 "2021-10-20T09:10:12Z")

</div>

Hi,i want generate virtual bracket.i have generated the virtual cylinder,like this:

 ![微信图片_20211020165542](https://discourse.vtk.org/uploads/default/original/2X/e/ec40f21644907fcefb845d79534d511da88b4eb4.png)  
but i want to put texture on cylinder,just like this,  
 ![微信图片_20211020165529](https://discourse.vtk.org/uploads/default/original/2X/3/302307af527535417da38625ee04913f929e0330.png)  
here i have the bracket stl file,like this:  
 ![微信图片_20211020170849](https://discourse.vtk.org/uploads/default/original/2X/3/3132d22c8ab271c94bfc2b7e7fcfd94ef0e17bfe.jpeg)  
so,is there any methods to convert the stl to vtkTexture ?  
thank you!
