Baking Mental Ray Rendering into textures

Hi,
According the online document, I have to first select the object then choose bake to texture. The result I got is an entirely black texture??
I have turn on the bake shadow option but not the alpha. The light setting was set to use DepthMap shadows... wonder what went wrong....
Anything that I missed out??

Thanks

Zin

could this help?

http://www.highend3d.com/boards/showthreaded.php?Cat=1,2&Board=MayaMR&Number=127860&page=1&view=collapsed&sb=5&o=all&fpart=http://www.highend3d.com/boards/showthread...=all&fpart=

I know this is probably a stupid question but do you have any lights in the scene?

I have messed with this a little. I am using maya 5 so things might be different with mental ray. I have uesed this with both mentalray and the maya raytracer. Mental ray seems not to work very well. You basically have to have allot of texel space in your uv lay out. So make the textures big and numerous becuase there is not edge expansion done afterward. YOu get nasty black lines around the edges of breaks in uv. But the maya renderer works not to bad. You have to select the object. Then the Shading group node. Then bake to texture. Make sure that if you are using polygons that you have some usefull UVs. IE don't overlap them on the 0 to 1 texture space.

Hi.
I have a problem with Batch Bake (mental ray).
I am using Maya5.0.
I really need to "Fill Texture Seams" (under texture Bake Set tab) to work correctry.
So I don't get black lines around texture seams.
Has anybody figured out how to use this?

I've found that the texel margin settings in MR don't work. Period.

It's pretty easy to create a batch script in photoshop to go through and fill in the seems though.

Thank you for your reply.
I found Maya 5.01 seems to work properly.
But not as much amount as DeepPaint.