Thu, Dec 12, 5:40 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 12 3:30 am)



Subject: Partial MAT poses.. Can anyone spot the error here?


TrekkieGrrrl ( ) posted Wed, 07 January 2009 at 11:11 AM · edited Thu, 12 December 2024 at 5:33 AM

 Please, I'm at my wit's end.
I've been making partial MAT poses, with ShaderSpider™ as so many times before. The major difference is it's my first time for M4.

Anyway... For some obscure reason, the MAT poses doesn't work. They don't do ANYTHING at all. And I can't figure out WHY.

So.. if someone could take a quick gander on this and perhaps spot the error?

This particular one is an EYE MAT, and this is the Poser 5 version, those usually work fine in Poser 7.

And the location of the textures is correct, too. The ""'s should be there, right?

{

version

{

number 5

}

figure

{ {

material 5_Sclera

{

KdColor 1 1 1 1 

KaColor 1 1 1 0 

KsColor 0.14902 0.14902 0.14902 1 

TextureColor 1 1 1 1 

NsExponent 50 

tMin 0 

tMax 0 

tExpo 0 

bumpStrength 1 

ksIgnoreTexture 0 

reflectThruLights 1 

reflectThruKd 0 

textureMap ":Runtime:Textures:TrekkieGrrrl:Severus:Eyes_Blue.jpg"

  0 0 

bumpMap "NO_MAP"

reflectionMap "NO_MAP"

transparencyMap "NO_MAP"

ReflectionColor 1 1 1 1 

reflectionStrength 1 

shaderTree

{

node "poser" "PoserSurface"

{

name "PoserSurface"

pos 10 10

showPreview 1

nodeInput "Diffuse_Color"

{

name "Diffuse_Color"

value 1 1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node "Image_Map"

file "NO_MAP"

}

nodeInput "Diffuse_Value"

{

name "Diffuse_Value"

value 1 0 10

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Highlight_Color"

{

name "Specular_Color"

value 0.14902 0.14902 0.14902

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node "Image_Map"

file "NO_MAP"

}

nodeInput "Highlight_Value"

{

name "Specular_Value"

value 1 0 10

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Roughness"

{

name "Highlight_Size"

value 0.02 0 10

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Ambient_Color"

{

name "Ambient_Color"

value 1 1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Ambient_Value"

{

name "Ambient_Value"

value 0 0 10

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Transparency_Max"

{

name "Transparency"

value 0 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Transparency_Min"

{

name "Transparency_Edge"

value 0 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Transparency_Falloff"

{

name "Transparency_Falloff"

value 0 0 100

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Translucence_Color"

{

name "Translucence_Color"

value 0 0 0

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Translucence_Value"

{

name "Translucence_Value"

value 0 0 10

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Reflection_Color"

{

name "Reflection_Color"

value 1 1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Reflection_Value"

{

name "Reflection_Value"

value 1 0 10

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Refraction_Color"

{

name "Refraction_Color"

value 1 1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Refraction_Value"

{

name "Refraction_Value"

value 1 0 10

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Bump"

{

name "Bump"

value 1 -10 10

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Displacement"

{

name "Displacement"

value 1 -10 10

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "AlternateDiffuse"

{

name "Alternate_Diffuse"

value 1 1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "AlternateSpecular"

{

name "Alternate_Specular"

value 1 1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "ReflectionLiteMult"

{

name "Reflection_Lite_Mult"

value 1 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "ReflectionKdMult"

{

name "Reflection_Kd_Mult"

value 0 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Gradient_Bump"

{

name "Gradient_Bump"

value 1 -1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "ShadowCatchOnly"

{

name "Shadow_Catch_Only"

value 0 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "ToonID"

{

name "ToonID"

value 36 0 32768

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Normals_Forward"

{

name "Normals_Forward"

value 0 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

}

node "image_map" "Image_Map"

{

name "Color_Texture"

pos 300 10

nodeInput "Image_Source"

{

name "Image_Source"

value 1 1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file ":Runtime:Textures:TrekkieGrrrl:Severus:Eyes_Blue.jpg"

}

nodeInput "Auto_Fit"

{

name "Auto_Fit"

value 0 0 0

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "U_Scale"

{

name "U_Scale"

value 1 -1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "V_Scale"

{

name "V_Scale"

value 1 -1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "U_Offset"

{

name "U_Offset"

value 0 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "V_Offset"

{

name "V_Offset"

value 0 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Texture_Coords"

{

name "Texture_Coords"

value 1 0 0

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Image_Mapped"

{

name "Image_Mapped"

value 4 0 0

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Background"

{

name "Background"

value 1 1 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Global_Coordinates"

{

name "Global_Coordinates"

value 0 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Mirror_U"

{

name "Mirror_U"

value 0 0 0

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Mirror_V"

{

name "Mirror_V"

value 0 0 0

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Texture_Strength"

{

name "Texture_Strength"

value 1 0 1

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

nodeInput "Filtering"

{

name "Filtering"

value 3 0 0

parmR NO_PARM

parmG NO_PARM

parmB NO_PARM

node NO_NODE

file "NO_MAP"

}

}

}

} {

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



JenX ( ) posted Wed, 07 January 2009 at 11:24 AM

is that last "{" part of your file?  That might be causing a problem.  Everything else I see is pretty much the same as MATs I've made...

Sitemail | Freestuff | Craftythings | Youtube|

Knowledge is knowing a tomato is a fruit. Wisdom is not putting it into a fruit salad.


ockham ( ) posted Wed, 07 January 2009 at 11:40 AM

There is also an extra { just after the word 'figure' near the top.
You should go through and count the brackets, or use an
editing app that can automatically check bracketing.

My python page
My ShareCG freebies


ockham ( ) posted Wed, 07 January 2009 at 11:50 AM

file_421267.txt

The attached text has been re-bracketed. I lost the indentation in the copy, but this should work.

My python page
My ShareCG freebies


TrekkieGrrrl ( ) posted Wed, 07 January 2009 at 1:14 PM

 Awesome, Ockham! I'll try that one immediately.

I'm using Notepad++ for the checking. It usually lights up solitary brackets.. not here though. I'll test your file to see if it was a copy error or what ^_^

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



TrekkieGrrrl ( ) posted Wed, 07 January 2009 at 1:22 PM

 I'm starting to wonder if it's my M4 that is odd. I have problems with some of the MAT poses from Daz as well, they won't load onto him properly. He's also prone to crashing my Poser, requiring a full reboot before I attempt to load him again :(

The X-file didn't work either, but again it may be something on my puter and not the file itself.

I'll start counting brackets and see if they match up ...

And thanks for the help. Even if it didn't work in this case. I guess I need to figure out if it's my installation or what that is causing it. I'll see how it looks in Poser 6 first of all...

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



milanautica ( ) posted Wed, 07 January 2009 at 2:25 PM

trekkiegrrrl, have you ever heard of komodo?
it's a really great editor and free, you should try it, 1000 times better than the notepad - here is the link:

http://www.activestate.com/komodo_edit/downloads/


TrekkieGrrrl ( ) posted Wed, 07 January 2009 at 2:59 PM

 I haven't heard of Komodo. But Notepad++ is a far cry from a mere Notepad application. It's perfect for somethinglike this, also because you can do a global search-and-replace on a whole LOAD of files in one go with it.

But I'll take a look at Komodo all the same :) I was sceptical about Notepad++ until I trid it, too L

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



Puntomaus ( ) posted Thu, 08 January 2009 at 5:51 PM

"NO_MAP" <-- I would remove these "" thingies from No_MAP, they do not belong there. Some Poser versions might through out an error message about not being able to find the NO_MAP texture.

Why don't you make partial material poses with Poser 7 - at least they would be correct. I've seen some weird stuff in mat poses done with Shader Spider like duplicate texture nodes in the material room for example.

Every organisation rests upon a mountain of secrets ~ Julian Assange


markschum ( ) posted Thu, 08 January 2009 at 6:14 PM

I would load up the textures in Poser 7 and save a material collection. I believe that can be selective in what materials get saved. Then convert the mc6 file to a pz2 in wordpad , and maybe compare the two files.

here is the start of amat pose file
{

version
    {
    number 7
    }
figure
    {
    material 1_EyeSocket
        {
        KdColor 1 1 1 1

two { after figure is wrong.


nruddock ( ) posted Thu, 08 January 2009 at 6:22 PM

Partial poses don't work for node based materials (never have, using PZ2s, MT5s or MC6s makes no difference).
If you need to make changes to node based materials, you either have to do it either with a Python script or via ShaderSpider's own mechanism (which requires at least the free ShaderSpiderLE to apply them).


deci6el ( ) posted Fri, 09 January 2009 at 7:30 PM

 Ockham's comment is the correct one:

figure

{ {
That second bracket needs to be deleted. I have been dealing with this myself recently and deleting that bracket has cured my Mat file ills.


deci6el ( ) posted Fri, 20 March 2009 at 12:21 AM

 Forgot to mention that Shader Spider is adding that extra bracket since the June 2008 update.


TrekkieGrrrl ( ) posted Sat, 21 March 2009 at 7:09 AM

 Ah lovely. An update that breaks things :(

Anyway, in the meantime I've found a much easier way to do Partial MAT files: Save an MC6 with only the materials you want to change, then change "mtlCollection" into "figure" and rename the lot to pz2.

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



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.