There are two places (at least) where you can turn off the hair. One is the “hide all hair” checkbox located in the Shave menu. That will turn off all hair globally. The other is the “active” checkbox on the Shave hairShape in the attribute editor. This will locally turn off that particular hair description.
The global’s “hide hair” does not work in Vray at all. This is easy to replicate:
1. make a sphere
2. attach hair
3. render in vray -- hair will be there
4. click “hide” in Shave menu
5. render in vray -- Maya hangs.
This works fine in Maya software and mental ray. Just not in Vray.
The “active” checkbox works in Vray in the Masterlayer. However it breaks in a render layer. Here are the steps to replicate:
1. make a sphere
2. attach hair
3. render in vray -- hair will be there
4. put everything into a render layer
5. render in vray -- hair will still be there
6. apply a layer override on the “active” switch
7. render in vray -- Maya hangs.
Again, this works fine in Maya software and mental ray. Just not in Vray.
What I would like to do is remove hair from the occlussion pass, since this is a big hit on render times. The workaround I found is to have the hair in the master layer and do all my vray passes (render elements) there, except occlusion. Then make a render layer where I render occlussion in mental ray with the active switch off for the hair. This works but is somwhat unstable. Unfortunatly the error seems sort of random, but bassically the hair at some point just stops rendering. Not sure why.