Mon, Sep 9, 7:09 AM CDT

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Sep 09 6:38 am)



Subject: .MC6 Material Library question


papillon68 ( ) posted Sun, 08 November 2009 at 9:31 AM · edited Tue, 03 September 2024 at 7:24 PM

Hi, I have a figure which has some parented props. It seems I can't create a material library that would contain also prop materials.
When I select my figure, and I click on the + sign to create a new material library set, it let me choose only the material belonging to the figure, while parented prop ones are not displayed.
Is this supposed to be this way, or there is a trick to do it ? Thanks again.

visit my blog:  www.alessandromastronardi.com

My Rendo Store


ockham ( ) posted Sun, 08 November 2009 at 9:36 AM

file_442713.jpg

You'll need to select the prop itself first.  The prop won't appear in the main list of props when no figure is selected; it will appear under props AFTER you've selected the figure that owns it.

My python page
My ShareCG freebies


papillon68 ( ) posted Sun, 08 November 2009 at 9:57 AM

Hi ockham, thanks for your answer. I'm not sure I understand: I'm trying to create a .MC6 material collection including the figure material, and all the parented props materials.
When I select the figure, and I try to create the material collection, in the popup window I can only choose the materials belonging to the figure: no parented props materials are shown.
I'm on a Poser Pro Mac.

visit my blog:  www.alessandromastronardi.com

My Rendo Store


ockham ( ) posted Sun, 08 November 2009 at 10:15 AM

For a complete MC6 you'll probably have to save separate files for each prop
and edit them together. 

Or save the figure as a CR2, which will include everything ...  and then locate
the materials in the CR2 and edit them into PZ2 (MATpose) form.

My python page
My ShareCG freebies


ockham ( ) posted Sun, 08 November 2009 at 10:41 AM

Here's a template for a PZ2 that changes a material on the figure itself and a
material on an attached prop.  (In this case the prop is a skirt.)

Note that I've shortened the material paragraphs so you can see the format.

========================================

{

version
    {
    number 4.01
    }
figure
    {
    material SkinTorso
        {
        KdColor 0 1 0 1
        KaColor 0 0 0 1
        KsColor 0.0196078 0.0196078 0.0196078 1
        TextureColor 1 1 1 1
        NsExponent 30
       ...................
        }
    }
actor CowgirlSkirt
    {
    material skirt
        {
        KdColor 0.933333 0.933333 0.933333 1
        KaColor 0.2 0.2 0.2 0
        KsColor 0.498039 0.498039 0.498039 1
        TextureColor 1 1 1 1
       ...................
        }
    }
}

My python page
My ShareCG freebies


papillon68 ( ) posted Sun, 08 November 2009 at 10:44 AM

Well, thank you very much ockham, I was just searching how to create those .pz2 files and you were so kind to provide the best info ! Very much appreciated...

visit my blog:  www.alessandromastronardi.com

My Rendo Store


nruddock ( ) posted Sun, 08 November 2009 at 10:47 AM

I suspect that as Poser isn't listing the materials for the parented props, you'll need to make seperate MC6s for each prop and the figure they're parented to.
Why, because the material room only has one selected item and will either ignore any materials not present on that item or create new and useless entries which have no affect (which was the previous behaviour, PPro may have changed it).

Attempting to make a MAT pose would run you into all the problems normally associated with pose, props and naming.

The best solution would be to write a Wacro to apply the MC6s to the appropriate props, which is called from the MC6 for the figure.


papillon68 ( ) posted Sun, 08 November 2009 at 11:16 AM · edited Sun, 08 November 2009 at 11:19 AM

Thanks for your help ! About the .pz2 file, I have troubles making it work: when I apply the pose, it correctly assign the material to the figure but not to the props. Here is my template:

{
version
{
number 4.01
}
figure
{
material body
    {
    KdColor 0.980392 0.980392 0.980392 1
    KaColor 0 0 0 0
    KsColor 0.843137 0.843137 0.843137 0.1
    ..............
    }

   
prop right_eye
    {
material right_eye
    {
    KdColor 1 0 0 1
    KaColor 1 0 0 0
    KsColor 0.984314 0.084314 0.084314 0
   .................
     }

}
}

I really can't see what might be wrong ...

visit my blog:  www.alessandromastronardi.com

My Rendo Store


papillon68 ( ) posted Sun, 08 November 2009 at 11:29 AM

Well, I made a mistake: the prop material definitions should be outside the figure block:

{
version
{
number 4.01
}
figure
{
material body
    {
    KdColor 0.980392 0.980392 0.980392 1
    KaColor 0 0 0 0
    KsColor 0.843137 0.843137 0.843137 0.1
    ..............
    }
}

prop right_eye
  {
material right_eye
    {
    KdColor 1 0 0 1
    KaColor 1 0 0 0
    KsColor 0.984314 0.084314 0.084314 0
   .................
     }
  }

}

visit my blog:  www.alessandromastronardi.com

My Rendo Store


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.