Hey man,
Really stuck with work right now, but I whipped up this little script that might help you with the second part.
Code: Select all//creates a plane for you to assign your texture to
polyPlane -w 24 -h 24 -sx 10 -sy 10 -ax 0 1 0 -tx 1 -ch 1 -n deadalvsTextureMe;
///////////////////////////////////////////////////////////////////////////////
//with the plane textured, set the following variables
int $res = 512; //the res of your exported map
string $yourPathPlusNameNOEXT = "C:/Documents and Settings/Matt/Desktop/yourMap"; //the path where you want to save, and the filename with NO extension
//////////////////////////////////////////////////////////////////////////////
//when you have done that, run the following :
polyPlane -w 24 -h 24 -sx 10 -sy 10 -ax 0 1 0 -tx 1 -ch 1 -n textureGrabber;
setAttr "textureGrabber.visibility" 0;
eval ("surfaceSampler -target textureGrabberShape -uvSet map1 -searchOffset 0 -maxSearchDistance 0 -searchCage \"\" -source deadalvsTextureMeShape -mapOutput diffuseRGB -mapWidth " + $res + " -mapHeight " + $res + " -max 1 -mapSpace tangent -mapMaterials 1 -shadows 0 -filename \"" + $yourPathPlusNameNOEXT + "\" -fileFormat \"jpg\" -superSampling 2 -filterType 0 -filterSize 3 -overscan 1 -searchMethod 0 -useGeometryNormals 1;");
Run the first part, that'll create a plane. You can then add whatever texture you want onto it. Then run the rest of the script and it'll output an image of your texture.
Just the input to go, eh?
Well, back to work,
Cheers,
Dr Merman