Forum: Poser - OFFICIAL


Subject: Can READSCRIPT used in a CR2 file,import PZ2 MAT/texture file ?

LBJ2 opened this issue on Feb 21, 2008 · 5 posts


LBJ2 posted Fri, 22 February 2008 at 10:59 AM

Quote - Hi there,

I think the easiest way to make a mat pose is to grab one that for the figure you are working with and replace textures with yours.

Just find the texture name in the pz2 file:
[code]         textureMap "RuntimetexturesTexture folder nameTexture_name.jpg"
 [/code]

Got to the find/replace option in your editing programs and replace it with the texture you want to go in place of it.

It only takes a little while and it helps you find the parts of the body in the pz2.

Regards

Eshal

Hiya  and thanks for the reply I found a little utility script at Daz forum called "Poser MATexporter for Daz Studio" .
Of what people write its almost the same as a util called ShaderSpider for Poser.

Poser Mat exporter for D|S works fine and is easy to work with as soon as one learn to select the surfaces 

I export the MAT from a excisting character in P5 format(PZ2 file).
It has a P6 export format too called *.MC6, but i have a feeling that D|S might not like that format.
So i use P5 PZ2 format.

Its still my goal to make it all happen from a 1 click CR2 file.

The CR2 file now looks like this:

Code:
{
   version
   {
      number 4.01
   }
   readScript ":Runtime:libraries:Character:DAZ People:Victoria 4.2.cr2"
   readScript ":Runtime:libraries:!DAZ:Victoria 4:Deltas:InjDeltas.V4Morphs++All.pz2"
   readScript ":Runtime:libraries:!DAZ:Victoria 4:Deltas:InjDeltas.MuscleAll.pz2"
   readScript ":Runtime:libraries:Pose:Julla:MYTOON.pz2"
  
   readScript ":Runtime:libraries:Pose:Julla:MYMAT_P5.pz2"
}
 

"Mytoon.pz2"(the custom character) is applied fine(IF i add a ":1" at the end of each line starting with Actor, in th PZ2)

BUT...

MYMAT_P5.pz2(the texture for thee character)... will not apply using readScript.

But it works fine if i apply it manually.

SOSO... i examined the "MYMAT_P5.pz2" in a text editor.
But ...There is no lines with the "Actor" tag in it.
So nowhere to apply a ":1".....

But i bet its almost the same type of problem.

So the question is......

What does the "Poser Mat exporter for DS" forget to put in it's PZ2 file?

To make i work by calling the PZ2 from within a CR2, using readScript command???? 

Is there some kinda of reference similar to ":1" that could be essential for it to work?
 

Best Regards
LBJ Denmark