Jump to content

Animation with HScript


hoknamahn

Recommended Posts

I'm interested in the following question - whether it is possible to do the

following:

1. To play the animation, not running the process of scene playback, i.e.

not "pressing" the "play" button.

For example:

for i = 0 to 10 step 0.01
  opparm /obj/model t ( $i 0 0 )
end

Thus, we sort of animate an object, but the script itself, as I understand

this, runs in the same thread, as Houdini's interface.

In result we get a UI "freeze" and we can only see the initial and the final

object's state. It is desirable to make script refresh UI at each step of

the cycle.

2. To make Houdini recurrently translate the current frame (by means of fcur

operator, for example), refreshing UI at the same time.

3. To make something that can use interruption by the timer or system

clocks, in order to, let's say, call a part of the code once in a second.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

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

×
×
  • Create New...