Wed, Nov 27, 5:42 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 27 5:12 pm)



Subject: Pose file (MAT) that only affects certain nodes... (Poser 11 Pro)


Ayelmar ( ) posted Sat, 28 August 2021 at 12:24 PM · edited Wed, 27 November 2024 at 5:29 PM

Way back in Poser 7, 9, or 10, I manually created a pose file that would change the Specular nodes across V4, witohout any impact on the rest of the skin textures (diffuse, image mapes, etc.). However, under P11Pro, this seems to be broken, with it completely wiping out the diffuse and other settings, leaving the skin a uniform matte black.

For instance, the start of one such .pz2 file is:

version
    {
    number 4.01
    }
figure
    {
    material 2_SkinTorso
        {
        KsColor 0.8 0.8 0.8 1 
        NsExponent 200.0
        ksIgnoreTexture 1 
        }

...and continuing the "material" blocks for each texture group through to the end, to give the figure a wet look.

This seemed to work fine up through P10, but now seems to be broken. What utterly obvious thing am I missing? ;-) ('Cause I know it's probably obvious to people more skilled with working deep in the files....)

(Edit) I'm rendering in Firefly using Auto settings, with the slider dialed all the way up to "Final" and with raytracing on. However, the textures turn black in the preview, before I ever render.


randym77 ( ) posted Sat, 28 August 2021 at 2:09 PM

Does it render all black, too?


hborre ( ) posted Sat, 28 August 2021 at 2:41 PM
Online Now!

Check the Material Room for node connections that are dashed lines. They indicate node incompatibility connections; either the nodes in question need to be rerouted, replaced, or deleted.


primorge ( ) posted Sat, 28 August 2021 at 5:10 PM · edited Sat, 28 August 2021 at 5:10 PM

hborre posted at 5:08PM Sat, 28 August 2021 - #4426212

Check the Material Room for node connections that are dashed lines. They indicate node incompatibility connections; either the nodes in question need to be rerouted, replaced, or deleted.

He's probably using root specular, not alt, channel without connections. Maybe adding the Superfly root is borking his pz2.


Ayelmar ( ) posted Sat, 28 August 2021 at 5:14 PM · edited Sat, 28 August 2021 at 5:15 PM

randym77 posted at 5:08PM Sat, 28 August 2021 - #4426210

Does it render all black, too?

Yep, and while investigating further, I found a older MAT pose I'd made that didn't turn black in the preview, but still rendered as black...

hborre posted at 5:10PM Sat, 28 August 2021 - #4426212

Check the Material Room for node connections that are dashed lines. They indicate node incompatibility connections; either the nodes in question need to be rerouted, replaced, or deleted.

No dashed connections in the Material Room

However, I just found that I'd bought Mytilus' "Wet Skin" package; it works, and even though it uses its own texture maps for the underlying skin texture, I think that looking "under the hood" may help me figure out how it's done....


primorge ( ) posted Sat, 28 August 2021 at 5:18 PM · edited Sat, 28 August 2021 at 5:23 PM

Try this.

Left click

New Node

Root

Poser Surface (should be just Firefly)

Connect all your maps and what have you to this new root and run the mat pose you made. See if it works then.


primorge ( ) posted Sat, 28 August 2021 at 5:24 PM

It's a long shot but you never know.


randym77 ( ) posted Sat, 28 August 2021 at 5:30 PM

Posting a screen shot of the Material Room settings might help people figure out what's wrong.

I sometimes have the opposite problem: things look black in preview, but render fine. For example, with DAZ's "Children of the world" eye textures.


RedPhantom ( ) posted Sat, 28 August 2021 at 5:30 PM
Site Admin Online Now!

This is a long shot and I’m probably wrong, but poser 11 was the first version to allow multiple root nodes. Have you checked to make sure you aren’t accidentally adding a second one somehow?


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


hborre ( ) posted Sat, 28 August 2021 at 5:39 PM
Online Now!

Even if a second root node is added, you needed to activate it manually. It will not override the settings of the original.


Ayelmar ( ) posted Sat, 28 August 2021 at 5:45 PM

primorge posted at 5:42PM Sat, 28 August 2021 - #4426219

Try this.

Left click

New Node

Root

Poser Surface (should be just Firefly)

Connect all your maps and what have you to this new root and run the mat pose you made. See if it works then.

I'll give it a try (and try to post a screen shot of the settings as Randym77 suggested) once I finish some homework (going back to college after way too many years....) and get through a long day at work tomorrow....thanks for the advice, everyone!


primorge ( ) posted Sat, 28 August 2021 at 6:39 PM

hborre posted at 6:27PM Sat, 28 August 2021 - #4426224

Even if a second root node is added, you needed to activate it manually. It will not override the settings of the original.

Correct. I said "should be Firefly". I'll word it differently

Check Firefly box at top of Root Node. You should now have 2 Root nodes. The previous being Superfly, the one you just created checked FireFly.

It's moot, I just tested it and the Mat Pose deleted the new FireFly root and connected to the Superfly root, changing the SuperFly Root back to FireFly/SuperFly... ah well.

shruggy.png


primorge ( ) posted Sat, 28 August 2021 at 6:42 PM

Ahhh. Wait a minute. New file set to Superfly, let me change that in render settings and try again...


primorge ( ) posted Sat, 28 August 2021 at 6:46 PM

Nope.

Same behavior.


HartyBart ( ) posted Sun, 29 August 2021 at 5:25 AM · edited Sun, 29 August 2021 at 5:26 AM

Someone recently wanted a script to do the opposite - remove a wet-look that it has apparently become fashionable to apply to the skin of new dial-a-doll Poser characters by default. This targeted similar nodes. Thus perhaps you could change the node InternalName and the nodeInput. command here to do what you want?

import poser

scene = poser.Scene()
scn = poser.Scene()

figs = scene.Figures()
acts = scene.Actors()

for fig in figs:
        mats = fig.Materials()
    if mats:
            for mat in mats:
                tree=mat.ShaderTree()
                root = mat.ShaderTree().Node(0)
                nodeInput = root.InputByInternalName('AlternateDiffuse')
                nodeInput.Disconnect()
                nodeInput = root.InputByInternalName('AlternateSpecular')
                nodeInput.Disconnect()
                tree.UpdatePreview()

for act in acts:
    if act.IsProp() or act.IsHairProp():
        mats = act.Materials()
        if mats:
            for mat in mats:
                tree=mat.ShaderTree()
                root = mat.ShaderTree().Node(0)
                nodeInput = root.InputByInternalName('AlternateDiffuse')
                nodeInput.Disconnect()
                nodeInput = root.InputByInternalName('AlternateSpecular')
                nodeInput.Disconnect()
                tree.UpdatePreview()

scn.DrawAll()



Learn the Secrets of Poser 11 and Line-art Filters.


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.