# 2D Displacement

**URL:** <https://forums.chaos.com/t/2d-displacement/106298>\
**Category:** General\
**Created:** [August 27, 2021, 12:59pm UTC](https://forums.chaos.com/t/2d-displacement/106298 "2021-08-27T12:59:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohdan](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rohdan](https://forums.chaos.com/u/rohdan)\
**Post date:** [August 27, 2021, 12:59pm UTC](https://forums.chaos.com/t/2d-displacement/106298/1 "2021-08-27T12:59:45Z")

</div>

I have made some tests with displacement.

I’m note quite sure but:  
. Displacement works with Meshes AND other Bodies (for examples simple boxes oder extrusion Bodies)  
. 2D Displacement is linked to a texture (for example with box mapping), Displacement does not work (maybe in my case because there is no UV)  
. 2D Displacement works, if its not linked to a texture…but then it uses UV Mapping  
. Normal Displacement works fine imo

Is it a bug that, if 2D Displacement is linked to a texture with box mapping, the size don’t match or not working??

 ![.jpg.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/4/2/42623b6882ef733d25087cb640ec8baeaf5cc9cf.jpeg)

---

<div class="post-metadata">

**Author:** ![sirio76](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/sirio76/32/5459_2.png) [@sirio76](https://forums.chaos.com/u/sirio76)\
**Post date:** [August 27, 2021, 2:44pm UTC](https://forums.chaos.com/t/2d-displacement/106298/2 "2021-08-27T14:44:54Z")

</div>

As far as I can tell you need UV mapping for the 2D mode. If you don’t have UV coordinate you can simply map using a flat projection and then use the command to convert it to UV.

---

<div class="post-metadata">

**Author:** ![rohdan](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rohdan](https://forums.chaos.com/u/rohdan)\
**Post date:** [August 27, 2021, 2:57pm UTC](https://forums.chaos.com/t/2d-displacement/106298/3 "2021-08-27T14:57:27Z")

</div>

> [@sirio76](#):
>
> As far as I can tell you need UV mapping for the 2D mode. If you don’t have UV coordinate you can simply map using a flat projection and then use the command to convert it to UV.

You never use the “normal” Displacement?

---

<div class="post-metadata">

**Author:** ![sirio76](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/sirio76/32/5459_2.png) [@sirio76](https://forums.chaos.com/u/sirio76)\
**Post date:** [August 27, 2021, 3:16pm UTC](https://forums.chaos.com/t/2d-displacement/106298/4 "2021-08-27T15:16:11Z")

</div>

Of course I do;) For complex geometry I use often the normal mode, for larger areas I prefer the 2D mode.  
Be careful when dealing with the normal mode, If you want to get an efficient usage you need to set correctly more parameters, using 2D mode it’s easier to control..  
I find the default for normal mode to be sub-optimal, I mean they can work fine but most likely they will use quite a lot of RAM and they will require longer precompute time, by tuning correctly edge length/max subdivision according to your needs you can speedup render time and save RAM usage.

---

<div class="post-metadata">

**Author:** ![rohdan](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rohdan](https://forums.chaos.com/u/rohdan)\
**Post date:** [August 27, 2021, 4:03pm UTC](https://forums.chaos.com/t/2d-displacement/106298/5 "2021-08-27T16:03:30Z")

</div>

Thanks!  
I hope u don’t mind another question?  
I prefer to model with splines and the for example extrude them. I keep it this way as long as possible. I like the possibilty to modify the spline if necessary.

How do u model? With meshes?  
I was surprised, to see that displacement works even with extrusion body without converting.

---

<div class="post-metadata">

**Author:** ![sirio76](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/sirio76/32/5459_2.png) [@sirio76](https://forums.chaos.com/u/sirio76)\
**Post date:** [August 27, 2021, 4:59pm UTC](https://forums.chaos.com/t/2d-displacement/106298/6 "2021-08-27T16:59:17Z")

</div>

Displacement works on both procedural and polygonal geometry. Your modeling technique really depends on what you are doing, modeling using spline maybe fine for some stuff but inefficient for other, if you post a sample of your work it will be easier to suggest the best technique.
