Community
Maya Shading, Lighting and Rendering
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya materials topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Fill texture seams" not available for rendering lightmap on the command line

1 REPLY 1
Reply
Message 1 of 2
Anonymous
509 Views, 1 Reply

"Fill texture seams" not available for rendering lightmap on the command line

I'm trying to generate a lightmap from the command line using Mental Ray. If I render from inside Maya the "Mental Ray Baking Options" have a "Fill Texture Seams" setting.

When I run the command line: Render -r lightmap all the settings are available except for 'Fill Texture Seams"

 

Is there a way to set this value from the command line?

 

Thanks!

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

I figured out how to enable this command line parameter, on mac:

 

Edit Maya.app/Contents/bin/rendererDesc/lightmapRenderer.xml and add:

<attr n="fillTextureSeams" p="1" s='($tmpSet + ".fillTextureSeams")' t="float" h="Set the Fill Texture Seams"/>

after this node:

<attr n="vMax" p="1" s='($tmpSet + ".vMax")' t="float" h="Max V value for lightmap. Used if uvRange is set to User Specified."/>

No the parameter will be taken into account on the command line.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report