I just gave it a go and it is doing the right thing. I.e. the resulting transform plus the original camera yield the match
Messy test script attached.



On 12/03/2015 02:37 PM, Frank Rueter|OHUfx wrote:
Yeah, the demo is a little confusing that way. But I think what Igor is saying that if you have a moving camera and a moving object, the resulting object track will have the camera movement baked in, i.e. will no longer work with the original tracked camera and will have to be rendered through a static camera - is that right Igor? I still haven't tried it here but I would have expected the resulting animation to be exclusive of any camera motion, so that the combo of both match the shot.


On 12/03/2015 02:24 PM, Chris Noellert wrote:
Doesn't it stand to reason that the camera in the demo vid isn't animated/tracked, hence all movement in the transform Geo node.

If the camera had been fracked it would have been a pretty lackluster demo since the camera is they only thing moving in that plate.

Best,
Chris

Sent from my iPhone

On Dec 2, 2015, at 2:01 PM, Igor Majdandzic <subscripti...@badgerfx.com> wrote:

Exactly, but when I want to film it again through 3D space, I've got the the "camera" baked into it. So, what would be the application. Can't project through the cam I used for analyzing the plate. Or what am I missing here? Just looking at the plate and the resulting transformed geo and I got confused.

Am 02.12.2015 um 20:32 schrieb Frank Rueter|OHUfx:
No, the camera is one of the required inputs for object tracking. The result is an animated TransformGeo


On 12/03/2015 01:01 AM, Igor Majdandzic wrote:
Nice!
But 1 Question?
It looks like the Camera is Baked into the obj. Am I correct? Why would I want that. I mean, i have a cam, right?

Am 02.12.2015 um 05:49 schrieb Howard Jones:
Excellent!

Is there a way to export moving camera and static object too ?

Howard

On 2 Dec 2015, at 12:47 a.m., Frank Rueter|OHUfx <fr...@ohufx.com> wrote:

Christmas came early:
https://vimeo.com/channels/nukepedia/147533966

This is a much requested feature which is why I'm posting it outside the usual Nukepeida channels.
Thanks Roman!!

--
<ohufxLogo_50x50.png> <http://www.ohufx.com> *vfx compositing <http://ohufx.com/index.php/vfx-compositing> | *workflow customisation and consulting <http://ohufx.com/index.php/vfx-customising>* *

_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk <mailto:Nuke-users@support.thefoundry.co.uk>, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk,http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk,http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk,http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk <mailto:Nuke-users@support.thefoundry.co.uk>, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk,http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

#! /usr/local/Nuke9.0v7/libnuke-9.0.7.so -nx
version 9.0 v7
define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
<layout version="1.0">
    <window x="1280" y="0" w="2560" h="1573" maximized="1" screen="0">
        <splitter orientation="1">
            <split size="40"/>
            <dock id="" hideTitles="1" activePageId="Toolbar.1">
                <page id="Toolbar.1"/>
            </dock>
            <split size="1897" stretch="1"/>
            <splitter orientation="2">
                <split size="896"/>
                <dock id="" activePageId="Viewer.1">
                    <page id="Viewer.1"/>
                </dock>
                <split size="630"/>
                <dock id="" activePageId="DAG.1" focus="true">
                    <page id="DAG.1"/>
                    <page id="Curve Editor.1"/>
                    <page id="DopeSheet.1"/>
                    <page id="uk.co.thefoundry.scripteditor.2"/>
                </dock>
            </splitter>
            <split size="615"/>
            <splitter orientation="2">
                <split size="1031"/>
                <dock id="" activePageId="Properties.1">
                    <page id="Properties.1"/>
                </dock>
                <split size="495"/>
                <dock id="" activePageId="com.ohufx.ToDoList">
                    <page id="com.ohufx.ToDoList"/>
                    <page id="com.ohufx.SearchReplace"/>
                </dock>
            </splitter>
        </splitter>
    </window>
