edit: fixed the bug: if selection.count > 0 then(output_file = createfile "C:Program Files (x86)AdobePhotoshop CSUVWscript.js"docusize = 1024format "var docSize = %;n" docusize to:output_file--write to filefor i = 1 to NMV = polyOp.getNumMapVerts $ 1 do--start of map vertex array. this goes into the V = Array(x,x,x) part.…
so far, i've failed to find a way to improve the speed of the JS, but i added an "expand" function to it now, so that the borders are increased by 2 pixels: if selection.count > 0 then(output_file = createfile "C:Program Files (x86)AdobePhotoshop CSUVWscript.js"docusize = 1024format "var docSize = %;n" docusize…
short answer: no. long answer: NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO. edit: got it working with full polys now: if selection.count > 0 then(output_file = createfile "C:Program Files (x86)AdobePhotoshop CSUVWscript.js"docusize = 1024format "var docSize = %;n" docusize…
some more modifications to the script: this time it will automatically figure out the size of your bitmap, based on the size of the diffuse texture applied to the selected object. macroScript saveUVstophotoshop category:"Dejascripts" tooltip:"unwrap UVWs into photoshop selection" Icon:#("GameTools",2)(if selection.count >…
made another script. this one exports the UVs as vectors into photoshop. it doesn't work on objects with more than 1000 polygons though, photoshop just throws an error. trying to figure out how to work around this currently: (if selection.count > 0 then(output_file = createfile "C:UVWscript.js"docusize =…
sorry for the wait, i finally managed to get empire total war working :P anyways i'm back, and i figured some way to launch the script from 3ds max. here's the modified maxscript first: macroScript saveUVstophotoshop category:"Dejascripts" tooltip:"unwrap UVWs into photoshop selection" Icon:#("GameTools",2)(if…
hi All, been working all day on this thing. its a script that exports an objects UVWs from 3ds max into photoshop as a selection. its currently very rough, mostly because i'm not a coder, and because i started messing with javascript 2 days ago :P its mostly for practice and proof of concept. if selection.count > 0…