Hi, I have simple set up that uses the maketransform function on a primitive.
The scaling and rotating works fine but doesn't respond to any translation inputs.
I tried ‘casting up’ the primintrinsic from a matrix3 to matrix to be on par with the maketransform.
That doesn't work - I guess it might by manually setting up a matrix from primintrinsic transform data, through trial and error to get the same ‘sequence’ as what the maketransform establishes for the translates, rotates, scale, etc.
If of course that's the issue happening.
Insight is appreciated - Thanks.
Translating Primitive with maketransform
1464 3 0- BabaJ
- Member
- 2041 posts
- Joined: Sept. 2015
- Offline
- tamte
- Member
- 8555 posts
- Joined: July 2007
- Online
that's because “transform” intrinsic of most primitives is matrix3 so can hold only rotates and scales (and skews, etc.), but no translates
so you'll have to translate the P of the point the primitive is attached to
the exception is VDB volumes for example, whose “transform” intrinsic is full 4x4 matrix, not sure why this discrepancy, but currently that's what it is
so you'll have to translate the P of the point the primitive is attached to
the exception is VDB volumes for example, whose “transform” intrinsic is full 4x4 matrix, not sure why this discrepancy, but currently that's what it is
Edited by tamte - Aug. 19, 2018 23:09:16
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- jsmack
- Member
- 7771 posts
- Joined: Sept. 2011
- Online
- BabaJ
- Member
- 2041 posts
- Joined: Sept. 2015
- Offline
-
- Quick Links