Having a mcm on the g8 figure controlled by a morph on a geograft

Question, is it possible to have a morph on the g8 figure be controlled by a morph on a figure that's geografted to the g8 figure?

I'm cleaning up a geograft rig, I created an mcm on the g8m figure that that is connected to a morph on the geograft. If the user dials in the morph on the geograft, it's suppose to trigger a morph on the g8m figure to lift some of the polys around the geograft ( but on the g8m figure) up to give the geograft more room.

I can rig this up fine, and I can save it okay and when I look at the g8m morph file, it's showing its controller is on the geograft. However, when I load the g8m figure and look at the morph, it has lost the controller. I checked the log file and I don't see any errors when it loaded the morph on g8m.

Am I missing something?

Comments

  • SquishySquishy Posts: 460
    edited March 2021

    wouldn't you need to save the G8 dial as a morph asset, and redistribute that file along with your geograph? assuming you want to share this out?

    e: if you're importing the morph, it will be present on the current figure you imported it on, but it won't be present on any other copies of the figure you load, it sounds like you need to save a morph asset including your new dials

    Post edited by Squishy on
  • pjzanca said:

    wouldn't you need to save the G8 dial as a morph asset, and redistribute that file along with your geograph? assuming you want to share this out?

    e: if you're importing the morph, it will be present on the current figure you imported it on, but it won't be present on any other copies of the figure you load, it sounds like you need to save a morph asset including your new dials

    I saved all the morphs, both the ones for the geograft and the one for g8. The morph itself shows up when I load a fresh g8m. The issue is that the morph is losing the "controller stage 1" setting I had saved it with that references the morph on the geograft that is controlling it.

    When I open the dsf file for the morph, I see it correctly referenced in the dsf file, it's just losing the controller variable when it's loaded in Daz

  • SquishySquishy Posts: 460
    edited March 2021

    Sorry, past that I really don't have any idea what could be going wrong :(

    e: well, one idea, are you saving each while the geograph is fitted to G8M (you probably are but just to be thorough)

    Post edited by Squishy on
  • pjzanca said:

    Sorry, past that I really don't have any idea what could be going wrong :(

    e: well, one idea, are you saving each while the geograph is fitted to G8M (you probably are but just to be thorough)

    I am. If the geograft isn't fitted *AND* parented to the figure, property hierarchy won't see the geograft's variables. 

    The only thing I'm wondering is if when you load the g8m the geograft is not on it and that is triggering something to not happen. But it seems odd as Geografts can have morphs that are controlled by the character (e.g. FBM's)

  • Richard HaseltineRichard Haseltine Posts: 100,694

    I'm not sure how easily theis can be amde to work, but is the ERC link saving with the morph on Genesis 8 male or with the morph on the GeoGraft? I'm pretty sure the former wouldn't work as the graft, and so the target of the ERC, would not be loaded when the link was being prepared. You may need to save a Scene Subset or Wearables Preset to get any chnace of its working, especially if the saving is already correct.

  • Richard Haseltine said:

    I'm not sure how easily theis can be amde to work, but is the ERC link saving with the morph on Genesis 8 male or with the morph on the GeoGraft? I'm pretty sure the former wouldn't work as the graft, and so the target of the ERC, would not be loaded when the link was being prepared. You may need to save a Scene Subset or Wearables Preset to get any chnace of its working, especially if the saving is already correct.

    I've been saving it with the morph on the g8m. I tried going to the geograft's controller morph, setting the the g8m morph as a subcomponent, and set the "set save with" to "controller" but that does not seem to do anything :/ Unless I'm doing that wrong.

  • Richard HaseltineRichard Haseltine Posts: 100,694

    That sounds right, assuming you resaved the assets. Have you tried the subset/wearables options? Persistent links between objects are tricky - one option is using post load data item scripts http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/start#post-load_data_items

  • BejaymacBejaymac Posts: 1,886

    Been a few years since I did any serious work with ERC, hand coding ERC I should add, so unless Rob's changed things (always a possibility with him), then ERC is specific to the figure it's loaded with.

    Each figure you load (base figure, conformers, geo-grafts etc), are a self contained entity, so trying to set an ERC link in an asset in figure A to work on an asset in figure B isn't going to happen.

    All you are likely to get is an error in the log, probably one of the "Could not find" errors.

  • Richard Haseltine said:

    That sounds right, assuming you resaved the assets. Have you tried the subset/wearables options? Persistent links between objects are tricky - one option is using post load data item scripts http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/start#post-load_data_items

    How would it work if I did the wearables options?

    Based on the link that you sent me for scripts, I'm assuming the one I would want to try is the "Post-Load View Proxy Link Properties" one? Since the properties do show up correctly in the morph's dsf file. And would I want this post load run to happen after I load the geograft since the g8m figure would see the controller on the geograft at that point?

  • Richard HaseltineRichard Haseltine Posts: 100,694

    MeneerWolfman said:

    Richard Haseltine said:

    That sounds right, assuming you resaved the assets. Have you tried the subset/wearables options? Persistent links between objects are tricky - one option is using post load data item scripts http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/start#post-load_data_items

    How would it work if I did the wearables options?

    Based on the link that you sent me for scripts, I'm assuming the one I would want to try is the "Post-Load View Proxy Link Properties" one? Since the properties do show up correctly in the morph's dsf file. And would I want this post load run to happen after I load the geograft since the g8m figure would see the controller on the geograft at that point?

    You'd need both figure and graft loaded. You don't need a proxy - you have two objects already - you just need to create the ERC link.

  • Richard Haseltine said:

    MeneerWolfman said:

    Richard Haseltine said:

    That sounds right, assuming you resaved the assets. Have you tried the subset/wearables options? Persistent links between objects are tricky - one option is using post load data item scripts http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/start#post-load_data_items

    How would it work if I did the wearables options?

    Based on the link that you sent me for scripts, I'm assuming the one I would want to try is the "Post-Load View Proxy Link Properties" one? Since the properties do show up correctly in the morph's dsf file. And would I want this post load run to happen after I load the geograft since the g8m figure would see the controller on the geograft at that point?

    You'd need both figure and graft loaded. You don't need a proxy - you have two objects already - you just need to create the ERC link.

    So which script in the link you pointed me to should I be looking at?

  • Richard HaseltineRichard Haseltine Posts: 100,694

    You would need to use the example of how to get a script to run, but instead have it make an ERC link between existing properties on a  figure (rather than creating a new node, adding a property, and linking to that).

Sign In or Register to comment.