mamba-negra opened this issue on Aug 16, 2011 · 7 posts
mamba-negra posted Tue, 16 August 2011 at 11:03 PM Online Now!
I was thinking that I had seen a script that functioned as a pz3 parser that would save you from having to cache all of the details if you were then going to manipulate the file and save it back out.
Is this true, or am I imagining things? If I'm not insane...could someone point me in the right direction?
thanks!
markschum posted Tue, 16 August 2011 at 11:46 PM
There was a parser in freestuff. I never tried it so cant comment.
http://www.renderosity.com/mod/freestuff/details.php?item_id=47285
gishzida posted Wed, 17 August 2011 at 3:26 AM
What kinds of manipulations were you thinking of doing after the file was parsed?
mamba-negra posted Wed, 17 August 2011 at 7:14 AM Online Now!
Well, for the most part, just drop stuff (namely those dials set to zero) from pose files. But, I can see some other more sophisticated stuff later on. It's not hard to write, but it would take some time to do a relatively complete job.
gishzida posted Wed, 17 August 2011 at 11:52 PM
go visit Ockham's Poser Python Bungalow HERE -- He's got a whole bunch of things that do that kind of thing... it is also a good resource to look in Rendo's freebies for Scripts there are other's that have free scripts up on the WWW... a quick look on Google will find others...
The parser library is probably overkill (though if you already have C++ programming skills then it's no big deal...)
A script whether internal of external to Poser is better than manually doing things... for example I just spent several hours converting RDNA's V3 skin tone shader PZ2s for use with BVH's Angela 3... It would have gone a lot faster with a script but I only convert these pz2 one in a long while (the last time was for TY2 a couple of years ago).
Parsing is a good idea though... A while ago I hacked together a "expression cleaner" script to remove "face morph" settings and leave only the actual face expression but it was not a "safe" implementation. It expected to find a particular thing on a specific line of the fc2 file if it did not it trashed the resulting fc2)...
If you're not familiar with Python and Poser Python I'd suggest getting PhilC's Poser Python e-book...
Good luck!
mamba-negra posted Thu, 18 August 2011 at 12:20 AM Online Now!
And there it is! That looks like what I need right now.
Thanks much!
markschum posted Thu, 18 August 2011 at 9:33 AM
look through freestuff here. There were several morph cleaners to do just what you want.