dgdirty fix for maya 8.0 and 8.5
Problem: Rig using the standard subdivision proxy method where you bind the proxy to the skeleton and you render the smooth copy. If the skeleton is animated and you try this using a mentalray-for-maya render you will probably see this error
// Error: (Mayatomr.Geometry) : pCylinderShape2: mesh has no faces, ignored //
Solution: Put the following code into render-settings PreRenderLayer MEL
dgdirty -a;
UPDATE: Maya 8.5 service pack 1 (released in June 2007) fixes this problem.
I'm having this exact problem - rendering subdiv proxy meshes. I'm getting the exact error message you posted. What exactly is the code to fix this. I tried typing in what you suggested in your solution box but it didn't work. Any further recommendations? Please let me know. Thanks!
Marc
Comment by snoozeman — April 13, 2007 @ 1:59 am
Hi Marc,
You need to enter that code (as written above) into the PreRenderLayer MEL slot in the render settings window. If that is what you did, and it still isn't working, then I'm not sure what the problem would be. If you want, you can email me a scene file and I can take a look for you.
David
Comment by david — April 13, 2007 @ 9:54 pm
David,
Thanks for getting back to me. Ok, i'll give it another try. If it doesn't work, I'll send the file along in an email. What is your email address?
Marc
Comment by snoozeman — April 15, 2007 @ 12:22 pm
David,
I got it! It works. I went back into the file and realized I had turned the visibility off of one of my objects in the render stats. That's why it wasn't showing up. So thanks.
Marc
Comment by snoozeman — April 15, 2007 @ 1:45 pm
Hi,
I want to thank you a lot for this tip.
You saved my work with this little detail.
Thanks a lot David, thanks internet
Jean-Stéphane Beetschen
(Paris, France)
Comment by jess3d — March 28, 2008 @ 5:10 am