# Outputting geometry on 2s

## Recommended Posts

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!

##### Share on other sites

this ?

vu _on2s.hipnc

Edited by Noobini

##### Share on other sites

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.

##### Share on other sites

The animation curve should be something like this

Edited by zjie
##### Share on other sites

Let me know if it is not clear, but I am really grateful for your help!

Edited by zjie
##### Share on other sites

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

##### Share on other sites

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.

##### Share on other sites

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.

##### Share on other sites

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.

##### Share on other sites

Ah I see, yeap I'm using houdini 17.

## 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.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×