Forum: Poser - OFFICIAL


Subject: Is there a Python fix for buggy Poser 5=>Wavefront mtl export?

Jovial opened this issue on Jul 30, 2005 ยท 4 posts


Jovial posted Sun, 31 July 2005 at 9:52 AM

Hi Stewer,

Thankyou very much for your help. I was getting there with a home grown python script to write the materials for my characters into a .mtl file. Your input has put the icing on the cake and I now have a complete .mtl file writing solution.

Unfortunately Poser 5 seems to be a bit mucked up internally as I cannot get the script to replicate the ordering and numbering of the materials that Poser 5 uses when it writes the wavefront .obj and .mtl files. I do not think this is a problem with the script but rather that Poser is not outputing the .mtl materials in a consistent way. There seems to be some confusion with parented props (e.g. Hair) but it is not predictable.

My research has indicated that you can now save the actual transprency map (if there is one) because Pose-Ray 3.8.11 handles these correctly. This is really useful for those transmapped eyelashes - and the like!

Now I probably need to get a Python programming book as the online documentation at Python.org is extensive but somewhat less than helpful.

Regards from Jovial.