Fri, Dec 13, 8:53 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 13 7:48 am)



Subject: Is there a script or a best simple way to make the FBMs in the main part work?


estherau ( ) posted Mon, 17 September 2012 at 10:45 PM · edited Fri, 13 December 2024 at 8:52 AM

I have several items of clothing that the readme says the FBMs in the body are just to show what is available.  It is quite slow adjusting these sorts of clothes. Some clothes seem to have the FBMs quite sucessfully in the body part of the figure. Is there anything you can suggest for clothes that don't have working dials in the FBMs ie dials that don't do anything unless I go and change each individual body part that is affected by the dials.

Love esther

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


markschum ( ) posted Mon, 17 September 2012 at 11:40 PM · edited Mon, 17 September 2012 at 11:44 PM

Is an FBM (full body morph) ever controlled by a dial elsewhere ?   

anyway, the ones I have looked at are basic ERC code which is controlled by a master dial.   If you have the cr2 of the figure with the morphs installed you can open it in a text editor and do a search for the master dial name.  If they are present and correct then the dial should be working.

 

you should find code like this on each body part controlled by the master dial.

            valueOpDeltaAdd
                Figure 2                     <<< figure where the master dial is
                BODY:2                       <<< body part where the master dial is
                PBMGluteus                   <<< master dial name
            deltaAddDelta 1.000000

 

note: if the  name or number is wrong then the dial wont work. 


estherau ( ) posted Mon, 17 September 2012 at 11:44 PM

This is what it says in the readme, and this is correct.  the dials do nothing.

 

"

FullBodyMorph Dial can not use.
Please use Body Part Morphs."

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


markschum ( ) posted Mon, 17 September 2012 at 11:48 PM

hmm, it should be a simple thing to fix , I dont understand why they didnt do it right to start 8-(

do you want to try fixing a copy of the cr2 , or a script to set the dials ?

 


markschum ( ) posted Mon, 17 September 2012 at 11:55 PM

import poser

scn = poser.Scene()

fig = scn.CurrentFigure()

act = fig.Actor("BODY")

parms = act.Parameters()

for parm in parms:

     print parm.Name()

 

This script just list the parameters in the BODY actor to check the fbm dials are actually present.


markschum ( ) posted Tue, 18 September 2012 at 12:25 AM

file_486595.txt

Here is a script to try. It gets all BODY parameters, then for each actor in the figure it will get the matching parameter and set it to the value of the Body parameter.

I think this will work but have not tested it.

 

 


estherau ( ) posted Tue, 18 September 2012 at 12:49 AM

I'm just rendering something and when it stops I'll give this a try.

You are great, going to all this trouble for me.  I still remember, many years ago you made me a script when I was having some problem with absolute paths and relative paths that was affecting my vue import, and it really helped me.

Love esther

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


lesbentley ( ) posted Tue, 18 September 2012 at 1:08 AM

Is the item of clothing a virgin? That is to say, is it the original cr2, or has it been saved back to the palette from the Poser interface?

The reason I ask is because saving a super-conforming clothing item back to the palette as a single figure, will break the super-conforming.


estherau ( ) posted Tue, 18 September 2012 at 1:14 AM

no it is totally naive er I mean virgin.

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


lesbentley ( ) posted Tue, 18 September 2012 at 1:30 AM

OK, I thought I had a good guess there, but not so.

If the clothing has the morphs in the individual actors and they work, and dials in the BODY, but changing the BODY dials doesn't do anything, then the slaving code in the individual morphs is probably either wrong or completely missing.

If the dials in the BODY can be made to work, then it should be possible to have the morphs automatically adjust to the morphs in the target figure. But one thing at a time, if you could post the slaving code from one of the morph channels that is not responding to a dial in the BODY, it might give us a clue.


estherau ( ) posted Tue, 18 September 2012 at 1:31 AM

file_486596.png

I ran your script Mark, with the shirt selected and got this message:-

  File "/Applications/whenFBMsdontwork/setbodydials_bodyparts.py", line 9

    for act on acts:

             ^

SyntaxError: invalid syntax

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


estherau ( ) posted Tue, 18 September 2012 at 1:31 AM

In the properties part I haven't checked the include morphs when conforming dial.

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


markschum ( ) posted Tue, 18 September 2012 at 10:52 AM

I dont think Poser 7 has that opion but its worth a try.   You can edit the script and change on to in  for act in acts:  


estherau ( ) posted Tue, 18 September 2012 at 3:30 PM

the option doesn't make any difference with this particular clothing. I noticed the FBM dials work when not coformed to V4 though.

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


markschum ( ) posted Tue, 18 September 2012 at 4:28 PM

@estherau - sent you a pm


markschum ( ) posted Wed, 19 September 2012 at 10:18 AM

I have looked at a cr2 which is causing problems.

  1. when not conformed the FBM dials in BODY work correctly.

  2. After conforming to V4 the FBM dials in BIDY no longer work.

  3. This is the slave code (example) in the cr2

            valueOpDeltaAdd
            Figure 1
            BODY:1
            rgShirtIN
            deltaAddDelta 1

It seems to be the same as other conforming clothing items.

  1. The dial names seem to be spelled correctly

 

Any ideas anyone ?

 


lesbentley ( ) posted Wed, 19 September 2012 at 9:32 PM · edited Wed, 19 September 2012 at 9:43 PM

markschum,

You say the figure number in the slaving code  is ":1", is the figure number in the rest of the cr2 (apart from the slaving code) the same?

[edit] Also as this is for V4, does the conformer have 'bodymorphs' actor, if so, check the figure number used in that as well, and any linkParms lines in the 'figure' section.


markschum ( ) posted Wed, 19 September 2012 at 10:07 PM

there is no : in the figure , it seems to be just Figure 1 .  

all the code seems to be the same. 

:1 is consistant

no bodymorhs actor

I dont see any linkparm lines at all.


lesbentley ( ) posted Thu, 20 September 2012 at 1:17 PM

Quote - there is no : in the figure

You mean you have things like:

actor BODY

instead of;

actor BODY:1

Try removing the ":1" from the slaving code, and see what happens.


markschum ( ) posted Thu, 20 September 2012 at 4:11 PM

sorry no , the bodypart actors are all correct , all lthigh:1 etc.

Its the figure name in the slave code that says Figure 1 with no colon.

The figure name in the cr2 is not figure 1  o I assume its slaving off the V4 figure. Not sure of that though.


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.