# UV Mapping and Displacement, please, can someone tell me the correct way to work?

**URL:** <https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557>\
**Category:** Rhino\
**Tags:** windows\
**Created:** [May 3, 2021, 2:13pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557 "2021-05-03T14:13:52Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![leandro.arquivos3d](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/leandro.arquivos3d/32/490564_2.png) [@leandro.arquivos3d](https://discourse.mcneel.com/u/leandro.arquivos3d)\
**Post date:** [May 3, 2021, 2:13pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/1 "2021-05-03T14:13:52Z")

</div>

[UV Test.zip](https://discourse.mcneel.com/uploads/short-url/eWHIQGrOfAgfXLntjfLO6YuteNX.zip) (2.5 MB)  
Please, can someone tell me the correct way to work?  
Map the polysurface correctly and work with Displacement, using the model and image as an example.  
I will be very grateful for your help.  
Leandro

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [May 3, 2021, 6:04pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/2 "2021-05-03T18:04:26Z")

</div>

Hi Leandro - the mapping seems OK, but one thing to notice is that the image is quite low resolution at the level of a single repeat of the pattern  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/a/3/ea39f79432442fb5f1554074b1c8191c1c9b3d39.png)

Which will show up as a sort of pixelation on the displacement-  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/8/9/c89d200602445357a05ff489e72556ba0a31d22c.jpeg)

it might be better to create a higher resolution image of just one cell - it can be a much smaller image overall I would guess, then set the pattern to repeat in Rhino.

![Displacement test](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/9/6/5/965af118c1d6a6c033fe303ab2c993aeb1412f56.png)

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/f/a/3fafd6a71aa946cf38ec8d033492ecc489fa9e89.jpeg)

But I suspect the real question is how to get the repeat and sizing correct, right?

-Pascal

---

<div class="post-metadata">

**Author:** ![leandro.arquivos3d](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/leandro.arquivos3d/32/490564_2.png) [@leandro.arquivos3d](https://discourse.mcneel.com/u/leandro.arquivos3d)\
**Post date:** [May 3, 2021, 6:32pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/3 "2021-05-03T18:32:55Z")

</div>

Pascal,  
My question really is how to correctly allocate to map the model, attached.  
My job always involves polysurfaces, and finding a way to open it up and find UV’s for each other has taken my sleep away.  
If you can help me, showing which method to map correctly, it will be of great help.  
On the image, just a mere example.  
Thanks

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [May 3, 2021, 6:50pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/4 "2021-05-03T18:50:50Z")

</div>

Hello - does this file look about right to you?

[TEST - A\_maybe.3dm](https://discourse.mcneel.com/uploads/short-url/peU5vrptbecBaVsuiSIKxSHJAKt.3dm) (923.9 KB)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/2/d/f2db3a344e84324823e4ab6b1e731922a62153b6.jpeg)

-Pascal

---

<div class="post-metadata">

**Author:** ![leandro.arquivos3d](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/leandro.arquivos3d/32/490564_2.png) [@leandro.arquivos3d](https://discourse.mcneel.com/u/leandro.arquivos3d)\
**Post date:** [May 3, 2021, 7:14pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/5 "2021-05-03T19:14:37Z")

</div>

YES !!! … Exactly as I imagined it needs to be.

Can you show me how you got this result?

I noticed that it made a support surface. but…

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [May 3, 2021, 7:16pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/6 "2021-05-03T19:16:40Z")

</div>

Hi Leandro - the key thing is that custom mapping surface - that is what is providing the even distribution of the texture - I’ll make a few images to show the process shortly.

-Pascal

---

<div class="post-metadata">

**Author:** ![leandro.arquivos3d](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/leandro.arquivos3d/32/490564_2.png) [@leandro.arquivos3d](https://discourse.mcneel.com/u/leandro.arquivos3d)\
**Post date:** [May 3, 2021, 7:18pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/7 "2021-05-03T19:18:59Z")

</div>

Pascal.  
Is there a way for you to provide training, based on some models that I can send you, that would serve as an example of mapping and applying texture?

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [May 3, 2021, 8:52pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/8 "2021-05-03T20:52:38Z")

</div>

Hi Leandro -

First, I’d make a material that uses the same texture as you want to use for displacement. This way, when you make changes you can see the mapping update fairly quickly and not need to wait for the displacement every time. I included a mapping material in the file above.  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/5/d/a5d11ec1114c4590405019f66c6d7ba7e5631ab1.jpeg)

For a relatively non-standard, in the sense of the usual mapping types, object like this, I’d go straight to a custom mapping object. In this case an un-capped cylinder comes fairly close but has too much variation, so I created a simple curve of about the right shape:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/b/3/db3e4c34f783758e34d5fa7f83d9cae38dff2d55.png)

And extruded it

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/6/9/069d92652052d30a603d757b2f53a95d4f153149.png)

Changed the degree in V to give me some more control points and then very loosely adjusted points to help the surface conform a bit better to the part:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/8/b/48bd439b0c99f19bc3b1facbc4dae84ada4c55ad.jpeg)  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/5/6/d5650c21fe9486a2e78fc787813cf3da4825001d.png)

