PDA

View Full Version : Export texture problem with obj exporter


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

CGTalk Moderation
08-18-2009, 10:10 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.