Announcement

Collapse
No announcement yet.

VOP's and alpha/holdout scenarios

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

  • VOP's and alpha/holdout scenarios

    This seems to get me every time I encounter this situation.

    I have one object A passing partially inside another object B.

    I want to render in layers so that in one layer I have a full, unoccluded pass of object B.

    In the other layer I want to render object A, with primary rays for object B turned off using a VOP set.

    I also want object B to knock out the parts of object A in either RGB, alpha or both so I don't have pixels that should be occluded because they are inside object B.

    It seems like this should be possible using object B's object properties by setting it to a Matte Surface and setting its alpha contribution to -1. This is all the documentation I can find.

    However, this simply does not seem to work and I continue to get pixels in the occluded parts of object A in both RGB and alpha.

    What am I doing wrong? This should be simple. Thanks.

  • #2
    Gah. Never mind. Another case of hitting on the solution as soon as you've asked the question. I simply don't need to turn off primary visibility when Matte Surface is checked. This is obvious now, although a bit unintuitive.....

    Comment

    Working...
    X