zjie Posted April 16, 2020 Share Posted April 16, 2020 Hi guys, so right now I need to do a cloth simulation and export it out on 2s. So what I have thought of is, simulate the cloth as per normal, then for the result, for every 2 frames the points will take it previous frame's position, does anyone know how could I realize it? Thanks! Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 16, 2020 Share Posted April 16, 2020 (edited) this ? vu _on2s.hipnc Edited April 16, 2020 by Noobini Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 16, 2020 Share Posted April 16, 2020 3s ? vu _on23s.hipnc Quote Link to comment Share on other sites More sharing options...
zjie Posted April 17, 2020 Author Share Posted April 17, 2020 Hi Noobini, for your example, the points are still moving every frames, when I wanted to achieve is actually a stepped animation, if it is an mocap, it will be to delete keys for every two frames and use a stepped curve, so every second frame should be a still. Quote Link to comment Share on other sites More sharing options...
zjie Posted April 17, 2020 Author Share Posted April 17, 2020 (edited) The animation curve should be something like this Edited April 17, 2020 by zjie Quote Link to comment Share on other sites More sharing options...
zjie Posted April 17, 2020 Author Share Posted April 17, 2020 (edited) Let me know if it is not clear, but I am really grateful for your help! Edited April 17, 2020 by zjie Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 17, 2020 Share Posted April 17, 2020 looking at the anim curve shape is a mistake. the curve could be a linear line going straight up, say. but it does NOT show the effect of time shift. tell me between frame 1 and 2, does it move ? NO between 3 and 4 does it move ? NO between 5 and 6 does it move ? NO ..... .... so NO it doesn't move every frame. It moves between PAIRS of frame...which is on 2s Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 17, 2020 Share Posted April 17, 2020 if you don't believe me go have a look at the HDA i posted where it hold for 8 frames....you cannot tell me it moves every frame there. Quote Link to comment Share on other sites More sharing options...
zjie Posted April 17, 2020 Author Share Posted April 17, 2020 Chill chill, in the file vu _on23s.hipnc that I have downloaded, it is using a merge node, but once I changed it to switch node with the expression, it works! Thanks again. Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 17, 2020 Share Posted April 17, 2020 lemme guess, you're on 17....a lot of H18 nodes are mysteriously interpreted as 'merge'....ask SESI. just use the HDA I posted recently, that's a more universal solution than the hold 2 or 3 that I gave you earlier. Quote Link to comment Share on other sites More sharing options...
zjie Posted April 17, 2020 Author Share Posted April 17, 2020 Ah I see, yeap I'm using houdini 17. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.