aniMate2, how to create a simple LINEAR aniblock? (Almost SOLVED)

rosselianirosseliani Posts: 506

I want a Figure to go forward on Z axis at a constant speed of 4,5 mm / second using an aniMate2 aniblock.

It sounds easy...

Create the move in DS timeline then Create aniBlock from Studio Timeline in aniMate2 tab. Doesn't work.

After spending much time searching, trying etc, I always end with a TCB aniblock.

Am I missing something simple and obvious? 

 

Post edited by rosseliani on

Comments

  • Richard HaseltineRichard Haseltine Posts: 107,862

    You can set the Interpolation type in the DS Timeline pane, it's in the right-click options on a key or keys.   

  • rosselianirosseliani Posts: 506

    Richard Haseltine said:

    You can set the Interpolation type in the DS Timeline pane, it's in the right-click options on a key or keys.   

    Thank you for your answer.

    set the Interpolation type in the DS Timeline pane to linear every day. I also know there's no "linear by default" option in the DS Timeline pane, wich could be useful.

    The problem is that aniMate2 automatically creates TCB aniblock curves from DS Timeline linear settings.

    So my question is about aniMate2 rather than DS Timeline.

    Regards

     

    linear1.jpg
    2110 x 1060 - 404K
    linear2.jpg
    2170 x 1010 - 282K
    linear3.jpg
    2190 x 1030 - 362K
  • Richard HaseltineRichard Haseltine Posts: 107,862

    Not that it is your main question, but setting the default interpolation type for the Timeline: https://www.daz3d.com/forums/discussion/comment/8934041/#Comment_8934041

  • rosselianirosseliani Posts: 506
    edited October 7

    Now I created a simple test Timeline moving a cube from Z = 0 to Z = 300. Changed the settings of key#0 and key#30 to linear.

    Went to Frame 1, added a key, set to linear.

    Went to Frame 2, added a key, set to linear.

    ...............etc

    Went to Frame 15, added a key, set to linear.

    Went to Frame 20, added a key, set to linear.

    Saved as pose preset.   ---> Image 1

    Opened the aniMate2 Tab, choosed "Create aniBlock From Studio Keyframes", --> Done.

    In aniMate2 I selected the new created aniBlock, double clicked to enter in keyframes mode.

    Opened the Graph Editor.   ---> Image 2

    Edited and commented Images 1 & 2   ---> Image 3

    Any aniMate2 Guru and / or links to similar threads on the Forum?

    linear4.jpg
    1777 x 1062 - 269K
    linear5.jpg
    1929 x 1063 - 127K
    linear6.jpg
    2204 x 1176 - 483K
    Post edited by rosseliani on
  • rosselianirosseliani Posts: 506

    Richard Haseltine said:

    Not that it is your main question, but setting the default interpolation type for the Timeline: https://www.daz3d.com/forums/discussion/comment/8934041/#Comment_8934041

    Thanks for the info, but my knowledge about scripting is equal to (or even below) Zero, I will have to learn the basics!

     

  • Richard HaseltineRichard Haseltine Posts: 107,862

    rosseliani said:

    Richard Haseltine said:

    Not that it is your main question, but setting the default interpolation type for the Timeline: https://www.daz3d.com/forums/discussion/comment/8934041/#Comment_8934041

    Thanks for the info, but my knowledge about scripting is equal to (or even below) Zero, I will have to learn the basics!

    Just paste it into the ScriptIDE pane and save it using the pane's File>Save*. If you want a different default you will need to change that bit, but if you want linear it is al done for you.

     

    * Or just go to Window>Workspace>Customise, right-click on Custom on the left Create New Custom action, check the box  for Daz Sctipt instead of Daz Script File, and paste that script into the text box, then add the action to a menu or toolbar.

  • rosselianirosseliani Posts: 506

     

    Just paste it into the ScriptIDE pane and save it using the pane's File>Save*. If you want a different default you will need to change that bit, but if you want linear it is al done for you

    Done! Should I now save another script  with "Scene.setDefaultKeyInterpolationType( DzProperty.InterpTCB );" instead of "Scene.setDefaultKeyInterpolationType( DzProperty.InterpLinear );" ?

    And yes, I'll create custom actions and toolbar buttons for these scripts. In my dreams it should be a single toggle button but I'm not sure it'e possible.

    Thank you again!

  • Richard HaseltineRichard Haseltine Posts: 107,862

    Yes, create a script for each mode you want to be able to make default with the Interp val;ue changed as needed.

  • rosselianirosseliani Posts: 506
    edited October 7

    Richard Haseltine said:

    Yes, create a script for each mode you want to be able to make default with the Interp val;ue changed as needed.

    Works perfectly!

    Any way to move this thread to Product Suggestions (removing the "default interpolation settings" posts as the thread is not about a Daz Studio issue?

     

    Post edited by rosseliani on
  • Richard HaseltineRichard Haseltine Posts: 107,862

    You can edit the first post, but it isn't really a product suggestion (an in-search-of, what-is-this, or I-would-like-someone-to-make) thread .

  • rosselianirosseliani Posts: 506
    edited October 11

     

     

    aniMate2 Linear aniBlock, trying again.

    The goal here is to get a 2 seconds +X 36 mm/second LINEAR aniBlock move.

    Image 1: I create a 60 frames DS Timeline (2 seconds). On frame 60 I give a +7.2 (3.6 cm x 2) X Translate value.
    -This is meant to Create aniBlock from Studio Keyframes in the aniMate2 Tab.

    -I want a Linear move, I could change my DS Timeline keys settings to Linear but aniMate2 will ignore those settings.


     

    Image 2: I open the aniMate2 Tab and choosed Create aniBlock from Studio Keyframes (left click on the grey area where there is no button).
    -I get a nice TCB curve.

    Image 3: In the aniMate2 Tab, I add 2 keys, one a frame after the aniBlock zero frame, and one a frame before the aniBlock end frame.

    Image 4: Using the mouse, I carefully drag the new keys vertically until I obtain an ALMOST LINEAR curve.

    Image 5: You can see the very beginning of the curve is still TCB interpolated, but this shouldn't be noticeable during animation.
    -Actually the whole curve is still TCB interpolated.
    -I can now rename my new pseudo linear aniBlock and save it as new.

    Testing the Bake To Studio Keyframes utility:

    Image 6: Here I baked my new aniBlock to Studio Keyframes (left click on the grey area where there is no button).
    -Notice that Key 0 was set to Constant interpolation (bug or feature?).

    Image 7: I can select all X Translate Keys and set them to Linear, TCB or Constant interpolation.

    Image 8: All X Translate Keys are set to Linear interpolation. I save the Timeline as a Pose preset, clear the Timeline and clear aniMate2.

    Image 9: I loaded my new Pose Preset to the DS Timeline, and in aniMate2 I choosed Create aniBlock From Studio Keyframes to see what happens.
    -Not what I expected, but at least I can save  this aniBlock as a "Smooth Start" for my figure moves!

    -aniMate2 by GoFigure is a nice plugin, but their documentation is weak, especially the "aniMate2 and Studio Keyframes" paragraph.

    -As said @richardandtracy : Maybe the PA's name is less of a user name than an instruction to users.

    aniMate2 documentation: http://docs.daz3d.com/lib/exe/fetch.php/public/read_me/index/11191/11191_animate2_use_guide.pdf

    linear71.jpg
    2101 x 1187 - 378K
    linear72.jpg
    1809 x 1115 - 199K
    linear73.jpg
    1814 x 1119 - 242K
    linear74.jpg
    1802 x 1118 - 208K
    linear75.jpg
    1123 x 1216 - 62K
    linear76.jpg
    2086 x 1185 - 510K
    linear77.jpg
    2101 x 1183 - 469K
    linear78.jpg
    2096 x 1186 - 426K
    linear79.jpg
    1861 x 1225 - 168K
    Post edited by rosseliani on
Sign In or Register to comment.