Batching
08-18-2009, 10:10 AM
Hello,
I have written an OBJ exporter(in mel) to export my mesh on certain frames in the timeline.
Export materials was always set to "false" because I didnt need texture info.
Now I want it to also export the texture of the mesh. But when I turn export materials on, it exports all the textures in my scene. not just the texture of the selected object.
Is this correct? How can I fix it so it will only export the texture of my selected mesh.
I did some searches on internet before posting and found I maybe needed to use the fwrite command. But the MEL command reference doesn't give much info about that... :(
Thanks,
Boyo
I have written an OBJ exporter(in mel) to export my mesh on certain frames in the timeline.
Export materials was always set to "false" because I didnt need texture info.
Now I want it to also export the texture of the mesh. But when I turn export materials on, it exports all the textures in my scene. not just the texture of the selected object.
Is this correct? How can I fix it so it will only export the texture of my selected mesh.
I did some searches on internet before posting and found I maybe needed to use the fwrite command. But the MEL command reference doesn't give much info about that... :(
Thanks,
Boyo
