Announcement

Collapse
No announcement yet.

Very Slow VrayDistance material if not close to linked object

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

  • Very Slow VrayDistance material if not close to linked object

    I've noticed a problem that the vraydistance texture will occasionally take ages to render out a few buckets in an image (e.g., an entire image might take 20 minutes to render but that stuck bucket alone might take another 10-15 minutes). It's always the same bucket too. I've narrowed it down to instances where I've assigned the vraydistance map to an object that has no surfaces that are close to the distance objects (in the map rollout).

    In the example below, I have a limestone material set up that allows me to draw with just simple lines where I want the joints to render. The lines are given a thickness as a renderable spline and then the vraydistance uses that to know where to place darker "joint" lines and give a little bump at these locations. This works great on stone objects that actually have the lines drawn on them. For objects that do not have the lines drawn them, some of these buckets will take a long time to render. It's not the whole object that is slow to render just certain buckets but it's always those same buckets. I haven't figured out what causes just certain buckets to be slow, maybe it's shadows or some GI issue. If I duplicate the material, strip out the vraydistance texture map and assign it to the these objects everything renders nice and fast. This has happened on a few scenes now so obviously I can work around this as I describe above but it is kind of a headache until I realize what is causing it.

    Click image for larger version

Name:	VrayDistanceGood.jpg
Views:	1
Size:	67.7 KB
ID:	881260Click image for larger version

Name:	VrayDistanceBad.jpg
Views:	1
Size:	74.2 KB
ID:	881261

    I've isolated the problem in the attached, stripped down 2013 scene (VRay 3.10.03). If you just hit render it'll render a small region of an exterior staircase. Most of the buckets at the top of the stair will take forever. If you assign the first material in the material editor, "StonePlain", to just the steps everything renders pretty quick.

    EDIT:re-uploaded the scene
    Attached Files
    Last edited by dlparisi; 30-01-2015, 02:28 PM.
    www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

  • #2
    Thanks for the scene, will take a look at it.

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

    Comment


    • #3
      Attached .zip contains only textures and no scene, so please upload it again
      If it was that easy, it would have already been done

      Peter Matanov
      Chaos

      Comment


      • #4
        Crap! I didn't notice the reply for this that it was missing the scene file. Regardless, a quick test here on 3.4.02 confirms no slowdowns. So whether intentional or accidental, it seems like it's fixed now. Thx.
        www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

        Comment

        Working...
        X