# Displacement problem - haven't seen before

**URL:** <https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351>\
**Category:** Issues\
**Created:** [September 15, 2010, 8:27am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351 "2010-09-15T08:27:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [September 15, 2010, 8:27am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/1 "2010-09-15T08:27:14Z")

</div>

I created displacement demo project to test how far can we go with displacement only.  
Scene has one geosphere, vray area light and dome light. Camera is positioned very close  
to spheres surface.

Displacement is view dependent - 4 pixels.  
Displacement map is a mix of many procedural noise maps.

What are these artifacts that are mostly visible in closer “mountains”?  
It looks that width of those stripes is 4 pixel. It’s just weird that they are  
visible.

-LarsSon

 ![Disp_problem.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/3/b/3b55938997654e109c8ad6797a633f2076801de5.jpeg)

---

<div class="post-metadata">

**Author:** ![Morne](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morne/32/11335_2.png) [@Morne](https://forums.chaos.com/u/Morne)\
**Post date:** [September 15, 2010, 9:20am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/2 "2010-09-15T09:20:26Z")

</div>

could you circle the area you are talking about? Can’t see anything strange here

---

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [September 15, 2010, 9:35am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/3 "2010-09-15T09:35:18Z")

</div>

Is this better?

 ![Disp_problem2.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/7/f/7f206b0511a1bb26f93b1ad09a47d4eb3b3a2949.jpeg)

---

<div class="post-metadata">

**Author:** ![Morne](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morne/32/11335_2.png) [@Morne](https://forums.chaos.com/u/Morne)\
**Post date:** [September 15, 2010, 9:40am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/4 "2010-09-15T09:40:57Z")

</div>

O yes, it looks like you scanned the image from a magazine at high dpi and it is picking up the texture of the page  
I wouldn’t know how to to get rid of it, but I’d probably start with tweaking the procedurals

---

<div class="post-metadata">

**Author:** ![MathTheRender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/maththerender/32/28305_2.png) [@MathTheRender](https://forums.chaos.com/u/MathTheRender)\
**Post date:** [September 15, 2010, 9:55am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/5 "2010-09-15T09:55:35Z")

</div>

how about using the filter blur in vrayDisplacement Modifier?  
doesn’t that fix your issue?

---

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [September 15, 2010, 10:29am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/6 "2010-09-15T10:29:02Z")

</div>

I think that the filter blur is for bitmaps only.

Well, I tested it and it didn’t had any effect.

Thanks anyway!

---

<div class="post-metadata">

**Author:** ![MathTheRender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/maththerender/32/28305_2.png) [@MathTheRender](https://forums.chaos.com/u/MathTheRender)\
**Post date:** [September 15, 2010, 12:02pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/7 "2010-09-15T12:02:20Z")

</div>

hmm, ok? but you get that dicplacement from a bitmap somwhere, right? as i remember my last dicplacement i made, i took the vraydispl.mod on the object and gave there the map and not in the material map section. and then the filter blur should work. otherwise i would be intrested in how you do the displacement, im sure there is a way i dont know yet:)

---

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [September 15, 2010, 12:08pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/8 "2010-09-15T12:08:10Z")

</div>

Nope, I’m not using bitmaps. I’m using max procedural noise that is assigned to vray disp.modifier.  
That way I should get “infinite” details, almost.

---

<div class="post-metadata">

**Author:** ![MathTheRender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/maththerender/32/28305_2.png) [@MathTheRender](https://forums.chaos.com/u/MathTheRender)\
**Post date:** [September 16, 2010, 6:47am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/9 "2010-09-16T06:47:38Z")

</div>

ah, ok, now i see:)

but the noise in max has a blur to, and if the blur doesn’t work there is an offset i would try.

that should help to smooth your pixel problem.

otherwise i run out of advicec 🙂

---

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [September 16, 2010, 10:04am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/10 "2010-09-16T10:04:08Z")

</div>

Thanks for helping! …but nothing works. ☹

I have tried everything.  
Adding blur, having no blur at all, without shadows, rescaling the scene…

Could it be, that the noise map in Max is running out of color levels? But noise maps are calculated in float values, right?

I won’t give up! I’ll find the way to fix it no matter what! :roll:

-LarsSon

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [September 16, 2010, 11:22am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/11 "2010-09-16T11:22:49Z")

</div>

This is a problem with the 3ds Max Noise texture on 64-bit systems, you will not be able to get rid of it (the reason is the smaller precision with which the 64-but version operates); it will render fine in 32-bit versions though. You can also try other noise textures (e.g. the Bercon maps).

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [September 16, 2010, 12:10pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/12 "2010-09-16T12:10:25Z")

</div>

Ah, okay now I understand.

Thank you!

No way of going to 32 bit version. Maybe I should try Bercon maps then.

-LarsSon

---

<div class="post-metadata">

**Author:** ![MathTheRender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/maththerender/32/28305_2.png) [@MathTheRender](https://forums.chaos.com/u/MathTheRender)\
**Post date:** [September 16, 2010, 12:56pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/13 "2010-09-16T12:56:54Z")

</div>

thats good to know!

@LarsSonparsson: i’m sorry i coudn’t be a bigger help ☹

---

<div class="post-metadata">

**Author:** ![ajroane](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/ajroane/32/47410_2.png) [@ajroane](https://forums.chaos.com/u/ajroane)\
**Post date:** [November 15, 2010, 9:50pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/14 "2010-11-15T21:50:02Z")

</div>

I might be having the same problem, and I am using a bitmap (no procedural maps) for the displacement. The displace map was created from high-poly models in max using a Vray Zdepth render element. I have tried playing with the filtering in the bitmap and in the Modifier, and I have also adjusted the 2Dmapping resolution/precision values and nothing helps get rid of this noise. Has anyone had any experience solving this problem?

Thanks,

Andrew

---

<div class="post-metadata">

**Author:** ![Dariusz\_Makowski\_Dadal](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@Dariusz\_Makowski\_Dadal](https://forums.chaos.com/u/Dariusz_Makowski_Dadal)\
**Post date:** [November 15, 2010, 11:10pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/15 "2010-11-15T23:10:49Z")

</div>

I got that same issue with noise map. In my case its diffuse map, with very small size. On close ups render you can see those lines… ARGH ! Never had it b4 or I was blind back then ;s

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [November 16, 2010, 9:32am UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/16 "2010-11-16T09:32:28Z")

</div>

> [@vlado](#):
>
> I might be having the same problem, and I am using a bitmap (no procedural maps) for the displacement. The displace map was created from high-poly models in max using a Vray Zdepth render element. I have tried playing with the filtering in the bitmap and in the Modifier, and I have also adjusted the 2Dmapping resolution/precision values and nothing helps get rid of this noise. Has anyone had any experience solving this problem?
> 
> Thanks,
> 
> Andrew

That looks like a cool way of generating those kind of details. Could I look at your z-depth map? What are render times and setup like?

---

<div class="post-metadata">

**Author:** ![ajroane](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/ajroane/32/47410_2.png) [@ajroane](https://forums.chaos.com/u/ajroane)\
**Post date:** [November 16, 2010, 5:42pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/17 "2010-11-16T17:42:51Z")

</div>

It would be cool … if it worked. 🙂 Really, it is a very simple set-up. The details were all modeled against a flat plane, which was mapped with a reference image (see screen shot image). Then I set up a standard max camera, and turned on ‘orthographic projection.’ I then created two render elements: 1) VrayZdepth, 2) VRayExtraTex with a black to white VrayDirt texture, really just an AO pass. I used the camera’s clipping planes to quickly find good distances for the zdepth min/max values. The dirt texture was used in a composite map on the displaced geometry, to add more definition to the displacement.

Rendering the maps is really fast since GI is not necessary. It took 80 seconds to render the attached images. The only factor I had to adjust was the Image Sampler (AA) so that the results were smooth enough. Oh, and I also set the subd’s in the dirt texture to 24 instead of 8. The AO didn’t work perfectly, I need to render it with more geometry around it, so that the dirt texture can blend out more smoothly.

I used 2D mapping in the VrayDisplacementMod. I tried several different combinations of values in the resolution/precision, I think I finally ended up using a resolution of 1024 and a precision of 8. I also have the amount set to 1" and the shift set at -.1". Just for a sense of scale, the egg/dart details were about 4" tall in this test.

Hopefully that explanation makes sense. The rendered elements are posted below, I created tileable maps from these in PS.

… I hope more of you can try this out, and please let me know if you find a way to get rid of the noise on the displaced geometry, I still haven’t figured it out. Thanks!

---

<div class="post-metadata">

**Author:** ![Neilg](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/neilg/32/7044_2.png) [@Neilg](https://forums.chaos.com/u/Neilg)\
**Post date:** [November 16, 2010, 5:58pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/18 "2010-11-16T17:58:15Z")

</div>

I’ve done stuff like that before and it’s worked fine 😕

This might be silly, but you dont have vray dirt on the material of your displaced object do you?

---

<div class="post-metadata">

**Author:** ![ajroane](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/ajroane/32/47410_2.png) [@ajroane](https://forums.chaos.com/u/ajroane)\
**Post date:** [November 16, 2010, 6:06pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/19 "2010-11-16T18:06:03Z")

</div>

> [@kimgar](#):
>
> I’ve done stuff like that before and it’s worked fine 😕
> 
> This might be silly, but you dont have vray dirt on the material of your displaced object do you?

Nope, just the bitmap version of the rendered dirt map is being used as a mask in a composite map, so I don’t think it’s a diffuse texture problem. Are you using Max2011, 64-bit?

---

<div class="post-metadata">

**Author:** ![ajroane](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/ajroane/32/47410_2.png) [@ajroane](https://forums.chaos.com/u/ajroane)\
**Post date:** [November 16, 2010, 6:23pm UTC](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351/20 "2010-11-16T18:23:28Z")

</div>

> [@vlado](#):
>
> What are render times and setup like?

Forgot to tell you earlier…the small test scene shown in my first post took 32.5 seconds to render. I have a single, 4-core Xeon W3520 2.67 Ghz and 12 Gig RAM.

[Next page](https://forums.chaos.com/t/displacement-problem-havent-seen-before/25351.md?page=2)
