Forum Coordinators: RedPhantom
Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 10 10:34 am)
is it possible to make the Wacro use the custom scatter node?
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
That would take editing the Python script itself, or creating a new script and placing that in the wacros folder. Adding a new script to the folder will not overwrite anything unless the names are identical, and you would be able to access the new entry by clicking the arrow at the bottom the wacros panel.
new script sounds good.
after i finish setting up the 64 bit version, i'd like to learn how to do the blurrted shadow on metal.
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
I've created a simple wacro that will add a scatter node to alternate_diffuse in the same way that the "add skin subsurface scattering" wacro button works in the material room. You can modify it with wordpad to change the values as you use it, even while Poser is running, to get different amounts of scatter, texture_detail, material, etc.
The trick is to modify the mainwacros script and address the new add scatter wacro in the spot where the "set up toon render" wacro button was ( i don't use that toon wacro at all) and shift click the button to add a scatter node to all body materials at one time. You can modify any wacro button you don't use instead. It can also be placed in the userdefined folder and used for one material at a time.
This simple wacro in no way is as sophisticated as BB's or Ezskin, but I created it to see the effects of the scatter node and it works fine and is easily modified.
If you're interested let me know and I'll upload the files (how do you upload a file?) and give more specific instructions.
Michael
kewl. i think, to attach a file, you add the extention .txt to the file name.
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
Load a figure in poser, go to material room, and shift-click "set up toon render". This should add a scatter mode to alt diffuse and connect to the image map for all materials/body parts. Then switch out of Poser and Open the file addscatter.py in wordpad (on a pc...any text editor will work) I have my wordpad file open in my other monitor so I can work on it, but you can also alt-tab to it. The part to edit looks like this:
#material 1=apple to 11=whole milk
scatter.Input(0).SetFloat(9.0)
#Use material color 1=on 0=off
scatter.Input(1).SetFloat(0.0)
#texture detail
scatter.Input(2).SetFloat(0.8)
#scale higher less scatter
scatter.Input(3).SetFloat(1.1)
#max error
scatter.Input(4).SetFloat(0.2)
You may want to edit any of the numbers in parentheses after a "SetFloat " and make sure you save the file with your changes. The first line with the # describes what the next line does. In my example "scatter.Input(0).SetFloat(9.0)" sets the "material" to skin1, as skin1 is the 9th choice in the scatter node drop down box. The next line turns "use material" on and off.
The line :
" scatter.Input(3).SetFloat(1.1)" changes the scale parameter in the scatter node...in this example scale is set to 1.1
Change a number after any setfloat and save the file, go back to Poser and Shift-click "add toon render" (I don't know how to change this name) and you should have added a new scatter node with the changes you made.
This sounds cumbersome and maybe it is, but after you get the hang of it, it works. This is not a very elegant solution to modifying a node...my knowledge of python scripting is very limited...but it does work. If you mess up, copy your backup copy of "MainWacros.py back to the wacros folder.
I hope this isn't too complicated and mess you or anyone else up. If you need more clarification, let me know and tell me if it works.
Michael
Thanks Michael
you gave me the courage to open up a wacro.
i see this line:
scatter = tree.CreateNode(poser.kNodeTypeCodeSCATTERSKIN)
guessing this is the line to show where to plug it in?
scatter.ConnectToInput(root.InputByInternalName("AlternateDiffuse"))
sigh
i'm searching the Poser Python Methods Manual, can't finds the 'kNodeTypeCodeSCATTERSKIN' in it. was hoping it would put me near the other scatter node info.
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
when the nodes info isn't in the poser python methods manual, is there another resource?
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
woww, google and yahoo didn't have a single hit for 'kNodeTypeCodeSCATTERSKIN'
i saw a few python books on amazon, but nothing poser specific.
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
a script named 'documentation'?
THANKSSSS
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
if diffInNode
does that mean if something is plugged into Diffuse, it can disconnect whatever is connected there?
is it possible to make the SSS wacro sript iterate through multiple M4 material zones?
can't use shift click, there's different imagemaps like limbs and torsos
i haz too many m4 character textures, it would take many many weekends and bottls of Merlot to update them all to scatter.
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
I stilh have a ways to go yet before adding on the extras yet, still working on learning what comes with Poser.
i brought all the wacro scripts with me to at least read them on my lunch hour.
ohhh, there was a script for the m4 displacement maps, forgot that one, darn.
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
That's what i did...opened up several wacro scripts and puzzled through them and came up with the addscatter script. I'm sure you could use my script to create an add custom scatter or fastscatter wacro. An important thing about my script is that it connects to the imagemap node too.
The add skinscatter wacro works differently and will not allow changing the detail parameter...the only one that makes a difference.
Why wouldn't you want to add the scatter script to all body parts?
BTW, did you try the wacro and did it work?
Michael
Quote - That's what i did...opened up several wacro scripts and puzzled through them and came up with the addscatter script. I'm sure you could use my script to create an add custom scatter or fastscatter wacro. An important thing about my script is that it connects to the imagemap node too.
The add skinscatter wacro works differently and will not allow changing the detail parameter...the only one that makes a difference.
Why wouldn't you want to add the scatter script to all body parts?
BTW, did you try the wacro and did it work?
Michael
sorry, i couldn't make heads or tails of the toon script.
all i wanted to do is make the sss wacro use the customscatter node instead of the skinscatter.
plus set the scatter type to cream
i'm gonna try the documents script tonight and experiment.
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
sorry, i couldn't make heads or tails of the toon script<<<
You mean the add scatterscript that i wrote that is activated by the toon button or what? Sorry I made it so complicated.
Personally, I think the scatter node works better than customscatter, but that's just my opinion. The scatter node is the one that lets you choose a material like cream and change the scale which determines how much SSS in my opinion. The addSSS skinscatter does this "under the hood" . To do what you want you'd have to use multiple math nodes to add together the different SSS nodes, and that's a whole other matter.
Michael
the dropdown arrow comes in the plain ole Scatter Node. (like POTS- plain old telephone system)
last night, i tried borrowing a couple of nodes from Anastasia, to try and scatter up old Aiko.
and the cake. lol
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
Quote - >>>sorry, i couldn't make heads or tails of the toon script<<<
You mean the add scatterscript that i wrote that is activated by the toon button or what? Sorry I made it so complicated.
Personally, I think the scatter node works better than customscatter, but that's just my opinion. The scatter node is the one that lets you choose a material like cream and change the scale which determines how much SSS in my opinion. The addSSS skinscatter does this "under the hood" . To do what you want you'd have to use multiple math nodes to add together the different SSS nodes, and that's a whole other matter.
Michael
thanks.
i didn't realize there was scale option.
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff
The scale option controls how much translucency will appear on your model. The lower the value, the greater the translucency. However, if you apply scatter to your inner mouth and teeth textures, you will have a bluish effect around the characters mouth. This can be corrected by eliminating the scatter node from those textures or increasing the scatter scale for the skin texture.
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.
the wacro adds a skin scatter node, but the node doesn't have the drop down arrow for Skin, skin 1, apple, etc.
would it be as simple as a search&replace to change the node to the one with dropdown arrow?
or is it a more complicated recipe?
Thanks :D
♥ My Gallery Albums ♥ My YT ♥ Party in the CarrarArtists Forum ♪♪♪ 10 years of Carrara forum ♥ My FreeStuff