Announcement

Collapse
No announcement yet.

[rc3] vrayZDepth alias

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

  • [rc3] vrayZDepth alias

    hello,

    I am rendering with a vrayZdepth pass enabled.
    while my image looks nice and smooth - the z pass is jagged and aliased.

    Here is a the file:
    http://proforma.preset.de/vRayBoard/...sed_zdepth.zip

    I don't know why - but this is the first time this happens.
    Am I missing some crucial checkbox?

    regards,

    Georg
    In Polygongewittern - Industrial Parametrisation of the World
    http://www.preset.de/
    http://www.count-as-one.net/

  • #2
    yep, its a pain.

    Apparantly its more correct without aliasing because when it has aliasing it adds tones of gray on all the adges....and tones of gray mean depth.

    But...I couldnt get a nice result using non aliased image in photoshop to create a DOF effect, on the edges it was all messed up. What I did to make it aliased was to render the Zdepth at 12k wide and down size it to 5k image (which was the size of the image I needed to blur). Downsizing the image put aliasing back into it. It also worked very well with the Lensblur in photoshop.

    this if of bo use if your doing animation, I was only doing one image.
    mdi-digital.com

    Comment


    • #3
      update:
      I now looked at older zdepth-passes and they look the same.
      As it didn't bother me in the past - I should not bother me now ...

      Georg
      In Polygongewittern - Industrial Parametrisation of the World
      http://www.preset.de/
      http://www.count-as-one.net/

      Comment


      • #4
        changing the image sampler to 'Fixed' - solved the problem for me.
        In Polygongewittern - Industrial Parametrisation of the World
        http://www.preset.de/
        http://www.count-as-one.net/

        Comment


        • #5
          zdepth isnt supposed to be antialiased since the blended pixel values at the object borders would introduce wrong depth information

          combustion (and i guess other compositing tools, too) use the subpixel weight and coverate channels to come up with good results when depth blurring (hence those channels are suggested when doing post dof)

          other than that there always is the trick with doubling output res and downsizing after the blur - if you can afford the render times and are able to render at those resolutions

          btw: does post DOF still look good at 5k? i'd rather stick to distributed rendering with real dof (esp. since good depth blurs a'la lenscare tend to be slow, too)

          Comment


          • #6
            subpixel weight and coverate channels
            Are they available as passes in vray?
            In Polygongewittern - Industrial Parametrisation of the World
            http://www.preset.de/
            http://www.count-as-one.net/

            Comment


            • #7
              Originally posted by rdg
              subpixel weight and coverate channels
              Are they available as passes in vray?
              Nuno de Castro

              www.ene-digital.com
              nuno@ene-digital.com
              00351 917593145

              Comment


              • #8
                Originally posted by ene.xis
                ???
                After reading in the forum I see that this is a complex thing.
                The answer could have been:
                no they are not available, because of <bla>. so a common way of DOF is <bla> RPF <bla> <bla> combustion <bla>.

                Fixed image sampler rules.
                Don't have combustion - so why caring for strange channels.

                Georg
                In Polygongewittern - Industrial Parametrisation of the World
                http://www.preset.de/
                http://www.count-as-one.net/

                Comment


                • #9
                  ive been asking and asking if someone could either do or point me to a tutorial on the sub-pixel or coverage workflow within combustion. I think i understand the concept behind it but not the workflow. just a screen cap of it in use would be all i would need really.

                  ---------------------------------------------------
                  MSN addresses are not for newbies or warez users to contact the pros and bug them with
                  stupid questions the forum can answer.

                  Comment


                  • #10
                    i m sorry for the sarcasm...
                    but if by passes u mean render elements u can easily find ur answer:
                    readme vray 1.5 file:

                    "Render elements
                    The 3dsmax Render Elements interface is now supported by V-Ray. The old G-Buffer settings have been removed.
                    VRayMtlSelect render element allows the user to extract a given material to a separate render element. This can be either a top-level V-Ray material, or a sub-material of VRayBlendMtl.
                    VRayWireColor render element allows the user to create masks with specified colors.
                    Color mapping per render element. Color mapping can be turned on or off on a per-element basis.
                    Render elements are fully supported in distributed rendering mode.
                    "

                    Nuno de Castro

                    www.ene-digital.com
                    nuno@ene-digital.com
                    00351 917593145

                    Comment


                    • #11
                      Re: [rc3] vrayZDepth alias

                      Originally posted by rdg
                      hello,

                      I am rendering with a vrayZdepth pass enabled.
                      while my image looks nice and smooth - the z pass is jagged and aliased.

                      Here is a the file:
                      http://proforma.preset.de/vRayBoard/...sed_zdepth.zip

                      I don't know why - but this is the first time this happens.
                      Am I missing some crucial checkbox?
                      First, turn ON the "Enable Filtering" check box for the ZDepth render element; next, switch to Adaptive Subdivision sampler and check its "Object outline" and "Normal threshold" options. This will make it fine.

                      You need the "Enable Filtering" option in order for V-Ray to actually perform antialiasing on the z-depth channel.

                      You need the Adaptive Subdivision sampler since your RGB image is black and in that case the Adaptive QMC sampler takes just one sample per pixel. On the other hand, when you turn on the "Object outline" and "Normal threshold" options for the Adaptive subdivision sampler, it will take more samples at object boundaries even though the RGB channel is black.

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

                      Comment


                      • #12
                        Originally posted by Da_elf
                        ive been asking and asking if someone could either do or point me to a tutorial on the sub-pixel or coverage workflow within combustion. I think i understand the concept behind it but not the workflow. just a screen cap of it in use would be all i would need really.
                        afaik it gets used automagically if present in the rpf file
                        quote from the combustion help:
                        Note: In Box Blur mode, the 3D Depth of Field effect uses only the Z (Z Depth) channel.In Gaussian Blur mode, you must also use either the Non-Clamped Color or Color channel. The Coverage, Transparency, and Sub-Pixel Weight channels, though not required in Gaussian mode, are suggested.
                        Most of the 3D Post effects that use the RPF channels Color, Transparency, and Sub-pixel weight do not require these channels to be present (they are not available for RLA files). If present, the channels are used to improve the quality of the effect.

                        Comment


                        • #13
                          @ vlado:

                          Thank you. This is even better than the fixed sampler

                          @ ene.xis:
                          sarcasm - no problem. It is hard in such a multi-lingual-english-community.

                          Georg
                          In Polygongewittern - Industrial Parametrisation of the World
                          http://www.preset.de/
                          http://www.count-as-one.net/

                          Comment


                          • #14
                            again, sorry bout that...

                            hope u sort it out...
                            Nuno de Castro

                            www.ene-digital.com
                            nuno@ene-digital.com
                            00351 917593145

                            Comment


                            • #15
                              mike.edel

                              "The Coverage, Transparency, and Sub-Pixel Weight channels, though not required in Gaussian mode, are suggested."
                              for somethng thats not requiered but suggested it doesnt sound too automatic to me otherwise they would have stated plainly "subpixel and coverage channels are used automatically when using files that store those channels"

                              ---------------------------------------------------
                              MSN addresses are not for newbies or warez users to contact the pros and bug them with
                              stupid questions the forum can answer.

                              Comment

                              Working...
                              X