Hello;
I'm trying to convert Houdini's camera transformation to After Effects camera transformation.
So I need to retrieve the Target position of Houdini's camera.
Any idea?
Thanks.
I need target position of my camera
1721 1 1- Masoud
- Member
- 398 posts
- Joined: Aug. 2015
- Offline
- jsmack
- Member
- 7659 posts
- Joined: Sept. 2011
- Offline
Transform a point with the desired distance in front of the camera as the z value by the camera's matrix.
Pt (target position)
P (z point {0,0,-z})
M camera matrix
Pt = P * M
In vex, you can do something like this:
(but vex is not the only way)
Pt (target position)
P (z point {0,0,-z})
M camera matrix
Pt = P * M
In vex, you can do something like this:
(but vex is not the only way)
string camera = chs('camera'); matrix xform = optransform(camera); @P = set(0,0,-ch('distance')); @P *= xform;
-
- Quick Links