Questions about ERC link between different figure (obj) property

kitakoredazkitakoredaz Posts: 3,526
edited December 2013 in Daz Studio Discussion

I learned we can set ERC about properties between different figure or prop by Richard comments,,

Then, I sometimes play to set ERC between different figure and prop.

eg,, I make simple controller prop to change genesis FBMs,
when I move the controlelr X, genesis change shape, move controller Y axis, genesis change shape2,

Or, maybe it is more practical usage,,
make walk cycle and set camera then set ERC about Camera translation to auto follow actor movements.

before I always manually move camera, and set key ,
or try parent with genesis nodes, after all, I just see camera shaking up down,, ^^;

then I set ERC camera X, and Z axis translation with genesis hip X and Z translation,
Now Camera can auto follow positon,it work great,,

but I have never saved them for re-using,,
simply because,, I do not know how to save these ERC property correctly^^;

the difficulity is,, if I hope to save the ERC linked Camera X or Z translation ,
how can I do it about daz camera?

Or, if I save the prop (name as genesis morph controller) maybe I save it as duf prop ,,
save modified assets work too?

or need to make new property then set ERC about prop and figure,
to get same effect,, and save the new property as morph?

And,, after I saved them,, when I load it,, and if there are two more genesis,
how these ERC work? and I often change figure labell name,, in the scene,
then about these case, saved ERC work too?

erccamera.JPG
1043 x 606 - 102K
Post edited by kitakoredaz on

Comments

  • Richard HaseltineRichard Haseltine Posts: 102,260
    edited December 1969

    I wouldn't expect a cross-item link to work as any kind of asset except a Scene asset, but saving the linked items as a scene subset I would expect to work.

  • kitakoredazkitakoredaz Posts: 3,526
    edited December 1969

    thanks Richard,,

    it is bad news for me,,

    then,,, I tried with scene subset ,and save as scene,,
    but both could not save current ERC.

    And,, ds did not auto record keys,, about movements of Camera which made by my ERC,,,
    when I load the scene, it remove all movements about camera except I manually changed,,

    maybe if I set keys of camera position manually it can record carrent camera X Z position,,,

    I may try to save as scene asset,,too,, hope it work,,

  • kitakoredazkitakoredaz Posts: 3,526
    edited December 1969

    I have tested about save as scene assets, but it can not keep linked ERC between camera and genesis.
    then it is OK,,

    then ,next try to make key frame about camera keep the ERC link.

    on frame 0 , genesis hip Z positon 0, camera Z postion 0.

    genesis hip Z translation is controller of Camera Z tlanslation, delta add.

    so that when gen hip Z move +1, camera Z position change to 1 by ERC

    actually, when genesis move to Z axis, camera Z postion change as I expected,
    and I can check it in parameter tab, camera Z translation increase too as I expected.

    then I set all key 1 to 100 frame about Camera translation by key mate.
    and save it as scene to record all key.

    I believe, now ds record all camera postion as same as what I have seen,
    even though lost ERC link.

    then load the scene. it actually keep all keyflame of camera and genesis.
    but,, the camera Z value not change anymore. all keyflame of Z translation still there,
    but keep start value 10,,@@;

    I re-make ERC again, then find,, if I move camera by ERC ,
    and manually set keyflame of translation, the value which chagend by ERC seems not recorded
    correctly.

    when I check by graph mate, all keyflame recorded z translation keep 0.
    though z translation value in parameter, actually increase about each frame by ERC,,
    and I can see the line which increase in graph mate,,
    but keyflame always set value as 0

    it seems when keymate and DS set keyflame , not browse actuall current value?

    Is there way to record keyflame of Camera with actuall current value, which auto changed by ERC?

    cameraERC.JPG
    1045 x 804 - 139K
  • Richard HaseltineRichard Haseltine Posts: 102,260
    edited December 1969

    The key is, I think, storing only the local value and not the value acquired from the ERC link (which is right, you wouldn't want a JCM to store its adjust value or it would double up next time with both the stored value and the value from ERC -the problem isn't he way keys are being stored abut the way ERC links aren't).

  • DAZ_cjonesDAZ_cjones Posts: 637
    edited December 1969

    ERC Links between different object can only save to scene/scene subsets if the two items are in same hierarchy ( one is the parent of the other or they are both parented to something else).

  • Richard HaseltineRichard Haseltine Posts: 102,260
    edited December 1969

    Thank you.

  • kitakoredazkitakoredaz Posts: 3,526
    edited December 1969

    >Richard,
    thank you. Actually it is reasonable,,

    I understand , (not real Math,, by feeling)
    DS need to store values which removed delta by ERC ,to avoid loop, or double count,,
    then adapt formula , show the result value in parameter.

    And I have not thought the stored value is "local value",
    now I understand,,,, it should be recognized as local value.

    then,, it is my intention of question (so that I asked it)
    If DS timeline or Animation plug in ,
    have no way to record , result value which I see in parameter,,
    I do not know, it is called as gloval or not, so say result value,) as keyframe, at current?

    I think, If DS store current value (what I can see in parameter) , and record as
    different key , may not cause any problem, or it cause some problem @@:)?

    I sometimes fall in to jumble. ds parameter tab and key show which value.

    I hope, ds 5 can show all value (gloval, local, ) clear as option. in parameter tab.
    I am simple user, not hope to study and tweak around script to get these values,,

    >DAZ_cjones
    thank you,, it is good news ^^
    I expect it,,, (if I can save ERCLinks, ,, I thought I may need to make hieralchy )
    I may test ,,

  • Richard HaseltineRichard Haseltine Posts: 102,260
    edited December 1969

    Scripting, for a DzFloatProperty, offers getValue() (the local value plus any ERC links) and getLocalValue() (the actual value entered on the proerty, regardless of any ERC contributions). I don't think there's a more direct route to getting the two values, though I thought at one point we did get both displayed (local value in lighter text than the total value)

Sign In or Register to comment.