easing animations and fx like these...

   3527   10   3
User Avatar
Member
65 posts
Joined: Feb. 2017
Offline
I did a lot of user interface work with Flash and iOS back in the day. An easing library was essential for doing motion effects like these. Being new to the world of Houdini, I was wondering if it had something similar? Where these types of animations are driven entirely by code.

Attachments:
motion_effects.gif (439.0 KB)

User Avatar
Member
2539 posts
Joined: June 2008
Offline
Do some searching on the word “CHOPS”. Channel operations.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
13 posts
Joined: June 2008
Offline
Hi you can look at https://github.com/Aeoll/Aelib [github.com]
Aeoll did an amazing job, you can find his easing function in /vex folder

have fun
User Avatar
Member
65 posts
Joined: Feb. 2017
Offline
So I watched a couple of CHOP vids [sidefx.com]. A whole new world! Very cool.

To start simple, I thought I'd try and move a box 1 unit along the x-axis. But it doesn't move, it just gets distorted, so I'm doing something wrong.

Attachments:
simple_chop.hipnc (74.6 KB)

User Avatar
Member
2539 posts
Joined: June 2008
Offline
I think your setup is trying to move individual vertices. And you are successfully moving vertex #0 which causes the distortion.

What you can also do with CHOPs is fetch data from named channels directly. In this example I am fetching the CHOP result, which resides in named chan1, into the X location of the object iself. This way CHOPs moves the entire object with one value.
Edited by Enivob - April 7, 2017 15:59:00

Attachments:
Untitled-1.jpg (230.3 KB)
ap_simple_chop.hipnc (55.1 KB)

Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
65 posts
Joined: Feb. 2017
Offline
Okay, that got me a little farther. I replaced the Wave node with a plain Channel node. My TransformVOP now moves the cube over 1 unit in the x-axis correctly. However, I guess I have a misconception about how CHOPs work as I was expecting it to do +1 unit every frame, creating motion.
User Avatar
Member
65 posts
Joined: Feb. 2017
Offline
Update: movement without chop, using a simple point vop.

Attachments:
simple_no_chop.hipnc (73.5 KB)

User Avatar
Member
2539 posts
Joined: June 2008
Offline
CHOPs can continuously move something along an axis, but you have to consider how the waveform would look. It would essentially be a rising ramp.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
28 posts
Joined: Nov. 2015
Offline
Simple tween from attribute wrangle.

Attachments:
simple_tween.hipnc (57.2 KB)

User Avatar
Member
670 posts
Joined: Sept. 2013
Online
I attached some VEX/python examples for the animation you posted on easing, parenting, delays, transforming and counting.

Attachments:
motion_principles.hipnc (102.8 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
28 posts
Joined: Nov. 2015
Offline
Thx Magnus, I learn a lot from the hip files you post.
  • Quick Links