Need help really fast on applying displacement map in vray

Need help really fast on applying displacement map in vray

Anonymous
Not applicable
8,085 Views
9 Replies
Message 1 of 10

Need help really fast on applying displacement map in vray

Anonymous
Not applicable

Hi everyone! I am working on a project nearing my deadline. I found various issues while applying displacement map in vray (I previously used displacement maps in organic models with no problems) with uneven displaced areas and edges and blotchy glitches. I used a simple plane uv unwrapped and even tried using vray displacement mods and also experimented with color/alpha gain but no fix. I am using vray 3.6. Please help me to fix this issue cause its eating my head and found no solution in online about it.

0 Likes
Accepted solutions (1)
8,086 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable

Anyone?

0 Likes
Message 3 of 10

Anonymous
Not applicable

Hi, I tried replicating displacement using checker texture. Initially it looked similar to your screenshot, but I got better results when I changed the Displacement type to "2D Displacement" in Extra VRay Attributes for the shape node. I have included a scene file and couple of screenshots.

Message 4 of 10

Anonymous
Not applicable

Dude you are a genius! you resolved 80 % of the problem. 
The next step would be to reduce the smoothness/bevel on the displaced geometry. I was using the legacy method ie. simply attaching it to the displacement shader. I was unaware of this method by creating a display node then attaching to vray_mtl.But I am really thankful to you. This is my painted map.

0 Likes
Message 5 of 10

Anonymous
Not applicable

I'm glad it worked! As for beveling when using image map, first make sure you image is large enough (I tried using a 4K image), and then in extra VRay Attributes change Texture resolution to match image size, bump up the precision and reduce filter blur to some smaller value (I used 0.001 in this example). Check the attached screenshot.

Message 6 of 10

Anonymous
Not applicable

Once again thanks a lot 🙂 solved almost 99% of problems. I have attached a rendered image of a 4k image from google as instructed by you. Little bugs are there and here like if i zoom in the subdivis are very much visible creating a black line like strands however negligible. Also since I was hybrid rendering(CUDA engine) the scene out I got error:2d displacement map not supported hence increase in render time to decrease noises. Looks like i have a hard luck getting my result but do let me know if you find solution abut it.

0 Likes
Message 7 of 10

Anonymous
Not applicable

Hi, I can see that in your GPU render settings you have "Resize all textures" on, with the GPU texture size set to 512, so I think VRay is turning your 4K textures to 512px, which may be causing the little lines visible in Test3 render. CPU rendering is supporting more features so maybe you won't be getting that error message if you try it (I tried using CUDA on my end, but the displacement didn't even render). Also, I'm not sure if you have added Displacement Control attribute to the shape node of your mesh? There are some additional quality controls in there.

Message 8 of 10

Anonymous
Not applicable

Nope resize all texture comes only in Cuda/opencl options not in cpu + I have enabled displacement control on otherwise I woundnt have got first output and also I played with most of vray displacement control mods and subdivs mods as well didn't get the output i wanted

0 Likes
Message 9 of 10

damaggio
Mentor
Mentor
Accepted solution

For a cleaner displacement of vertical shapes like this, increase the subdivisions on your plane to a higher number, use a 32 bit or 16 bit image for displacement and match the resolution under Texture resolution.

I've also lowered the edge length.

2D displacement is not supported in CUDA....render in the CPU

Message 10 of 10

Anonymous
Not applicable

Thanks a ton! Displacement came out nice and clean. I re-painted the entire map in similar function as yours in Photoshop with 32bit channel. Also if you know how to apply a glow map in Vray material do let me know(just like in mental ray). Thanks again to both of you. Keep up this great job in the community!

0 Likes