Forum: Poser - OFFICIAL


Subject: Complete Reference of Poser File syntax

Photopium opened this issue on Dec 29, 2005 ยท 17 posts


XFX3d posted Tue, 17 January 2006 at 10:02 AM

Secrets of Figure Creation with Poser 7, the second edition of SOFCWP5, will be coming out hopefully near the end of this year, as well. Just a note: Dodger has been working on a Perl module to parse Poser (PML) files into data structures, including manipulation methods. It's not done yet, but he has had some fair success, including the ability to translate a standard Poser file (no readScripts) into XML (though it should be noted that Michael 3.xml is friggin HUGE) One of the problems with having it parse intelligently is that PML (Poser Markup Language) is really inconsistent in its structure. The weld and addChild directives are strong examples of this, as is the format of ERC code and the sphereMatZones directive: both of the latter should be delineated a block for consistency, but aren't. It should also be noted that severap programmers have done this already, including Ajax. EasyPose Underground very clearly parses Poser files into its internal data structure and writes them back out. Also, finally, if you get vim (www.vim.org) and Dodger's Poser syntax highlighting plugin for vim, you'll find that the latter contains most of the information you want in a very basic and non-verbose format, and that could be of some help. It needs an update or two that he will do someday when he gets a round tuit, but it's pretty comprehensive and includes things that aren't usually seen in most PML files. This plugin file won't tell you what things do, but it will tell you what they are (though you'll have to work out a bit of basic vim script to make sense of it)

I'm the asshole. You wanna be a shit? You gotta go through ME.