-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
Local Particle Rotation (VOPS Please)
531 3 0-
- jamination
- Member
- 6 posts
- Joined:
- Offline
-
- cncverkstad
- Member
- 163 posts
- Joined: 8月 2017
- Online
-
- cncverkstad
- Member
- 163 posts
- Joined: 8月 2017
- Online
-
- tamte
- Member
- 9130 posts
- Joined: 7月 2007
- Offline
jaminationit 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
-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.
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
jaminationagain, just multiply your vector by matrix using Multiply VOP or by quaternion using Rotate By Quaternion VOP ( qrotate() in VEX )
- 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.
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Quick Links