# Excluding objects or groups from render element

**URL:** <https://forums.chaos.com/t/excluding-objects-or-groups-from-render-element/57297>\
**Category:** General\
**Created:** [February 24, 2016, 1:17pm UTC](https://forums.chaos.com/t/excluding-objects-or-groups-from-render-element/57297 "2016-02-24T13:17:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharktacos](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sharktacos](https://forums.chaos.com/u/sharktacos)\
**Post date:** [February 24, 2016, 1:17pm UTC](https://forums.chaos.com/t/excluding-objects-or-groups-from-render-element/57297/1 "2016-02-24T13:17:44Z")

</div>

Is it possible to exclude geometry or groups from a particular render element, in a similar fashion to how one can do in a render layer? Thx

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [February 24, 2016, 10:40pm UTC](https://forums.chaos.com/t/excluding-objects-or-groups-from-render-element/57297/2 "2016-02-24T22:40:13Z")

</div>

What exactly are you trying to achieve, maybe give us an example? We do have some support for this with the object properties (generate render elements) but it won’t work for all render elements. Other render elements that depend on a texture to be plugged to them depend on the texture’s include/exclude (where available).

---

<div class="post-metadata">

**Author:** ![sharktacos](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sharktacos](https://forums.chaos.com/u/sharktacos)\
**Post date:** [February 25, 2016, 3:42am UTC](https://forums.chaos.com/t/excluding-objects-or-groups-from-render-element/57297/3 "2016-02-25T03:42:03Z")

</div>

> [@yolov](#):
>
> What exactly are you trying to achieve, maybe give us an example? We do have some support for this with the object properties (generate render elements) but it won’t work for all render elements. Other render elements that depend on a texture to be plugged to them depend on the texture’s include/exclude (where available).

Specifically I’d like to exclude hair from an AO pass (i.e. VrayDirt in ExtraTex). I am aware that VrayDirt has an exclude option which can exclude the AO calculations for geo in a set, but I would actually like to exclude the geo completely from the render element, the same way as one can do with a render layer.

I’m kind of thinking that this is not possible tho… I’d be glad to be proven wrong on that one tho! 🙂

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [February 25, 2016, 11:08am UTC](https://forums.chaos.com/t/excluding-objects-or-groups-from-render-element/57297/4 "2016-02-25T11:08:46Z")

</div>

The _object properties \> generate render element = off_ will work for the extraTex(vrayDirt) channel, but the object with that settings will just appear black in the channel. I doubt that this is what you want in your render? Maybe mask the object and exclude it from the AO in comp ?

---

<div class="post-metadata">

**Author:** ![sharktacos](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sharktacos](https://forums.chaos.com/u/sharktacos)\
**Post date:** [February 29, 2016, 7:25am UTC](https://forums.chaos.com/t/excluding-objects-or-groups-from-render-element/57297/5 "2016-02-29T07:25:55Z")

</div>

That would work, but the intent is to speed up the extraTex render by not having the hair geo. Using the object properties like you describe make it not calculate AO for the hair, but it still renders the hair geo (as black) which is a lot slower than if the hair geo was hidden (like in a render layer). So what I’m after is something like primary visibility off, but just for the extraTex RE.

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [February 29, 2016, 8:15am UTC](https://forums.chaos.com/t/excluding-objects-or-groups-from-render-element/57297/6 "2016-02-29T08:15:43Z")

</div>

We don’t have such an option at this time. For the moment I can’t think of another way than using render layers.

---

<div class="post-metadata">

**Author:** ![sharktacos](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sharktacos](https://forums.chaos.com/u/sharktacos)\
**Post date:** [March 2, 2016, 6:08am UTC](https://forums.chaos.com/t/excluding-objects-or-groups-from-render-element/57297/7 "2016-03-02T06:08:17Z")

</div>

Understood. Thanks for your help 🙂
