Sat, Jan 25, 6:47 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 24 6:22 pm)



Subject: Complete Reference of Poser File syntax


Photopium ( ) posted Thu, 29 December 2005 at 12:05 PM · edited Wed, 27 November 2024 at 5:42 PM

Does it exist and where can I find it? Thanks -WTB


nruddock ( ) posted Thu, 29 December 2005 at 1:11 PM

"Does it exist and where can I find it?"

Appendix B of the P6 gives some basic information about the file structure.

There is (or was) a site that listed the meanings of the "GetStringRes" values, but I've not seen an attempt to list the keywords used.

Your best bet would be to mine the executable for strings (Dodger mentioned this once if you can locate the thread).

One attempt at parser is -> ThePoserParser v0.1

Dodger posted some scripts at RFI that might be of use -> http://rfi.elgeneralisimo.com/forums/index.php/topic,57.0.html

There's a decision you have to make when writing a parser for Poser files, which is whether to include all the keywords and their substructure, or leave a more detailed interpretation to something else.
My own attempts at parsing Poser files have concentrated on the latter.
IMHO it's a pity EF didn't introduce an XML based format.


Miss Nancy ( ) posted Thu, 29 December 2005 at 1:40 PM

I have a wp file called Poser File Format (400 kb) that was distributed by Curious labs in 2001, so it's not up-to-date. But they may still have it on their site. I think it was written by Nosfiratu (member here).



layingback ( ) posted Thu, 29 December 2005 at 1:43 PM

The file distibuted by CL referred to by MissNancy was included in the manual which was written by Nosfiratu - so there are one and the same. William, if you don't have P6 you'll find it in an Appendix for P5 as well.


Photopium ( ) posted Thu, 29 December 2005 at 1:57 PM

I'll check the pdf again, but what I saw in there was incredibly vague and non-comprehensive


nruddock ( ) posted Thu, 29 December 2005 at 2:41 PM

"what I saw in there was incredibly vague and non-comprehensive"
Yep ;) but it's the only official information around (and is enough to do basic things with the file structure).


Photopium ( ) posted Thu, 29 December 2005 at 2:43 PM

I'm a little bit beyond basic ;) I'm really looking for things to do in a cr2 that I haven't come across yet is all. -WTB


MachineClaw ( ) posted Thu, 29 December 2005 at 3:06 PM

Check the Secrets of Poser 5 Figure creation book. It has lots of explanations of syntax in the back of the book. How to hand code morph deltas etc. Good book.


spedler ( ) posted Thu, 29 December 2005 at 3:34 PM

Attached Link: http://www.kuroyumes-developmentzone.com/poser/poserfilespec/ucr2filespec.html

You could also try kuroyume's 'unofficial CR2 specification' at the link.

Steve


kuroyume0161 ( ) posted Thu, 29 December 2005 at 3:36 PM

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


kuroyume0161 ( ) posted Thu, 29 December 2005 at 3:36 PM

Oops - cross-post!

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


spedler ( ) posted Thu, 29 December 2005 at 3:38 PM

He he - I wondered if I'd get that in before you did, Robert!

Steve


modus0 ( ) posted Thu, 29 December 2005 at 3:42 PM

Attached Link: http://www.rbtwhiz.com/

This is the site nruddock was referring to for "GetStringRes".

________________________________________________________________

If you're joking that's just cruel, but if you're being sarcastic, that's even worse.


evesnetwork ( ) posted Thu, 29 December 2005 at 3:46 PM

The unofficial CR2 spec was helpful to me even with other Poser files. Using it, I was able to code a module that writes PZ2 animated pose files.

JJWizard
Cyberoid Digital Studios


mathman ( ) posted Thu, 29 December 2005 at 4:39 PM

.


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.


XFX3d ( ) posted Tue, 17 January 2006 at 10:12 AM

Oh, and it should also be noted: Dodger has successfully completed a basic Wavefront Object module for Perl which allows scaling, translation, and rotation in Perl code. It doesn't deal with splines and stuff - mostly only Poser-compatible OBJs, but still. http://cpan.uwinnipeg.ca/dist/Model3D-WavefrontObject

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


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.