Announcement

Collapse
No announcement yet.

Zbrush4 r3 vector displacement maps in vray

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

  • Zbrush4 r3 vector displacement maps in vray

    Hey Guys!


    I just got a very good result with vray 2.0/3dsmax 2012 and Vector displacement maps created in zbrush4 r3.I cant say this is the correct method, but it produced a very good result.

    What I did:

    in zbrush:

    made model, sculpted/unwrapped being sure no edges touch uv space borders

    set my tangent flip and switch and my flip and switch values to 7 as recommended as the 3ds max value in the zbrush pdf

    exported a 16 bit version and a 32 bit version of my vector map

    go-z'd the model into max

    In 3ds max 2012

    added a turbosmooth modifier with 1 iteration to the model

    added a vraydisplacemod

    set the type to subdivision(before switching to subdivision I checked the vector displacement box as it is grayed out when in subdivision mode...not sure whether this is the correct method but I achieved the desired result

    imported my Vector map to the texmap slot


    In the vraydisplacementmod I had to adjust the amount depending on the map(16 bit or 32 bit) for 16 bit I had to turn up the value quite a bit 4.0 ", for 32 bit I used a much lower value .5 "

    relative to bounding box

    edge length was set to 1

    max subdivs to 512

    smooth uv's

    smooth uv's at borders

    tight bounds all checked

    texmap min set to 0

    texmap max set to 7



    instance the map to the material editor

    set the u angle to 180(map came in upside down for some reason)

    set blur to .01


    I can post images and a file if needed.


    Good luck!



    Todd

  • #2
    If you use the "Subdivision" mode, then it's doing regular displacement, not vector displacement. For vector displacement you need the "3d mapping" mode.

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

    Comment


    • #3
      Ah damn! When I change to 3d mapping it doesn't look correct, black breaks and artifacting with all the settings as they were. Any suggestions, can i post a file?

      Comment


      • #4
        Yes, if you can post the files it will be very helpful.

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

        Comment


        • #5
          Hey Vlado, I am inserting a link to the zipped file. It was all created quickly just to testFile

          The VDmap was exported from zbrush4r3 using the value 7 which is what they recommend for 3ds 2012. I also tried using their vector diagnostic, but it didnt produce a result like seen in the video here(maya) Vector Diagnostic
          thanks!

          todd

          Comment


          • #6
            I think the value of 7 in max is for mental ray. I don't know if that gives anyone clues as to how to set it up right for vray is if they know what the difference is on how mr and vray approach vector displacement.

            V Miller

            Comment


            • #7
              Hey Vance!

              Zbrush has vector diagnostic tool that exports a sample scene to find out which value to use, I tried it back when I posted, it also didn't give a desired result. It is supposed to create a sphere above a grid to let you know which map is generating the proper VDsp. I see other people on the ZB forums saying it didn't work for them as well.

              Hopefully between here and ZBC someone can find a working methodology.

              Comment


              • #8
                Hey Todd,

                I've been tracking this as well. I tried the diagnostic and all i got was spheres that looked like they exploded into particles. I'm surprised I haven't seen more posts on zbrush central about this. I know that when mudbox first came out with vector displacement, wayne robson wrote a plugin that allowed it to work in max and eventually it was folded into the core of max. I don't know if the same thing has to be done with vray or not. I hope its resolved soon.

                Vance

                Comment


                • #9
                  Any progress with this, has anyone gotten a desirable result? Is there anything that can be done on the user end to help this along towards a workable result? I just posted on ZBC as well fwiw

                  Comment


                  • #10
                    it would be great to know the correct settings

                    Comment


                    • #11
                      None of the settings in ZBrush work. We need to modify our displacement code, but so far none of our experiments produced a good result.

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

                      Comment


                      • #12
                        Thats why we bake all our stuff from zbrush in mudbox.
                        The new version has some fixes in that area.

                        http://usa.autodesk.com/adsk/servlet...inkID=11937426

                        Comment


                        • #13
                          Greetings,

                          Any news on this, will the new code be available for release 2.4 of VRay?

                          Thanks!

                          Eduardo

                          Comment

                          Working...
                          X