Local Particle Rotation (VOPS Please)

   Views 531   Replies 3   Subscribers 0
User Avatar
Member
6 posts
Joined:
Offline
-I am looking for an easy way to rotate a particle locally in VOPS. In Softimage there is a compound called "Transform Local" that allows all local transforms.

- Softimage also has a "Rotate Vector" node that allows you to rotate a particle around a vector, which really just moves the particle to the rotated position but keeps the particles orientation. I am also wondering if Houdini has a simple solution for that.

thanks
User Avatar
Member
163 posts
Joined: 8月 2017
Online



and in qLib set's of plugs you have also nice examples

Attachments:
fg.png (120.4 KB)
fgy.png (64.3 KB)

Conservation of Momentum
User Avatar
Member
163 posts
Joined: 8月 2017
Online
And this maybe.

Attachments:
dfe.gif (395.1 KB)

Conservation of Momentum
User Avatar
Member
9130 posts
Joined: 7月 2007
Offline
jamination
-I am looking for an easy way to rotate a particle locally in VOPS. In Softimage there is a compound called "Transform Local" that allows all local transforms.
it really depends on how you are representing rotation on particle, whether, v@v and v@up, v@N and v@up, p@orient, or 3@transform

in case of quaternion p@orient you can use Quaternion Multiply VOP, qmultiply() in VEX to rotate quaternion B by quaternion A, so B is the local one

in case of 3@transform, you can directly use Multiply VOP, * in VEX, to rotate matrix A by matrix B, in which case A is the local one

jamination
- Softimage also has a "Rotate Vector" node that allows you to rotate a particle around a vector, which really just moves the particle to the rotated position but keeps the particles orientation. I am also wondering if Houdini has a simple solution for that.
again, just multiply your vector by matrix using Multiply VOP or by quaternion using Rotate By Quaternion VOP ( qrotate() in VEX )
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links