Not sure why it doesn't work, I can see the camera moving here
On 14 September 2012 08:57, Todd Groves <[email protected]> wrote:
> Hey Howard,
>
> The Axis moves, but the Camera doesn't move. Will that change if I use
> WriteGeo to generate an FBX version?
>
>
>
> On Sep 13, 2012, at 1:18 PM, Howard Jones wrote:
>
> HI Todd
>
> Script below. Your track range is 953-987 correct?
>
> Anyway I put your track into the tracker2Camera gizmo
> Created camera using 'create camera' under the 'Translate solves'
>
> That was it - worked fine, might even match your image. Use the latest
> Tracker2Camera (attached again)
>
> The script below is set to HD as I dont know what format you are working
> in.
>
> Howard
>
> set cut_paste_input [stack 0]
> version 7.0 v1b38
> push $cut_paste_input
> Tracker3 {
> track1 {{curve x953 1192 1247.527466 1304.445923 1361.67395 1420.560303
> 1482.739014 1548.128296 1610.351685 1671.486572 1732.383667 1793.790527
> 1853.362915 1912.415894 1974.61438 2034.171753 2091.987915 2145.516113
> 2197.037842 2249.268921 2301.771729 2353.022583 2401.169312 2450.260254
> 2500.791992 2553.439941 2607.471924 2661.059082 2713.591431 2765.387695
> 2819.274414 2875.749146 2933.259277 2988.799438 3042.455322 3093.411133}
> {curve x953 818 819.5675049 821.9576416 824.9746704 828.8840332 835.4890137
> 843.7455444 852.7792358 862.2110596 871.3128052 882.1752319 892.2661743
> 902.6511841 912.3652954 923.1884766 934.8099976 944.2409668 951.4041748
> 956.5293579 961.5074463 964.8376465 967.0097046 968.0718994 968.6292114
> 970.2266846 971.1508179 972.5056763 972.8568115 973.5623779 974.3269043
> 975.4362183 977.2075195 979.0283813 981.0758057 983.494873}}
> offset1 {0 0}
> pattern1 {-104 -54 104 54}
> search1 {-84 -77 84 77}
> track2 {1126 474}
> offset2 {0 0}
> pattern2 {-32 -32 32 32}
> search2 {-22 -22 22 22}
> track3 {1126 678}
> offset3 {0 0}
> pattern3 {-32 -32 32 32}
> search3 {-22 -22 22 22}
> track4 {922 678}
> offset4 {0 0}
> pattern4 {-32 -32 32 32}
> search4 {-22 -22 22 22}
> transform match-move
> reference_frame 953
> translate {{curve x953 0 55.52746582 112.4459229 169.6739502 228.5603027
> 290.7390137 356.1282959 418.3516846 479.4865723 540.383667 601.7905273
> 661.362915 720.4158936 782.6143799 842.1717529 899.987793 953.5161133
> 1005.037842 1057.269043 1109.771729 1161.022461 1209.169434 1258.260254
> 1308.791992 1361.439941 1415.471924 1469.059082 1521.591309 1573.387695
> 1627.274414 1683.749023 1741.259277 1796.799316 1850.455322 1901.411133}
> {curve x953 0 1.567504883 3.957641602 6.97467041 10.8840332 17.48901367
> 25.74554443 34.77923584 44.21105957 53.31280518 64.17523193 74.26617432
> 84.65118408 94.36529541 105.1884766 116.8099976 126.2409668 133.4041748
> 138.5293579 143.5074463 146.8376465 149.0097046 150.0718994 150.6292114
> 152.2266846 153.1508179 154.5056763 154.8568115 155.5623779 156.3269043
> 157.4362183 159.2075195 161.0283813 163.0758057 165.494873}}
> center {{curve x953 1192 1192 1192 1192 1192 1192 1192 1192 1192 1192
> 1192 1192 1192 1192 1192 1192 1192 1192 1192 1192 1192 1192 1192 1192 1192
> 1192 1192 1192 1192 1192 1192 1192 1192 1192 1192} {curve x953 818 818 818
> 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818 818
> 818 818 818 818 818 818 818 818 818 818 818 818 818}}
> name Tracker1
> selected true
> xpos -271
> ypos 130
> }
> CheckerBoard2 {
> inputs 0
> name CheckerBoard1
> selected true
> xpos -86
> ypos 131
> }
> Sphere {
> radius 0.01
> name Sphere1
> selected true
> xpos -86
> ypos 227
> }
> Camera2 {
> inputs 0
> translate {{-Tracker2Camera.solvedTranslate}
> {-Tracker2Camera.solvedTranslate} {-Tracker2Camera.solvedTranslate}}
> focal {{Tracker2Camera.focalLengthCalc}}
> haperture {{Tracker2Camera.apertureCalc.x}}
> vaperture {{Tracker2Camera.apertureCalc.y}}
> name Camera1
> label translate
> selected true
> xpos -255
> ypos 247
> }
> Scene {
> inputs 2
> name Scene1
> selected true
> xpos -76
> ypos 290
> }
> tracker2Camera2 {
> inputs 0
> name Tracker2Camera
> note_font Arial
> selected true
> xpos -270
> ypos 179
> format 0
> apertureCalc {24.576 {apertureCalc.x*height/width}}
> fovCalc {{degrees(2*atan(apertureCalc/(2*focalLengthCalc)))}
> {degrees(2*atan(apertureCalc/(2*focalLengthCalc)))}}
> apertureFocalRatio {{apertureCalc.x/focalLengthCalc.main}}
> Trax01 {{curve x953 1192 1247.527466 1304.445923 1361.67395 1420.560303
> 1482.739014 1548.128296 1610.351685 1671.486572 1732.383667 1793.790527
> 1853.362915 1912.415894 1974.61438 2034.171753 2091.987915 2145.516113
> 2197.037842 2249.268921 2301.771729 2353.022583 2401.169312 2450.260254
> 2500.791992 2553.439941 2607.471924 2661.059082 2713.591431 2765.387695
> 2819.274414 2875.749146 2933.259277 2988.799438 3042.455322 3093.411133}
> {curve x953 818 819.5675049 821.9576416 824.9746704 828.8840332 835.4890137
> 843.7455444 852.7792358 862.2110596 871.3128052 882.1752319 892.2661743
> 902.6511841 912.3652954 923.1884766 934.8099976 944.2409668 951.4041748
> 956.5293579 961.5074463 964.8376465 967.0097046 968.0718994 968.6292114
> 970.2266846 971.1508179 972.5056763 972.8568115 973.5623779 974.3269043
> 975.4362183 977.2075195 979.0283813 981.0758057 983.494873}}
> solved3D {{-(Trax01.y/height-0.5)*fovCalc.y}
> {(Trax01.x/width-0.5)*fovCalc.x} 0}
> solvedTranslate {{(Trax01.x-width/2)/width*apertureFocalRatio*scaleScene}
> {(Trax01.y-height/2)/width*apertureFocalRatio*scaleScene} {-scaleScene}}
> }
>
> <tracker2Camera2.gizmo>_______________________________________________
>
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users