AtrusDni
07-02-2007, 08:22 PM
Hey guys, im using the following code:
string $Obj = cube;
createNode "textureBakeSet" -n "mybakeset";
setAttr "mybakeset.colorMode" 0;
setAttr "mybakeset.xResolution" 1024;
setAttr "mybakeset.yResolution" 1024;
setAttr "mybakeset.fillTextureSeams" 1;
setAttr "mybakeset.bakeToOneMap" 1;
convertLightmap -bo "mybakeset" initialShadingGroup $Obj;
So i am basically making a bake set to add more custom options to Mental Ray's PreLight function, and then trying to bake out the textures, but it just returns:
error
Nothing else, no descriptive inormation or anything. Any Ideas?
string $Obj = cube;
createNode "textureBakeSet" -n "mybakeset";
setAttr "mybakeset.colorMode" 0;
setAttr "mybakeset.xResolution" 1024;
setAttr "mybakeset.yResolution" 1024;
setAttr "mybakeset.fillTextureSeams" 1;
setAttr "mybakeset.bakeToOneMap" 1;
convertLightmap -bo "mybakeset" initialShadingGroup $Obj;
So i am basically making a bake set to add more custom options to Mental Ray's PreLight function, and then trying to bake out the textures, but it just returns:
error
Nothing else, no descriptive inormation or anything. Any Ideas?