</layout>
}
Root {
inputs 0
name /ohufx/shows/DEVL/shots/GEN/work/nuke/DEVL_objTrackTest.nk
format "2048 1556 0 0 2048 1556 1 2K_Super_35(full-ap)"
proxy_type scale
proxy_format "1024 778 0 0 1024 778 1 1K_Super_35(full-ap)"
addUserKnob {20 "To Do List"}
addUserKnob {2 todoSettingsFile l "Settings file"}
todoSettingsFile 
/ohufx/shows/DEVL/shots/GEN/work/nuke/DEVL_objTrackTest_toDoSettings.xml
}
ColorBars {
inputs 0
name ColorBars1
xpos 196
ypos -304
}
Cube {
name Cube1
xpos 196
ypos -165
}
set N7c63b30 [stack 0]
WriteGeo {
file /tmp/cube.obj
file_type obj
name WriteGeo1
xpos 362
ypos -114
}
Camera2 {
inputs 0
translate {{curve x1 -0.9649999738 x100 2.4599998} {curve x1 0 x100 
2.049999952} {curve x1 2.196000099 x100 2.509999752}}
rotate {{curve x1 0 x100 -30.24697023} {curve x1 -23.24159525 x100 34.12231028} 
{curve x1 0 x100 0}}
focal 23.8
name Camera1
xpos -3
ypos -132
}
set N7378630 [stack 0]
ReadGeo2 {
inputs 0
file /tmp/cube.obj
name ReadGeo1
xpos 365
ypos 40
}
push $N7378630
push $N7c63b30
TransformGeo {
translate {{curve x1 0 x40 0.5220000148 x69 0.5220000148 x95 0.5220000148} 
{curve x1 0 x40 0.4679999948 x69 0.6300000548 x95 0.07000000775} {curve x1 0 
x40 0 x69 -1.025402199e-07 x95 -2.05080454e-07}}
rotate {{curve x1 0 x40 0 x69 0} {curve x1 0 x40 25.26326635 x69 -10.56392574} 
{curve x1 0 x40 0 x69 0}}
name TransformGeo1
xpos 196
ypos -103
}
push 0
ScanlineRender {
inputs 3
conservative_shader_sampling false
motion_vectors_type distance
name ScanlineRender1
xpos 196
ypos 13
}
Crop {
box {0 0 2048 1556}
crop false
name Crop1
xpos 196
ypos 39
}
Grade {
add 0.34
unpremult rgba.alpha
name Grade1
xpos 196
ypos 65
}
GeoTracker {
inputs 3
controls "
14 -1
"
handlers { { 1 8 8 } 
{ { 3 1 70 name name 1 } 
{ 2 1 70 x2d x 1 } 
{ 2 1 70 y2d y 1 } 
{ 3 0 70 id id 0 } 
{ 1 0 70 x3d 3D_x 0 } 
{ 1 0 70 y3d 3D_y 0 } 
{ 1 0 70 z3d 3D_z 0 } 
{ 4 0 70 ok ok 0 } 
} 
{ 
 { "p6" {}  {}  "6" -0.497683 -0.499898 0.5 1  } 
 { "p7" {}  {}  "7" 0.495662 -0.49706 0.5 1  } 
 { "p8" {}  {}  "8" -0.498904 0.497369 0.5 1  } 
 { "p9" {}  {}  "9" -0.5 -0.489815 -0.473027 1  } 
 { "p10" {}  {}  "10" 0.497921 0.498778 0.5 1  } 
 { "p11" {}  {}  "11" 0.5 0.491185 -0.471747 1  } 
 { "p12" {}  {}  "12" -0.496042 0.5 -0.492893 1  } 
 { "p13" {}  {}  "13" 0.5 -0.47785 -0.498425 1  } 
} 
}

analysis_file_name /tmp/geoTrackTest
wireframe_color {0 1 0 1}
translate {{curve x1 0 0.01987534761 0.03985244036 0.05988430977 0.07979178429 
0.09951007366 0.1192494035 0.1387492418 0.1578124166 0.1771968007 0.196105957 
0.214599371 0.2334272265 0.2521582246 0.26987499 0.288193047 0.3047466874 
0.3219060004 0.3383177221 0.3542033732 0.3708511591 0.385057807 0.3995741606 
0.4132566452 0.4250380695 0.4397179186 0.4532052875 0.4653395414 0.4752970934 
0.4855457246 0.4934505522 0.5009447932 0.5079001784 0.5139378309 0.5194105506 
0.5232248902 0.5269726515 0.5308733582 0.5335147381 0.533159256 0.532910049 
0.5317996144 0.5315564275 0.5310273767 0.5299140811 0.5290941 0.5279735923 
0.5263981819 0.524587512 0.5224000216 0.5225538611 0.5139335394 0.5207750201 
0.5267316699 0.5244854093 0.5218280554 0.5192716122 0.5168603659 0.5143254399 
0.5174361467 0.5172486305 0.5164998174 0.5164733529 0.5152945518 0.5157738924 
0.5158814192 0.5159810185 0.5152926445 0.5167367458 0.5176003575 0.518230319 
0.5186703205 0.5191574097 0.5198334455 0.5196356177 0.5191249251 0.5171853304 
0.5169864893 0.5155112147 0.5141916871 0.511777699 0.5110737681 0.5120014548 
0.5096389055 0.5099667311 0.5100207329 0.5104151964 0.5104376078 0.5124065876 
0.5169365406 0.5148233175 0.5122256279 0.5144460797 0.5134009719 0.5148029923 
0.5158184767 0.5163710117 0.5166652799 0.5175976753 0.5095558167} {curve x1 0 
0.01299155131 0.02617624402 0.03906958178 0.05217630044 0.06508810073 
0.07795271277 0.09070450813 0.1038780734 0.1169507727 0.1305562854 0.1434440017 
0.1572136581 0.1691625267 0.1816134751 0.1933643073 0.206648618 0.2194236219 
0.2321068794 0.2445663214 0.2574189305 0.2702490687 0.2820905447 0.2942593992 
0.3069315851 0.3182515204 0.332665354 0.3434500694 0.3548952937 0.3660873771 
0.3769661188 0.3877060115 0.3985331059 0.4086633921 0.4182370305 0.4295363724 
0.4391490817 0.4490341842 0.4592657983 0.4679981768 0.4791316688 0.4884816408 
0.4972603619 0.5064245462 0.5164715052 0.5248024464 0.5328589678 0.5391833782 
0.5459142923 0.5514051914 0.5543299317 0.5585163832 0.5572952032 0.5752678514 
0.5829378963 0.5892370343 0.5945724845 0.600589633 0.6052076817 0.609665513 
0.6148576736 0.6160792708 0.618186295 0.6196895242 0.6219340563 0.6238706112 
0.6254543662 0.6252416968 0.6269472837 0.6261311173 0.62334764 0.6180607677 
0.6110050678 0.6020586491 0.5903288722 0.5757830143 0.5575339794 0.5388190746 
0.5185289383 0.4956235588 0.47055915 0.4461287558 0.4231724143 0.3930334151 
0.3683832288 0.3412004113 0.3129278719 0.2840765119 0.2571703196 0.2340064049 
0.1976296157 0.1613531858 0.1308710873 0.0963646397 0.06518507749 0.06417047977 
0.06387794018 0.06248151883 0.06186163425 0.06102490425} {curve x1 0 
0.000321149826 0.0005333423615 0.0008804798126 0.0007247924805 0.00102353096 
0.0004804134369 0.0006585121155 0.0006334781647 0.000408411026 -0.0002827644348 
-9.608268738e-05 -0.0009245872498 -0.00203037262 -0.002384901047 
-0.003203868866 -0.002679586411 -0.002418279648 -0.003417491913 -0.004149198532 
-0.003957509995 -0.004591941833 -0.004799604416 -0.005239009857 -0.005266189575 
-0.007646083832 -0.009673118591 -0.01196622849 -0.01233005524 -0.01269650459 
-0.01145505905 -0.01336026192 -0.01339030266 -0.01381373405 -0.01400613785 
-0.01351976395 -0.01526904106 -0.01814961433 -0.01648783684 -0.01357579231 
-0.01034879684 -0.01471614838 -0.01534605026 -0.01735830307 -0.0113389492 
-0.01216840744 -0.01212596893 -0.01291441917 -0.01002931595 -0.007893322036 
-0.01004082058 -0.002894543111 -0.01891262084 -0.0140048638 -0.007083686069 
-0.006679620594 -0.006844184827 -0.007744507398 -0.007767849602 -0.01098078024 
-0.007644657046 -0.006857268047 -0.005775250029 -0.004799764138 -0.003303899197 
-0.001800285885 -2.112067887e-05 0.0006851232611 0.001591209322 0.002840280067 
0.00465965271 0.006106376648 0.007791996002 0.009582996368 0.01074309275 
0.0108332783 0.007782228291 0.004350293428 0.003914372064 0.0006192045985 
-0.004646154121 -0.005607741885 -0.004786735401 -0.01104064751 -0.01045322418 
-0.01119003445 -0.01148374379 -0.01273693703 -0.01008742582 -0.00201276131 
-0.01211396698 -0.02092405781 -0.01912336238 -0.02340935916 -0.02000404149 
-0.0184803009 -0.01718640327 -0.01583075337 -0.01399683952 -0.016933918}}
rotate {{curve x1 0 -0.05749695376 -0.1042864695 -0.1464880705 -0.1876743883 
-0.2296442986 -0.2900464535 -0.3300893307 -0.3297848701 -0.3469934762 
-0.2754902542 -0.3055428267 -0.2107864767 -0.2428803295 -0.2525060773 
-0.3187938929 -0.2319133431 -0.1619232446 -0.1216473877 -0.03840834647 
0.135188669 0.1829081029 0.1738186032 0.2581920922 0.2844566703 0.379888624 
0.7378551364 0.7116181254 0.7186915874 0.8081666231 0.753881216 0.7362838387 
0.7584081292 0.7142750621 0.6473075747 0.7729122043 0.7016233802 0.7448536754 
0.8210679889 0.6787270904 0.6987726688 0.8971430063 0.877370894 0.9718608856 
0.9807243347 1.035634279 1.037057996 0.8620361686 0.6202729344 0.2680777311 
-0.09998033941 -0.6022093892 -0.6989679337 0.6091414094 0.4354894161 
0.4830701053 0.4379057586 0.4901011884 0.3895996809 0.3404451311 0.3355590105 
0.1154116318 0.03469979763 -0.1052389443 -0.09964446723 -0.0806087032 
-0.07119034976 -0.1515095085 -0.02950448357 -0.03881466016 -0.03274726868 
-0.03032159433 -0.001054298482 0.05393408984 0.06149380282 0.01860097423 
-0.004222460091 0.1246976331 0.04129997268 0.05034858733 0.310541749 
0.193290025 0.2735723853 0.2644512355 0.3502241373 0.4189943373 0.414329797 
0.5399320126 0.6577032208 0.5998920798 0.5428183079 0.4358339906 0.297239691 
0.1942955852 -0.01391675882 -0.2152051181 -0.311167717 -0.4814165533 
-0.6323693991 0.5043851733} {curve x1 0 0.8890292645 1.817287564 2.808626413 
3.750516653 4.695245266 5.65692997 6.591642857 7.555655956 8.457322121 
9.360192299 10.27914906 11.15071487 11.97845936 12.82863235 13.57173157 
14.41473866 15.1667738 15.92889595 16.71195412 17.36244774 18.07608223 
18.72408867 19.37728119 20.02200317 20.45700264 20.88503456 21.31752586 
21.84407425 22.19651794 22.66166115 23.09899712 23.4149704 23.72465324 
23.95009804 24.15353966 24.31193161 24.34226036 24.27883911 24.37810707 
24.2804203 24.21148872 23.92355919 23.4397316 23.1380558 22.58734512 
21.95758247 21.27479362 20.51471519 19.70110893 18.30721092 18.09590912 
15.48543739 13.8299017 12.73783016 11.48644447 10.10562325 8.74797821 
7.499650955 5.553949833 4.459406853 2.652125359 0.6411901116 -1.178393006 
-3.207034111 -5.096031666 -6.804282188 -8.985739708 -11.18558121 -11.26870537 
-11.16579342 -11.07724762 -10.97387886 -10.87843037 -10.73328781 -10.63144112 
-10.51421452 -10.69622898 -10.54978085 -10.57354832 -10.79789257 -10.51209068 
-10.53633881 -10.57004166 -10.36504745 -10.29425335 -10.17032623 -10.15417957 
-10.02536964 -9.688619614 -9.882844925 -9.944059372 -9.760708809 -9.76559639 
-9.526954651 -9.405360222 -9.338465691 -9.24341774 -9.165078163 -10.58047295} 
{curve x1 0 0.005648766644 0.02455428988 -0.02285365015 -0.02968535945 
-0.06281401217 -0.09194482863 -0.1336214393 -0.1372927874 -0.1793159693 
-0.1290685087 -0.1943864822 -0.1602792889 -0.2199783325 -0.24079822 
-0.3558449149 -0.3339059651 -0.4088265598 -0.397148639 -0.4601447284 
-0.6297361255 -0.6141861081 -0.6607535481 -0.694178164 -0.6035293341 
-0.6544365883 -0.491895169 -0.4744493365 -0.5137073398 -0.493134439 
-0.5392200947 -0.563793838 -0.5858083963 -0.6438030005 -0.6501619816 
-0.5644884109 -0.5718051791 -0.4678140581 -0.4186196327 -0.514369607 
-0.5188705921 -0.2937265038 -0.285153836 -0.1386891752 -0.1399563998 
-0.04325786233 0.05940959975 0.1218353286 0.1671223491 0.2238517404 
0.5177070498 0.5442597866 1.073251486 0.7813284993 0.7468773723 0.6376678944 
0.5787292123 0.3724522591 0.1492716819 -0.01865650713 -0.136992231 
-0.08524374664 0.01403043792 0.1719638854 0.2662777007 0.3025821447 
0.3443708122 0.4791477621 0.3527320325 0.3543815017 0.3120267093 0.3169727623 
0.2990787923 0.2567815781 0.2548082173 0.2935469747 0.2988456488 0.2244299352 
0.3147464991 0.3239853978 0.2446748763 0.1966926754 0.1138214245 0.03879814968 
-0.1776067913 -0.3016823828 -0.378892988 -0.5193439126 -0.7136602998 
-0.840655148 -0.943520546 -0.941151619 -0.9376704693 -0.9222196341 
-0.8725188375 -0.7693827748 -0.7270205617 -0.6247801185 -0.5372472405 
-0.54773283}}
keyframes {1 50 61 72 99 100}
tmp.translate {{curve} {curve} {curve}}
tmp.rotate {{curve} {curve} {curve}}
tmp.keyframes {}
name GeoTracker1
xpos 196
ypos 163
}
Viewer {
frame 1
frame_range 1-100
center_fstop 0
gl_lighting true
name Viewer1
xpos 244
ypos 279
}
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to