https://www.posetteforever.com/viewtopic.php?f=68&t=1371
-----------------------------------
Visitor
Thursday, 07 April 2005, 02:54 AM

[Tutorial] Simple MAT Pose Creation
-----------------------------------
[align=center][b][size=14]Simple MAT Pose Creation[/size][/b][/align]

[b]Software used[/b]
Poser
A text editor of your choice
[url=http://www.gzip.org/]gzip (optional)

[b]Overview[/b]
There are various utilities and tutorials for the creation of MAT pose files for Poser.  They tend to make what should me a simple procedure seem much more complex than it needs to be.  As a result, I developed this simple method, this tutorial will be present that method.  A MAT pose is nothing more than the material section of a Poser character/figure CR2 file stored within a minimal pose PZ2 file.

[b]Preparing your tool kit[/b]
You will need one or more minimal pose files, depending on which versions of Poser your MAT files will support. For MAT poses that support Poser 4 or latter use this:

[quote][b]{
version
[tab]{
[tab]number 4.01
[tab]}
figure
[tab]{
[tab]}
}[/b][/quote]

For MAT poses that support the features of Poser 5 and if they don't look good with Poser 4, replace the "4.01" with "5".  For the same situation with Poser 6 replace the "4.01" with "6".  Save the file with any name you want, for this tutorial name it "minimal.pz2".

[b]Preparation[/b]
Load your character, apply and fine tune its textures.  Save the character in the character library.  Save the character in the pose library.

[b]Extracting The material Blocks[/b]
In your text editor, load the character's CR2 file.  Locate the first line of the materials section. The line looks like this:"material skin". The word "skin" may be a different word, that does not matter.  What does matter is that it is the first line that begins with the "material".  Delete everything that proceeds that line.  Now go the the end of the file and locate the line that looks like this: "displayMode USEPARENT".  Once again the second word may be different and the important word to look for is "displayMode".  Delete that line and all the lines following it.  What you are left with is your material settings (texture) for your character.  Save your material blocks in a temporary file or copy it all to the clip boards, depending on how your text editor works.

[b]Building the MAT Pose File[/b]
You will now Insert the material blocks that you have just extracted from the CR2 file into a copy of your minimal pose file.  Load "minimal.pz2" into your text editor locate the cursor between the opening and closing pair of braces following the word "figure".  Paste the material blocks from the clipboard or read in the temporary file, again depending on the way that you text editor works.  Save the file with the same name as the Pose that you added to the library, with a pz2 extension.  Now copy the file in place of the pose that you save in the pose library.  And you are ready to test or use your MAT pose.

[b]Detail[/b]
Starting with Poser 4 PP, Poser can save the library files either as compressed or uncompressed text file.  The procedures presented here assumed that the files you are working with are not compressed.  A CR2 and PZ2 files are not compressed.  The compressed versions them are CRZ and P2Z files.  If Poser is compressing your files when saving them or adding them to the library, you will need to turn off that feature prior to adding the figure and pose to the library, so that your text editor can read them.  If that is not an option, uncompressing them is easy there are a few Poser utilities and PoserPythons scripts that can do that for you.  Since compressed Poser files are not an exotic format, they are nothing more than the regular files such as CR2 that have been compressed using the standard gzip format.  So you can use the [url=http://www.gzip.org/]GNU gzip program or some other program that can uncompress such files.

[b]Samples[/b]
Below are a few sample images that I rendered with a MAT pose that created while preparing this tutorial.  No postwork was applied and the renders were done with non-chromatic three point lighting. Top row, left to right: the stock Posette model with her default texture, [url=http://www.juno.dti.ne.jp/%7Eyamato-k/]Yamato's Linlin character with he default texture, my Betty character with her default texture that I created by enhancing the standard Posette texture.  Bottom row, left to right: Posette with Betty's texture applied as a Poser 4 MAT pose, [url=http://www.juno.dti.ne.jp/%7Eyamato-k/]Yamatos's Linlin with Betty's texture also applied as a Poser 5 MAT pose, my Regina character with her new base texture (still a WIP) that I painted from scratch.  Why is Regina here?  I had an empty space in the grid, and she didn't want to be left out.


Now, let's make art and help beautify the world.

Pangor
© 2005


-----------------------------------
pur0nrg
Thursday, 07 April 2005, 07:53 AM


-----------------------------------
Thanks so much Pangor I think I just might be able to accomplish that!  :bigrinnin:


-----------------------------------
Ozymandias Jones
Monday, 11 April 2005, 07:00 AM


-----------------------------------
Many thanks for taking the time to do this. It's very much appreciated.

Now I need to practice....  :roll:


-----------------------------------
Visitor
Monday, 11 April 2005, 08:10 AM


-----------------------------------
You are welcome.

Pangor


-----------------------------------
Tormie
Thursday, 14 April 2005, 08:14 AM


-----------------------------------
Yes, thank you pangor. I'll do some exercises in the weekend ! (an take 0 at school monday  :x )


-----------------------------------
Visitor
Thursday, 14 April 2005, 04:15 PM


-----------------------------------
;-)

Welcome.

Pangor


-----------------------------------
Visitor
Tuesday, 31 May 2005, 07:21 PM


-----------------------------------
I have edited this tutorial to correct a typo that was brought to my attention.  In the process I found a few more and have corrected them also. Some were poor grammer while others were a little more confusing, sorry.

Pangor


-----------------------------------
Tormie
Tuesday, 31 May 2005, 11:59 PM


-----------------------------------
=; No problem pangor  :bigrinnin: !! Thank you again for your tut !


-----------------------------------
JanReinar
Wednesday, 01 June 2005, 12:09 AM


-----------------------------------
Thanks for the tut Pangor! :)


-----------------------------------
Visitor
Wednesday, 01 June 2005, 01:17 AM


-----------------------------------
Welcome

;-)

Pangor


-----------------------------------
Tormie
Saturday, 23 June 2007, 05:42 PM

Re: [Tutorial] Simple MAT Pose Creation
-----------------------------------
I just used it, thank you Pangor :yeah:


