Import OBJ together with texture - Zscripting question
Anyone better in zscripting than me can help me figure out how to import *.obj file together with *.psd texture ?
obj and texture is in same folder they have same name and texture is always *.psd
I think once i get path to *.obj basically i have path to texture just cant figure out how to change extension in path from *.obj to *.psd
So far i mixed some scripts together added few lines of mine and it load obj after that it load texture onto imported model but i have to select texture when popup window ask for it...
In first post you have attached macro in case someone find it usefull
What it does it import obj file together with texture then flip UV coords vertically
texture have to be in same folder and have same name as imported obj
it's set to import *.psd textures but you can edit script and change it to any other you using most