Hi, I have found the solution: the shadingNode that I assing to polySurfaceShape1 didn´t have the flag "asTexture", so I didn´t assing any texture to the poly.
cmds.shadingNode( type, asShader=True, name=name ) so inserting the new flag... cmds.shadingNode( type, asShader=True, asTexture=True, name=name ) Despite of this, I continue have the same warning, but the in the rendered image appears the poly surface. (This is strange because with the default maya render, the image was rendered without this flag, but in mental ray this flag is needed) Thank you! Omar. 2009/3/25 Omar Agudo <[email protected]>: > Hi, > > I am trying to render a scene (test.ma) with mental ray in standalone > mode, but I obtain this warning: > > Warning: (Mayatomr.Scene) : polySurfaceShape1: empty UV set map1 > detected, ignored > > and when the render is completed the polySurfaceShape1 doesn´t appear > in the scene. I have tried to delete the map1 UV set, but I get the > same warning. > > Any ideas?? > > Thank you!!!! > > Omar. > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
