General Category > ASL Scripts
motion tracking request
AlDi:
Dear HiHosilver and Claude,
Thanks for the Input.
One of those DOH moments for me I guess :)
I have another question. Does anyone know how to the decipher or formulate the VOODOO coordinates to make them useful for Anim8or? I would prefer to use Voodoo.
Icarus is straight forward as the Rot_Quaterion is the Field used in Anim8or below:.....
# Camera track exported by ICARUS v2.09
Frame 120
projection_matrix:
0.000196255 7.85964e-011 0.000110603 -5.39229e-011
1.65442e-024 0.000196256 8.29519e-005 2.68306e-008
3.30884e-024 -5.29414e-023 0.00019552 2.31318e-009
translation:
6.94229e-006 -0.000131712 -1.18309e-005
rot_matrix:
1 1.2769e-021 1.69233e-020
-1.2769e-021 1 -2.70773e-019
-1.69233e-020 2.70773e-019 1
rot_quaternion:
1.35387e-019 8.46166e-021 -6.38448e-022 1
focal_length: 3.78544
field_of_view: 58.8081 45.8249
pixel_aspect_ratio: 1
skew: 0.000113699
principal_point: 160 120
The Voodoo for the same Frame is below......
# fov : Horizontal Field of View [degree] = (2*atan(0.5*Width*sx/f)*180/PI;
# (H0x, H0y, H0z) : RotationAxis0 [unit vector]
# (V0x, V0y, V0z) : RotationAxis1 [unit vector]
# -------------
# (x, y) : image coordinates [pel]
# (X, Y, Z) : 3D coordinates [mm]
# -------------
# Projection of 3D coordinates in the camera image:
# [ x' ] = [ Hx Hy Hz ] [ 1 0 0 -Cx] [ X ]
# [ y' ] = [ Vx Vy Vz ] [ 0 1 0 -Cy] [ Y ]
# [ z' ] = [ Ax Ay Az ] [ 0 0 1 -Cz] [ Z ]
# [ 1 ]
# or
# [ x' ] = [f/sx 0 ppx] [ H0x H0y H0z ] [ 1 0 0 -Cx] [ X ]
# [ y' ] = [0 f/sy ppy] [ V0x V0y V0z ] [ 0 1 0 -Cy] [ Y ]
# [ z' ] = [0 0 1 ] [ Ax Ay Az ] [ 0 0 1 -Cz] [ Z ]
# [ 1 ]
# then x = x'/z' and y = y'/z' , if the origin of the image coordinates is in the center of the image
# or x = x'/z' + 0.5*(Width-1) and y = y'/z' + 0.5*(Height-1) , if the origin of the image coordinates is in the upper left corner
# -------------
# Cx Cy Cz Ax Ay Az Hx Hy Hz Vx Vy Vz K3 K5 sx sy Width Height ppx ppy f fov H0x H0y H0z V0x V0y V0z
#
#timeindex 0
0.0000000000 0.0000000000 0.0000000000 0.0000000000 0.0000000000 1.0000000000 937.4999999971 0.0000000000 0.0000000000 0.0000000000 1000.0000000000 0.0000000000 0.0000000000 0.0000000000 0.0106666667 0.0100000000 320 240 0.0000000000 0.0000000000 10.0000000000 19.3703310328 1.0000000000 0.0000000000 0.0000000000 0.0000000000 1.0000000000 0.0000000000
Thanks,
AlDi
chaz:
AIdi
I'm like you. I want to use voodoo, not Icarus (which is supposed to leave a watermark on final video). There are a few tutorials on how to use voodoo with 3ds max, but none with blender or anim8or. A blender user told me how to import the python script into blender, but it was way out of my skill set as a beginning blender user.
Unfortunately, I don't know any programmers that could study the Ic2anim8 program and write one for anim8or. Maybe Steve could contact the folks at voodoo and see if they would include a script for us. I think voodoo is a university project in the Netherlands(?) and maybe it could be a student project?
Since voodoo will save the tracking as a text file, maybe we could find out a format to import the script.
Blender takes the data from the completed voodoo camera tracking and makes what is called a "point cloud" (from all the 'feature points') and also imports the camera data (rotation, movement, etc.). The targa frames are used as a background image. You are supposed to be able to determine your plane, etc, from the point cloud. At least, that is my understanding of it.
I found anim8or because of a tutorial at http://www.debugmode.com/tuts/wax/travelling_mattes/travelling_mattes.htm, on how to make traveling mattes with Wax 2.0. I want to become proficient with anim8or before completing the tut at that site.
CaptSparrow:
Could someone please upload the zip file containing everything, because my version has been corrupted, and the site no longer has it.
Thanks!
Navigation
[0] Message Index
[*] Previous page
Go to full version