Reddog9 opened this issue on Jun 15, 2009 ยท 22 posts
lisarichie posted Tue, 16 June 2009 at 1:14 PM
My second post has example of corrected figureResFile line in bold face.
Normal CR2 file contains two figureResFile lines while a PP2 file with external geometry has an
objFileGeom 0 0 :runtime:geometries:xxxx:pppp.obj
line that replaces the function of the figureResFile line of the CR2. Note that the path structure is Unix style, this ensures maximum compatibility cross platform. Mixing colons and slashes in a search path is generally considered a bad idea.
Crack open a simple figure CR2 in a text editor and take a look at the material coding to get an idea of how materials are written to the CR2. The coding is the basically the same for the other Poser format files that contain material info.
Also to the best of my understanding it is better to have version # as 4.01 rather than 4, I think it has something to do with ProPack versus Poser 4 in regards to material handling.
Ockham, lesbentley, PhilC, and bagginsbill are all very good at Poser files and have always appeared willing to assist so you could probably ask any of them to provide insight into the deeper workings of the Poser file structure. (I'm just muddling through the coding in self defense.:blink:)
I have Poser, if you would like me to create a CR2 of each figure in Poser so you can do a side-by-side comparison of the file structures for analysis just let me know.
With properly formatted output you can be reasonably sure that the files will work in both D|S and Poser.
Again, good work on getting the script this far along and if I can help you please feel free to contact me.