Announcement

Collapse
No announcement yet.

Displacement Artifacts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Displacement Artifacts

    Hi

    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.

    Click image for larger version

Name:	disp_error.jpg
Views:	1
Size:	226.5 KB
ID:	880056

    Is this a bug??? Does anyone know of any fixes?

    Thanks

    Graham

  • #2
    Can you send us this scene along with displacement-map for investigation?
    Which V-Ray version is that?
    Svetlozar Draganov | Senior Manager 3D Support | contact us
    Chaos & Enscape & Cylindo are now one!

    Comment


    • #3
      Not sure, but from what I can see on the image those black areas simply are reflections of the black environment...

      Comment


      • #4
        Great!

        Here is link to sample scene:- https://dl.dropboxusercontent.com/u/...splacement.zip

        Thanks
        Graham
        https://vimeo.com/user3624838

        Comment


        • #5
          Originally posted by ben_hamburg View Post
          Not sure, but from what I can see on the image those black areas simply are reflections of the black environment...
          I thought that at first but the environment is full spherical dome with no black in it.

          Comment


          • #6
            I am using V-Ray 3.00.02

            Thanks for help.

            Comment


            • #7
              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.
              Svetlozar Draganov | Senior Manager 3D Support | contact us
              Chaos & Enscape & Cylindo are now one!

              Comment


              • #8
                Originally posted by svetlozar_draganov View Post
                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.

                Comment


                • #9
                  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.
                  Svetlozar Draganov | Senior Manager 3D Support | contact us
                  Chaos & Enscape & Cylindo are now one!

                  Comment


                  • #10
                    Thanks for looking into it, hope it can be fixed soon.
                    Graham

                    Comment


                    • #11
                      Originally posted by gramx View Post
                      Is this a bug??? Does anyone know of any fixes?
                      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.

                      Best regards,
                      Vlado
                      Last edited by vlado; 17-06-2014, 04:14 AM.
                      I only act like I know everything, Rogers.

                      Comment


                      • #12
                        Originally posted by vlado View Post
                        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.

                        Best regards,
                        Vlado
                        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

                        Comment


                        • #13
                          Hi

                          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.
                          Click image for larger version

Name:	displacement_comparison.jpg
Views:	1
Size:	379.2 KB
ID:	852202
                          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.

                          Comment


                          • #14
                            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?

                            Best regards,
                            Vlado
                            I only act like I know everything, Rogers.

                            Comment


                            • #15
                              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/...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

                              Comment

                              Working...
                              X