Hi!
I have a point moving on a path/curve with an acceleration attribute. I was wondering if I could have a way to increase/decrease the acceleration by the movement of my mouse during the animation/solver. If I move my mouse higher on my screen, I go faster, if I move it lower, it slows down. Could be also with keys on my keyboard instead of the mouse.
-Olivier
Mouse motion capture during solver?
2001 5 0-
- olivierth
- Member
- 1144 posts
- Joined: April 2017
- Offline
-
- olivierth
- Member
- 1144 posts
- Joined: April 2017
- Offline
-
- mestela
- Member
- 1850 posts
- Joined: May 2006
- Offline
Funnily enough I had to do this yesterday, and used a tip that Oliver Hotz discovered through some cunning detective work.
Oliver found if you turn on realtime playback, enable autokeying, and waggle a transform handle, houdini will record the motion. That's good. But when you play the results, it has lots of pops and kicks and stutters. That's bad.
He kept experimenting and found that any panes which update per frame (eg the attribute spreadsheet) or any network views, seem to interrupt the keyframing. Hide or close anything that does this (easiest way is probably just to maximise the 3d viewport), and the recording will be.. well, not perfect, but a lot better than before. You can then use the animation editor, edit->bake keyframes to reduce the density of the recording.
It could be a lot better (worth poking sidefx), but at lesat this gives a means to roughly sketch in animation ideas.
-matt
Oliver found if you turn on realtime playback, enable autokeying, and waggle a transform handle, houdini will record the motion. That's good. But when you play the results, it has lots of pops and kicks and stutters. That's bad.
He kept experimenting and found that any panes which update per frame (eg the attribute spreadsheet) or any network views, seem to interrupt the keyframing. Hide or close anything that does this (easiest way is probably just to maximise the 3d viewport), and the recording will be.. well, not perfect, but a lot better than before. You can then use the animation editor, edit->bake keyframes to reduce the density of the recording.
It could be a lot better (worth poking sidefx), but at lesat this gives a means to roughly sketch in animation ideas.
-matt
-
- mestela
- Member
- 1850 posts
- Joined: May 2006
- Offline
Little loom recording will probably be easier to follow:
https://www.loom.com/share/a20c996757fd4767b2c53cf56e5ef253 [www.loom.com]
https://www.loom.com/share/a20c996757fd4767b2c53cf56e5ef253 [www.loom.com]
-
- mestela
- Member
- 1850 posts
- Joined: May 2006
- Offline
aha, worked out how to get the bake motion thing working; set the anim editor to allow you to choose segments.
https://www.loom.com/share/5086e19b66c346678e24d23b9f42fc0f [www.loom.com]
https://www.loom.com/share/5086e19b66c346678e24d23b9f42fc0f [www.loom.com]
-
- olivierth
- Member
- 1144 posts
- Joined: April 2017
- Offline
-
- Quick Links