I tried that first, but I cannot seem to find the file after I hit convert and close. Where can I find the texture? There was no option for setting the export. And after converting, if I do an UV snapshot, it will still not export the shader with the UV maps.Im not sure if this is what your looking for:
Convert to File Texture
Thank you.If you converted to texture, it's usually in the sourceimages folder but the file should be loaded into the scene now so you can check through that anyway. Although since you're using multiple shaders on a surface you might want to use the transfer maps feature instead. Lighting/Shading>Transfer Maps, just duplicate the geometry and use those as the source and target mesh and output a diffuse map.
For the cube, the renderer was on maya software. But that doesn't seem to be the problem.Im not sure that baking that way will work if you are using mental ray, try changing to maya software or use the batch baking (mental ray).................dave
This is what S.E. says:Hmm is anything showing up in the script editor?
Before -r pCube1, I forgot to select the cube. But now it says it needs at least one target surface. What does that mean?file -f -new;
// untitled //
commandPort -securityWarning -name commandportDefault;
updateRendererUI;
file -f -options "v=0" -typ "mayaBinary" -o "D:/Test/Cube.mb";addRecentFile("D:/Test/Cube.mb", "mayaBinary");
requires "stereoCamera" "10.0";
// File read in 0 seconds.
// Warning: The currently active tab is not a scene tab. This icon size change operation is not implemented for this tab. //
select -r pCube1 ;
surfaceSampler -target pCubeShape1 -uvSet map1 -searchOffset 0 -maxSearchDistance 0 -searchCage "" -mapOutput diffuseRGB -mapWidth 256 -mapHeight 256 -max 1 -mapSpace tangent -mapMaterials 1 -shadows 1 -filename "D:/Test/Cubetex" -fileFormat "png" -superSampling 1 -filterType 0 -filterSize 3 -overscan 1 -searchMethod 0 -useGeometryNormals 1 -ignoreMirroredFaces 0 -flipU 0 -flipV 0
// Warning: At least one source and one destination surface must be specified //
select -r pCube1 ;
// Error: Please setup at least one target surface //
// Error: Please setup at least one target surface //
Thank you, I forgot that I had to copy it before that.I showed it in the video, load one model as the target mesh and the duplicate as the source mesh.