JCMs again

MasterstrokeMasterstroke Posts: 2,384

So, I have managed quite a lot of JCM creation by now, including setting up JCMs for two rotating joints (bend and side).

Now I have the problem combining three rotation joints on one JCM.
The JCM should be active, when the joint is twisted, but only while the joint is bended AND moved side -side.
So how do I do that?

BTW:
One of the problems, I ran in, when I tried it was, to have it working, but it did not make it into the next session, allthough I saved the JCM.
Is there a tutorial, how to make it propperly? No simple JCM, but one JCM for three joint rotations.

Post edited by Masterstroke on

Comments

  • lilweeplilweep Posts: 2,819

    Three joints:

    I dont think there is a standard approach as its probably dependent on what the morph is but you can set your 2-joint controller as one of the controllers and then the 3rd angle as the other controller.

    So 2 joint JCM can be the 2nd Stage Multiply controller, and 3rd joint can be the 1st Stage Controller.

    Why its not saving:

    Make sure under "Save with" option in the Property Hierarchy it is set to the morph you will actually be saving out when you go to Save Asset.  "Save With" ight be set to another property and therefore the controller settings you are editing might be expected to be saved with another property.

    "Save Modified Assets" might also automatically save such.

     

  • MasterstrokeMasterstroke Posts: 2,384

    My project is, to have my character to be able to sit in a lotus seat position.
    I don't want a one time post effect correction morph, but I want to create a JCM, that can make that happen any time.

  • lilweeplilweep Posts: 2,819

    Masterstroke said:

    I don't want a one time post effect correction morph, but I want to create a JCM, that can make that happen any time.

    ok... thats nice?

    if you are implying what i described would not give you what you want, i fail to see what the problem is. Is there a part that's not clear.

    I am not at computer so can not give screenshot.  

  • MasterstrokeMasterstroke Posts: 2,384

    Usually those thing are hard to describe and difficult to understand without some footage.
    So, I'd like it to put it another way:
    I want to do a lotus seat position. 
    -One JCM that corrects the thigh bending
    check, done that
    - a second JCM, that corrects the side rotation, but ONLY when the thigh is bent.
    check, done that one too.
    But how do I add a third JCM, dialing in, ONLY when the thigh is bent AND to the side?

  • lilweeplilweep Posts: 2,819
    edited 8:31AM

    double post

    Post edited by lilweep at
  • lilweeplilweep Posts: 2,819
    edited 8:33AM

    Masterstroke said:

    Usually those thing are hard to describe and difficult to understand without some footage.
    So, I'd like it to put it another way:
    I want to do a lotus seat position. 
    -One JCM that corrects the thigh bending
    check, done that
    - a second JCM, that corrects the side rotation, but ONLY when the thigh is bent.
    check, done that one too.
    But how do I add a third JCM, dialing in, ONLY when the thigh is bent AND to the side?

    Speaking personally, I dont need you to describe the question further as I already understand fully.

    If you have already made 1 JCM that is driven by two bone rotations (Thigh Bend + Thigh Side) then I am expecting you to understand basics of:

    •  Property Heirarchy
    • 1st Stage Controller
    • 2nd Stage Controller
    • ERC

    If you dont understand those things, what I am about to say might not make any sense, so you can read around those topics as needed.

     

    Steps

    Loading the JCM
    1. Put your figure into the Thigh Bend + Thigh Side + Thigh Twist pose

    2. Load your corrective by Morph Loader pro (reverse deformations on)

    Setting up the controllers

    3. In Paramaters tab, while in Edit Mode, select your new morph (the 3 rotation JCM) and right click "View in Property Heirarchy"

    4. In Property Heirarchy, expand all the options for this JCM so you see the 1st Stage and 2nd Stage Controller options. These two "stages" are where you put the control properties that will be driving your JCM to activate.

     

    5. In Paramaters Tab, drag the double JCM "Thigh Bend + Thigh Side" which you created earlier into the 2nd Stage Controller slot on the Property Heirarchy (it should be set to Multiply).  This means that the "double JCM" is controlling the property such that if the "double JCM" is 0, then the "triple JCM" will also be zero.

    6. In Paramaters Tab, select the Thigh, and drag the "Thigh Twist" property into the 1st Stage Controller slot on the Property Heirarchy.  This means that the Thigh Twist property will also be acting as a controller.

    7. On the 1st Stage Controller, select your Thigh Twist controller and expand down the options so you see all the options for this control peroprty.  You need to set up the control property so it drives the JCM based on some logic. I would suggest setting the ERC type to "Keyed" and then setting the range when it will start to activate.  E.g.,
    0° : 0.0
    -50°: 0.5
    -80°: 1.0

    These are not "correct" numbers. I just made them up for illustrative purposes.  You need to test what values works for you.

    tl;dr: 

    • 2nd stage: embed the Thigh Bend + Thigh Side logic here by using your double jcm
    • 1st stage: embed the Thigh Twist logic here
    • This way you have the three joints as controllers.


    Saving
    8. Save out the Modifier Asset in standard way. 

    9.Troubleshooting: If a control property is not saving with the triple JCM, it is because the "Save With" for that control property is not set to save with the triple JCM. So in the Propert Heirarchy window, for that propertly, expand down to the Save With option and change it to what you want it to save with.  Before closing, you can also check the saved out Triple JCM.dsf has actually saved properly by viewing it in a text editor and scanning to check all the logic is accounted for.

     

    I cant make screenshot because not at correct computer.

    Post edited by lilweep at
Sign In or Register to comment.