Taking care that the shape keeps a constant height and even point distribution - not too wavy. The UV distribution of this surface will be projected onto your part, so it should be even and regular.

Now, apply the mapping material to your part - it will look wrong, of course:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/7/0/e702c41851e3ece4494593f4e2cf5f28ca99b679.png)

On the mapping page of the object properties, set the mapping to use your custom object:  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/e/4/be4677e087035f6ab695a81d1c33c5510b9a8bde.png)

And then set the U and V repeats as needed:

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/a/3/ea36617e88d999c287d1bcbec361b269518884cc.png)

Note if you need to modify the custom mapping object, then it needs to be reapplied to show the change in the mapping.

Once the material looks good, then you can apply the displacement, and assign the proper material and it should all look good. I set the white point on the displacement at .5 and the initial quality as Very High.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/4/e/e4edc2cf25a67fe270ff1c437558e30133957b08.jpeg)

The custom mapping object can be hidden or even deleted - if you need it back again, use `ExtractCustomMappingObject`, edit it and reapply.

-Pascal

---

<div class="post-metadata">

**Author:** ![leandro.arquivos3d](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/leandro.arquivos3d/32/490564_2.png) [@leandro.arquivos3d](https://discourse.mcneel.com/u/leandro.arquivos3d)\
**Post date:** [May 4, 2021, 11:58am UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/9 "2021-05-04T11:58:59Z")

</div>

Pascal.  
Good morning,  
I want to thank you for taking the time to help solve a recurring problem I have, for not understanding the question of how to map different types of projects.  
Based on this difficulty I have, I ask you again:  
Is there a way for you to provide training, based on some models that I can send you, that would serve as an example of mapping and applying texture?  
Thanks,  
Leandro.

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [May 4, 2021, 11:32pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/10 "2021-05-04T23:32:15Z")

</div>

Hi Leandro - is what I outlined above useful or relevant? If so, you have my ‘training’ already - feel free to ask questions or provide different examples that do not work well, etc.

@BrianJ , do you have anything to add ?

-Pascal

---

<div class="post-metadata">

**Author:** ![BrianJ](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/brianj/32/751593_2.png) [@BrianJ](https://discourse.mcneel.com/u/BrianJ)\
**Post date:** [May 5, 2021, 7:59pm UTC](https://discourse.mcneel.com/t/uv-mapping-and-displacement-please-can-someone-tell-me-the-correct-way-to-work/123557/11 "2021-05-05T19:59:23Z")

</div>

@pascal Your solution is the right one in my opinion. @leandro.arquivos3d I’d suggest practicing this process of creating a custom mapping object to get the hang of it.
