MrMint
02-03-2010, 07:46 AM
I am pretty sure that I am missing something but until now I couldnt figure out why my vertexColor is not rendered in mental ray. I am using maya2009 with SP1. There had been an issue with 2009 but this has been fixed (incorrect rendering but mine doesn't render at all)
==================================
From the sp1 release notes from autodesk
(http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=12715497&linkID=9242259)-------------------------------------
Color per vertex shading
Due to an optimization in CG 2.0, color per vertex shading was incorrectly rendered in the Render View and in batch rendering. This has been fixed.
==================================
This is what I have done so far:
- Color>Apply Color with selected faces
- Create MR-Nodes (mentalrayVertexColors, mib_illum_lambert but also tried mia_material)
- Pluged the color-set of the model into the cpv-set of the mentalrayVertexColors1 and the out-color into mib_illum_lambert1.ambient.
(connectAttr -f ScubaGearShape.colorSet[0].colorName mentalrayVertexColors1.cpvSets[0];
connectAttr -f mentalrayVertexColors1.outColor mib_illum_lambert1.ambient;)
- Checked export VertexColor in the MentalRay-options-tab.
http://img62.imageshack.us/img62/371/connectionb.jpg (http://img62.imageshack.us/i/connectionb.jpg/)
I guess this should be it, but no color to see at all. Its all just black.
And the final question is...what am I missing?
==================================
From the sp1 release notes from autodesk
(http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=12715497&linkID=9242259)-------------------------------------
Color per vertex shading
Due to an optimization in CG 2.0, color per vertex shading was incorrectly rendered in the Render View and in batch rendering. This has been fixed.
==================================
This is what I have done so far:
- Color>Apply Color with selected faces
- Create MR-Nodes (mentalrayVertexColors, mib_illum_lambert but also tried mia_material)
- Pluged the color-set of the model into the cpv-set of the mentalrayVertexColors1 and the out-color into mib_illum_lambert1.ambient.
(connectAttr -f ScubaGearShape.colorSet[0].colorName mentalrayVertexColors1.cpvSets[0];
connectAttr -f mentalrayVertexColors1.outColor mib_illum_lambert1.ambient;)
- Checked export VertexColor in the MentalRay-options-tab.
http://img62.imageshack.us/img62/371/connectionb.jpg (http://img62.imageshack.us/i/connectionb.jpg/)
I guess this should be it, but no color to see at all. Its all just black.
And the final question is...what am I missing?
