I am exporting 32bit exr ocean displacement maps from Houdini and rendering vector displacement in 3dsmax with V-Ray. I am running into problems with the Max suddivs and edge length as I am having to set them really high otherwise I get small black areas in the reflection map but the diffuse renders fine. This would be ok but its causing very long unnecessary render times! I have checked the cusp of the ocean displacement map to make sure it isn’t overlapping any geometry. I am using edge length of 2 pixels and 64 subdivisions, this almost fixes the issue. The displacement plane is also subdivided quite heavy.
The issue comes from DomeLight actually - for some reason the reflections from it are not calculated properly.
If you disable Affect Reflections from DomeLight options everything works fine - you could place the same environment map into reflection-environment-override slot and use that as a workaround until we find a way to fix this bug.
Thanks for looking into this issue. I have tried switching off the DomeLight and using the reflection-override slot but you still get artefacts in the render this time they are a light blue colour, harder to spot. Again if you increase max subdivisions up to 64 it gets rid of the artefacts.
You are right - at first I was thinking that white-blue color is fine but it is not.
I have added this case into our bug-tracking system for further investigation.
We will let you know when we have some news about it.
It’s not exactly a bug - these are places where the displacement is too big and causes the surface to flip over - this is plainly obvious if you add a VRayNormals render element. Try using Phong BRDF and it will work better, but in general it would be best to use a correct displacement map. There’s nothing else that we can do to fix it on our end.
Hi Vlado
We have tested this displacement map in both Mantra and Arnold and it renders fine without any flipping or overlapping issues. I’m not sure why the displacement would be wrong in vray, I will try some more tests and check the Normals.
Thanks
Graham
I have been doing some more tests with vector displacements but still run into the same issue. I have also tried Phong which produced light blue artefact’s instead of black.
You can see that the displacement map is working in mantra and Arnold so I don’t think its a problem with the map. I did have to flip the axis of the grid to match Y up but I don’t think this would cause any issues. Are you sure its not a bug? I don’t know what else we can try.
It’s not a bug, however I think your set up is slightly wrong. Can you post your Maya scene so that I can compare? If you want to use Object space displacement, keep in mind that the up axis in Maya and 3ds Max is different; there might also be other things that need adjustment. Have you also tried rendering with V-Ray in Maya?
Here is a link to our Maya setup, its currently using Arnold but has camera and plane in it that matches the max scene, its also using same displacement map. https://dl.dropboxusercontent.com/u/73974952/testDispMaP.ma
We have a beta of V-Ray 3 for Maya but we had trouble hooking up the vector displacement map, it didn’t do anything.
Thanks
Graham
I have been doing some more testing and I have exported a baked version of the mesh from Houdini to make sure it all lines up, which it is, so the displacement appears to be working correctly. I have also tried creating a new displacement map with out the small frequency details to see if these were causing a problem but I still get these artefacts in the render. We have still been unable to hook up the vector displacement in Maya using the V-Ray 3 beta.
Hi, still no luck getting a working v-ray solution. I have tried removing the red and blue channels from the displacement so I am only rendering up vector displacement, but this still causes the same errors. Again if I start increasing the subdivisions up very high then the errors get smaller. The map is a 32bit vector displace straight from a Houdini Ocean Evaluate node. It is working great in both Arnold and Mantra, but we really need to be able to render in V-Ray as this is are preferred pipeline at RealtimeUK. If are Max setup is wrong then any help to fix this would be very appreciated.
Hi Svetlozar
Thanks for looking into this issue further and for the Maya setup. We are also getting same issue in V-Ray for Maya. https://dl.dropboxusercontent.com/u/73974952/displacement.zip
Link above included max scene, Houdini scene, and exported geometry from Houdini.
If you need anything else please let me know.
Thanks again for help.
Graham