cool - thanks.
I'm just working on the script a little to be more production-quality, instead of just hammering one file every time.
Code: Select all
string $currentSceneName = `file -q -sn -shn`;
string $currentWorkingSpace = `workspace -q -fullName`;
file -force -options "(groups=1;ptgroups=1;materials=1;smoothing=0;normals=1"
-typ "OBJexport" -pr
-es (($currentWorkingSpace + "/octane/") + ($currentSceneName));
That newer script will put the scene name in the obj and put the obj in a project directory called "octane". You have to create this folder or the script will fail. If you want to avoid having redundant textures, just change the "/octane/" part to be the directory where you keep your texture files ("/sourceimages/", for example). Anyway, I'm finding this quite handy:
http://grab.by/444p
save a copy to your shelf and click it any time you want to make an Octane-ready OBJ folder.