# How to apply texture to surface with TCoords?

**URL:** https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330
**Category:** ParaView Support
**Created:** [February 3, 2023, 9:14pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330 "2023-02-03T21:14:15Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![rexthor](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@rexthor](https://discourse.paraview.org/u/rexthor)
#### Post date: [February 3, 2023, 9:14pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/1 "2023-02-03T21:14:15Z")

</div>

I have a legacy VTK file that has a vtkPolyData stored in it. The surface has texture coordinates. I was trying to load the texture asset, [like it says in the documentation](https://www.paraview.org/Wiki/ParaView:Texture#:~:text=ParaView%20supports%20basic%20texture%2Dmapping,coordinates%20for%20datasets%20without%20them.)), but there is no option in Paraview 5.11.0 to do this?

Plz help …

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 6, 2023, 10:15am UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/2 "2023-02-06T10:15:42Z")

</div>

This wiki seems vey much out of date. here is how to do it:

[/uploads/default/original/2X/f/f73d00ec3d7439b9c8ebefba539f6ad9d041640f.mp4](https://discourse.paraview.org/uploads/default/original/2X/f/f73d00ec3d7439b9c8ebefba539f6ad9d041640f.mp4)

---

<div class="post-metadata">

### Author: ![rexthor](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@rexthor](https://discourse.paraview.org/u/rexthor)
#### Post date: [February 6, 2023, 1:30pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/3 "2023-02-06T13:30:52Z")

</div>

Wow, a movie, neat.

Ok, it appears that for this particular object, that option isn’t available. I have a legacy VTK file that loads correctly and shows up as “Polygonal Mesh.” There are data arrays recognized as well (normals and tcoords). I can get the normal vectors to show up with a Glyph filter, and they look correct. The texture coordinates (magnitude) show up as a coloring option and look … well … like they are texture coordinates.

Is the “Texturing” option only available for vtkSource, but not necessarily for vtkPolyData?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 6, 2023, 2:24pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/4 "2023-02-06T14:24:36Z")

</div>

It should be available, please share your data.

---

<div class="post-metadata">

### Author: ![rexthor](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@rexthor](https://discourse.paraview.org/u/rexthor)
#### Post date: [February 6, 2023, 2:51pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/5 "2023-02-06T14:51:34Z")

</div>

Ok - I’m using Paraview 5.11.0, downloaded … like a week or so ago.

Well, here is another file I could send that has the same problems for me: the [Utah teapot](https://commons.wikimedia.org/wiki/File:Utah_teapot_(solid).stl). I loaded it in, filtered it with `TextureMaptoSphere`. It does indeed generate texture coordinates … but when I go to apply a texture, like in your movie, I don’t have those options available.

For “Properties (TextureMaptoSphere1)” I get (only):  
Prevent Seam.

If I use “my” data (which is too big to send), I don’t have any properties available at all.

If I reset the session and add a new plane source like you did in the movie, after I click “Apply” … the only properties that I have available are:

- Origin
- Point1
- Point2
- X Resolution
- Y Resolution

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 6, 2023, 3:01pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/6 "2023-02-06T15:01:43Z")

</div>

> [@rexthor](#):
>
> `TextureMaptoSphere`

Well, the teapot is not a sphere. That being said, the option should still be available even if the rendering may not be as expected:

---

<div class="post-metadata">

### Author: ![rexthor](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@rexthor](https://discourse.paraview.org/u/rexthor)
#### Post date: [February 6, 2023, 3:05pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/7 "2023-02-06T15:05:23Z")

</div>

![image](https://discourse.paraview.org/uploads/default/original/2X/6/69e2dda8ed740f922a745aaa6fe5eaf7fc2b9f07.png)

Am I just using the wrong version of Paraview or something? Because your lighting section has a lot more options than mine does.

---

<div class="post-metadata">

### Author: ![rexthor](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@rexthor](https://discourse.paraview.org/u/rexthor)
#### Post date: [February 6, 2023, 6:34pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/8 "2023-02-06T18:34:11Z")

</div>

@mwestphal, I even tried to reproduce your plane example - I never get a set of controls like you show that allows me to pick a texture. Is there something special I have to select to get that?

---

<div class="post-metadata">

### Author: ![rexthor](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@rexthor](https://discourse.paraview.org/u/rexthor)
#### Post date: [February 6, 2023, 8:25pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/9 "2023-02-06T20:25:33Z")

</div>

Can anyone help me out with a download link to the version that @mwestphal is using in his videos? I downloaded 5.11.0, as shown in my screenshot - and none of the texture options are available to me. His lighting section starts off with interpolation, mine starts off with specular. It appears that he is using a different version than that which is available for download at this time?

Seems like it would be simple to just tell me what version was used?

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [February 6, 2023, 8:47pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/10 "2023-02-06T20:47:18Z")

</div>

Hi Rexthor,  
There are two Properties tabs. One is the default, basic, the other is advanced. Mathieu forgot to mention that he is using an advanced tab while you are using a basic tab. We are hiding the overwhelming amount of controls by default, but still make them available if needed in the advanced tab.

To the right of the search box at the top of the Properties tab, there is a gear icon. Click that. You now have an advanced Properites tab.

Alan

---

<div class="post-metadata">

### Author: ![rexthor](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@rexthor](https://discourse.paraview.org/u/rexthor)
#### Post date: [February 6, 2023, 8:50pm UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/11 "2023-02-06T20:50:39Z")

</div>

Thanks!!  
You guys saved me a bunch of extra coding.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 7, 2023, 8:48am UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/12 "2023-02-07T08:48:56Z")

</div>

Thanks @wascott , for some reason it did not cross my mind.

For reference:

> [@I can't find an option/parameter/control in a dialog, or tab (such as the Properties tab)](https://discourse.paraview.org/t/i-cant-find-an-option-parameter-control-in-a-dialog-or-tab-such-as-the-properties-tab/4512):
>
> Make sure to enable the advanced option by clicking on the gear icon: [2020-05-24-111301\_31x30\_scrot]

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 29, 2024, 7:35am UTC](https://discourse.paraview.org/t/how-to-apply-texture-to-surface-with-tcoords/11330/13 "2024-03-29T07:35:32Z")

</div>

A post was split to a new topic: [How to use PBR rendering ?](https://discourse.paraview.org/t/how-to-use-pbr-rendering/14294)
