PDA

View Full Version : How do I make the shaveHair plugin work with mental ray's subdivDisplaySmoothness?



tomcallicoat
04-15-2011, 05:28 PM
Hi All!

Our pipeline relies on mental ray's subdivDisplaySmoothness to smooth geo at render time. I'm trying to get shaveHair working with mental ray's subdivDisplaySmoothness so that the shape of the hair matches the smoothed geo shape. Currently the shape of the hair seems to be conforming to the unsmoothed geo as if it cannot see the subdivDisplaySmoothness.

For example if I make a pCube and set its subdivDisplaySmoothness -smoothness 3; the pCube renders as a sphere in mental ray. But if I apply the default shaveHair to the pCube (with display smoothness set at 3) the hair renders unsmoothed like a cube so it looks like a hairy cube with a smoothed sphere inside.

How do I get shaveHair to accept the display smoothness settings of the geo it is applied to?

Thanks for any assistance!