Card to Track v9.2


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Alexey Kuchinski
Finding position in 3D space based on Geometry,World position pass, Deep or manual method. Reconcile 3D position to CornerPin, Transform and Roto nodes.
Requirements:
14.0, 13.2, 13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11 or later
Linux, Mac, Windows
07 Jul 2024
6723

 

Video Tutorials:

New Features v9.00

Full Tutorial v9.00

 

v9.02

Bugs fixed.

  • Fixed broken calculation when label text had spaces inside
  • Tproject had center point offset, now it will be correctly positioned in the center of the card
  • Roto created had still format resolution set to Project fprmat and not input format
  • Nuke 15.1 only it seems - stabilization in CProject became broken

 

v9.01

New features and improvements.

  • Added Delete Button per Tab.
  • CProject will check if another CProject is positioned upstream and adjust 'Aspect Ratio' automatically.
  • Dropdown name in main dropdown changed from '3D Locator' to '3D Locator(Card or Axis)'.

Bugs fixed.

  • When stabilizing and Axis was appearing in weird places and not in the center of the card.
  • In CProject When press 'Stabilize' while 'Set Input' enabled - label was not updated correctly.

Known Issues.

  • Will not work correctly Under Nuke 14.0v1 due to some Nuke Bug. Fixed in Nuke 14.0v5 and higher.
  • When CProject gizmo is created animation curves are not disapearing from Curve Editor, solved only when restart nuke. (Nuke bug ID 337536).

 

 

v9.00

New features and improvements.

  • Nuke 14 tested, still fully based on Classic nodes.
  • Full code refactor, various optimizations especially calculation speed improvements in long sequences.
  • UI and general extraction are reworked for more fluid and user friendly workflow.
  • Tabs per extraction added, extraction info now is stored within CardToTrack node itself.
  • Added Stabilization option in 'Adjust TRS' area to help to get more precise card placement.
  • Grid thikness and subdivision options added.
  • Recalculating card by same name that already was calculated will update exsisting values in Group Tabs.
  • Added option to recalculate camera for existing extracted objects.
  • It is possible now after camera update to update nodes related to the CardToTrack group in nodegraph.
  • Added option to generate linked TProject and CProject.
  • Pixel Aspect ratio is taken from the input and not project settings.
  • Option to choose between roto or rotopaint added.
  • Exposed Axis in the 'Adjust TRS' area to easier card adjustment control.
  • Added support to Axis connected to Camera.
  • Added support to variable backplate offset in Camera.
  • Added support to variable focal lenth values during a shot.
  • Camera is not have to be directly connected to CardToTrack anymore.
  • added input aspect option in CProject.
  • added output format option in CProject.


Known ussues:
It is impossible to create linked roto, (somehow it is not possible to link Roto's matrix knob, Nuke bug?)
Impossible to hide CardToTrack curves (Nuke14 bug?)

Instalation v9.0:

 Paste following files to your nuke plugins directory

1
2
3
4
5

card_to_track.py
CardToTrack2.gizmo
TProject2.gizmo
CProject2.gizmo
my.png

 Add those lines to your meny.py

1
2
3
4
nodesMenu = nuke.menu('Nodes')
nodesMenu.addCommand('Transform/CardToTrack/CardToTrack', 'nuke.createNode(\'CardToTrack2\')',icon='my.png')
nodesMenu.addCommand('Transform/CardToTrack/CProject', 'nuke.createNode(\'CProject2\')',icon='CornerPin.png')
nodesMenu.addCommand('Transform/CardToTrack/TProject', 'nuke.createNode(\'TProject2\')',icon='Transform.png')
 

 

IMPORTANT: Card to track must stay the group, do not convert it to the Gizmo.

 

HUGE Thanks to numerous contributors and complainers that helped me to shape CardToTrack where it is now! Just to mention few:

Eyal Shirazi, Helge Stang, Adrian Pueyo, Marco Meyer, Tony Lyons, Mark Joey Tang, Pete O'Connell, Ivan Busquets, Nikolai Wusterman, Philip Danner, Igor Majdandzic and aff course MAGNIFICENT TRIXTER FOLKS!!!!

 

 

 

 

Please login in order to download these files.

Comments   

 
0 # Alexey Kuchinski 2012-04-25 04:10
upps, found some mistake in v1.0, fixing now, will upload soon v2.0
Sorry for that
 
 
0 # Diego Ramos 2012-12-10 10:52
I think this great, but I dont know how this works..could you make a tutorial? :-)
 
 
0 # Alexey Kuchinski 2012-12-10 11:46
Hi Diego, i definitely will, just do not have time right now. Generally you need to position your card in the right place, than select your camera + select your BG + select this card and run the script. this works exactly as Reconcile3D node, just instead of axis you have a card.
It also will support moving/scaling/ rotation of the card (but will not work with card connected to Transform node or with animation in Extra matrix)
Hope it is enough for now, soon (hopefully) will post Tutorial :-)
 
 
0 # Alexey Kuchinski 2012-12-10 15:05
Here we go :-)
Hope my English is good enough
http://www.youtube.com/watch?v=-NTdTy2PzQ0&feature=youtu.be
 
 
0 # Julian Lojek 2012-12-12 01:44
So this is what you do at night. :-) Thanks, will come in handy. Good work!
 
 
+1 # Falk Hofmann 2012-12-12 05:35
nice one Alexey!
seems to be much faster than using cards with a scanline render.
 
 
0 # kim sihyun 2012-12-13 02:06
this is super useful scripts
thanks
 
 
0 # li zhaohui 2012-12-22 11:07
I'm interested in your nuke plugin package, especially MassivePanel, whether it can be shared.My English is very bad....
Thank you!
 
 
0 # Patrick David 2013-01-04 08:56
This is amazing, however is it just me or does Nuke's motionblur not seem to work properly on matrix transformations ?
 
 
0 # Alexey Kuchinski 2016-02-28 08:59
Hi Patrick, Sorry for the late answer, it should work, sometimes the re some kind of Gimble lock and the animation flipps. Happenning if you rotating to the point behind tracked card(more than 180 degrees), or if you passing the card with the Camera.
 
 
0 # Alexey Kuchinski 2016-02-28 09:01
New Version (v6.0) finally have got what was missing all the time - SPEED!!!
the calculation happening almost instantly.
Huge thanks to Helge Stang for this improvement.
 
 
0 # Mike Connolly 2016-02-29 00:28
Brilliant CardToTrack.com mand, thank you.

But with CardToTrackGizm o I get:

unable to sample node at given location (1496.4, 1014.8) for the current context (may be zoomed in or have a ROI set)

I'm either all zoomed out, or zoomed in with viewer (as per the video), I don't have an ROI, base size is same as image.

Please advise

NukeX 9.0v8 OSX
 
 
0 # Alexey Kuchinski 2016-02-29 03:46
Hi, Mike.

Never had this error before, can you please send me a script please? maybe i will be able to recreate that.


exchange plate to constant if cant send the video.
thank you.
 
 
0 # Alexey Kuchinski 2016-02-29 04:03
OOO Crap!!!
just downloaded my own upload. the gizmo had disconnected camera inside, will re-upload...... now
sorry
weird...
 
 
0 # Magno Borgo 2016-02-29 20:53
The roto "bug" can be solved using:

yourrotonode['curves'].changed()

after you create everything, it will force it to update the node ui
 
 
0 # Alexey Kuchinski 2016-03-01 07:54
Huge thanks!
will try this one and update the submission.
Thanks again Magno!
 
 
0 # Alexey Kuchinski 2016-03-01 17:47
Did anybody else expierence problem Mike had with CardToTrack gizmo?

unable to sample node at given location (1496.4, 1014.8) for the current context (may be zoomed in or have a ROI set)

trying to solve it but can not recreate the error, would like to know if it is some local problem or a gizmo is not working for other people as well.
thank you
 
 
+1 # Alexey Kuchinski 2016-03-05 09:20
Hi there, seems like Foundry did change some TCL rules from version 9.08 and higher, so i am expecting you will have issues with CardTo Track gizmo, will fix the problem as soon as will have 9.v08
sorry for inconvinience
(it should run fine on lower versions though)
FIXED in version 6.04
if your viewer is looking redish - go inside of gizmo and put clamp after blue NoOp node - it is just preview issue, FIXED in version 6.05
 
 
0 # Travis Button 2016-05-28 20:37
Hey Alexey. Came across this thread because of a recent issue I started having on the "Magic Carpet" 4 point multi-gradient gizmo I've been using from Nukepedia for years. I have made a few adjustments over time to make it better but apparently this same bug was introduced via Nuke 9.0v8 for that gizmo as well. What exactly was your fix? The bug is producing really odd terminal errors and sporadically working/not working in the gui. My error is from a TCL expression pulling rgb values from a Crop node. Example: [sample Crop4 red 10 10 8 8]. I have tried a number of things to fix it to no avail. Any ideas?
 
 
0 # Alexey Kuchinski 2016-05-29 07:42
Hi Travis, not sure if it is connected to your problem, what happened in my Gizmo is that i was sampling the rgb value of certain node using python command inside of NoOp node.
the output of NoOp node was not connected to nothing
That was okay till Nuke 9.08, in Nuke 9.08 as turned out to be - if node is not connected to the main tree of the gizmo it is not evaluated (at least for me the solution was just to connect the bloody node to the tree with a merge node and set the mix value to zero)

maybe you can send me a group that errors and i will have a look
cheers
 
 
0 # Travis Button 2016-05-29 16:54
Thanks for the reply, Alexey. In a roundabout way, it does sound like the same problem. I have a crop node that is feeding values to a constant and half the time (depending on which node you're viewing) the constant gets the value it is supposed to and the other half of the time it returns 0. Like yours, it's pulling RGB values, in my case from a crop node using TCL. I can literally open them up sideXside Nuke9v6 it works fine and Nuke 9v8 it's broken the same way you report. I tried your fix with the merge node as well as a shufflecopy to get it connected to the main tree and it worked for a second and then it didn't. Extremely buggy. I reported this to the foundry and sent sample script so hopefully I'll hear from them tomorrow. I can send you the script/group if you give me your email. Thanks again!
 
 
0 # Alexey Kuchinski 2016-05-29 17:00
Hi
have to say that i also had a plenty errors with nuke expressions
inside of groups and funny enough too frequently i was solving the problem without fully understanding why for example : the simple line as input1.translat e.x is just refusing to work from time to time
(many times solution was to turn the expression into python)
my mail is
 
 
+1 # Marco Masotti 2017-02-14 15:51
Hi, Alexey!
I can't use this gizmo on Nuke 10.0v5 (unknown command type when I click on the tab on top).
Anyway after a Copy and Paste it works but when I click "go" it doesn't export correctly the CProject. I only get a normal corner pin. Of course would be the same add some framehold or other but your CProject was very good. Can you help me in this case?
Thank you very much! Awesome job!
 
 
+1 # Alexey Kuchinski 2017-02-14 16:20
Hi Marco, thank you.
i do not work with Nuke 10, still on 9.
But i did run a simple test on 10,0v3 and everything went just fine.
Did you just download the gizmo or you used it before on lower version?
are you sure your CProject gizmo is in your plugin folder?

can not check for Nuke 10,0v5 since i do not have an access to it right now, sorry.
 
 
0 # Marco Masotti 2017-02-14 16:56
Thanks, Alexey,
It's the first time that I use it.
I've placed the folder inside .nuke and I've also put the lines into menu.py
 
 
+1 # Alexey Kuchinski 2017-02-14 17:46
Hi,
please dive inside of CartToTrack gizmo, check if StabSwitch1 is connected to ScanlineRender1 Camera input, if not - reconnect please.
maybe the Gizmo was corrupted on Upload, checking it now, if yes, will re upload ASAP.
thank you
 
 
0 # Alexey Kuchinski 2017-02-14 19:03
Hi Marco,
re uploaded newer version, hope that will fix the problem.
worked on Nuke 10.0v03.
Thank you for reporting!
 
 
0 # Marco Masotti 2017-02-15 09:24
Hi, Alexey!
Thanks for the support!
Unfortunately, it's still not working :-|
There's always the CardToTrack: Unknown command error message.
 
 
+1 # Alexey Kuchinski 2017-02-15 10:04
Hi, good morning,
Which tab are you clicking?
are you talking about the CardToTrack menu?
if yes, press "x" , type CardToTrack - it should bring the node.
if you managing to bring the node probably something in your menu.py went wrong check if you did mistype something.
running out of ideas :D
 
 
0 # Marco Masotti 2017-02-15 10:36
Good morning!
I was talking about the button on the bar on top (near to "help").
also trying to execute with "x" and typing CardToTrack, nothing.
I just copied and paste the three lines above in the menu.py :D
maybe there's something strange with this nuke version.
I will keep you updated about it!
I hope the problem is just me 8)
 
 
+1 # Alexey Kuchinski 2017-02-16 07:21
Hi, it seems that Nuke is not loading the CardToTrack gizmo on startup, do you have some other ........ stop stop stop!!!!
just re read your first post: I've placed the folder inside .nuke

you have to put only files inside of .nuke folder, not a folder with files inside!!! nuke will not access the folder you pasted in, nuke will look into .nuke folder only
i think we are done here :)
 
 
0 # Marco Masotti 2017-02-16 09:18
Hi, Alexey!
Wow, I feel so dumb :o other gizmos I have are working inside their folder. Sorry for the waste of time :D
Thanks again! You did a great and useful gizmo!
 
 
0 # Alexey Kuchinski 2017-02-16 11:49
Hi Marco, glad we solved it!
cheers
 
 
0 # Sven Akelian 2017-10-02 12:22
Thanks Alexey,
Can you elaborate on using the now builtin Card2Track Command ?

I'm connection my card to the extra slot, setting the gizmo to "I have a card", but this does not work :(
 
 
0 # Alexey Kuchinski 2017-10-02 12:32
hi Sven.
are you getting some error message?
is your camera connected
do you have animation in your camera
frame range.......
resolution.....
too many things can go wrong
havw you seen tutorial?
you can send me script as well
cheers
 
 
0 # Alexey Kuchinski 2017-10-02 12:32
hi Sven.
are you getting some error message?
is your camera connected
do you have animation in your camera
frame range.......
resolution.....
too many things can go wrong
havw you seen tutorial?
you can send me script as well
cheers
 
 
0 # piotr hurny 2018-01-30 15:56
Hello Alexey, long time no see.

I have an issue with you script.

I am using Nuke 10.5v2 on windows 7.

The gizmo freezes nuke when I press GO!

Its not responding and I wonder why.

I am not using any undistort nodes for the BG.

Can you help me or explain why does it freeze up ?

Cheers

Peter
 
 
0 # piotr hurny 2018-01-30 16:01
Quoting piotr hurny:
Hello Alexey, long time no see.

I have an issue with you script.

I am using Nuke 10.5v2 on windows 7.

The gizmo freezes nuke when I press GO!

Its not responding and I wonder why.

I am not using any undistort nodes for the BG.

Can you help me or explain why does it freeze up ?

Cheers

Peter


Never mind its just very slow. Took about 5 mins but it works! :)
 
 
-1 # Bernd M 2018-04-01 01:15
It's one of the greatest gizmos!!!
 
 
0 # Adrian Rivera 2018-05-03 18:26
Hi, love your gizmo!

I was wondering if you could add another feature in your next version, information that comes in the corner pins and roto node come from undistorted sources due 3d camera and reconcile3d information, would there be a way to also export position information already distorted, say as if there would be an undistorted lensdistortion node in the BG input after the plate, so the gizmo could take that information, copy it and then apply a the distortion into the information, it would would be great specially for the roto node since you normally roto in the distorted plate
 
 
0 # Alexey Kuchinski 2018-05-03 21:00
Hi Adrian, thank you for your comment.
a corner pin has points and it is theoretically possible to calculate
their position affected by some lens distortion.
Problem 1 : it is complicated from numerous reasons.
Problem 2: everything between points will be not properly distorted since it will be linearly interpolated between points and will not correspond to the lens distortion.

I will recommend to you to do your masks on undistorted footage and apply the distortion to mask later on.

or, and frankly that is my preferred way : just mask the distorted footage and add 2-3 additional keyframes fo fix possible drift.It will do in the most cases.
cheers
 
 
0 # Adrian Rivera 2018-05-03 21:27
I see, thank you for the quick response! :)
 
 
0 # Alexey Kuchinski 2019-06-21 20:06
Hi Folks, sorry for the spam , new version is available, check it out!
v7.02

added possibility to calculate from Axis or chain of Axises *
added possibility to calculate from Deep *
UI changes to provide more user friendly experience*
Default frame range is taken from Camera animation and not from project frame range
Some stability improvements(ho pe no new bugs introduced)
 
 
0 # MARK PINHEIRO 2019-06-24 14:00
Thanks ;-)
 
 
0 # Roman Antonjuk 2019-07-31 00:25
global name "first_frame_v' is not defined
help me please :)
 
 
0 # Alexey Kuchinski 2019-07-31 05:18
Hi Roman.
This happens when you have no keyframes in your Camera animation, .... probably. is this a case?

sometimes it is not working when you standing outside of the comp range on the timeline as well .

If none of this, send me the script so i will be able to debug the issue. no material needed, just a camera and the constant with proper resolution instead of the plate.
Will release new version with additional fixes soon.



cheers.
 
 
0 # Alexey Kuchinski 2019-07-31 08:45
funny enough, just came to work and my collegiate greeted me with same error, the reason in his case was that his camera has linked transformations to camera tracker.
we baked the animation and all worked
 
 
0 # Alexey Kuchinski 2019-07-31 08:45
funny enough, just came to work and my collegiate greeted me with same error, the reason in his case was that his camera has linked transformations to camera tracker.
we baked the animation and all worked
 
 
0 # bang meng 2019-08-09 10:44
Great, can you make a choice when you create it? Instead of only creating all and card
Thank you very much for sharing.
 
 
0 # Alexey Kuchinski 2019-08-09 10:54
Hi man, this is on my list but with very little priority, have not much time lately.
So no promises :). one day one day.
 
 
0 # Brian Sales 2019-11-21 07:47
I love CardToTrack, but tried it using a card today on an anamorphic shot and it seemed to place the pins in the wrong spots. Went back to an early version and it worked fine. Was it something I did or is that functionality broken in the newer versions of the Gizmo?
 
 
0 # Alexey Kuchinski 2019-11-21 08:54
Hi Brian, will check it out, thank you for pointing out.
Will upload next week with some additional features and fixes.
Hope will fix anamorphic issue (if will find one)
 
 
0 # Alexey Kuchinski 2019-11-21 08:54
.
 
 
-1 # Alexey Kuchinski 2019-11-28 14:13
the problem was that the reformat in CProject gizmo was not getting the pixel aspect from input,
thank you for pointing out.
fixed, reuploaded!
 
 
0 # Brian Sales 2019-12-03 06:55
Alexey, thanks for looking into it and for your quick fix. I've been out of the office, but will explore the latest version this week.
 
 
0 # Matthias Backmann 2020-02-12 16:49
The Node is awesome and keeps getting better and better!
Is it perhaps possible to also export a Tracker-Node with the cornerpin-Data? That would complete the package you get.
 
 
+1 # Alexey Kuchinski 2020-02-15 15:43
Hi Mtthias, thank you for your kind words,
Regarding Tracker export - i see Corner pin superior to Tracker in most of aspects - that why i choose to export cornr pin and not tracker.
To export both can be an option, but it will add more weight to script and i saw it as not big necessity so decided not to go this way.

The proper solution will be i guess to let user to decide what he/she would like to .... ideas ideas ideas.

Cant promise anything but i guess i will put it on my list.
cheers!

And btw - why you will prefer tracker over corner pin?
 
 
0 # Ruairi Twohig 2020-02-13 18:01
This is amazing, used to use a script that did something similar but it was a lot more limited. Awesome work!
 
 
0 # Alexey Kuchinski 2020-02-15 15:29
Thank you Ruairi
 
 
0 # Min Tesch 2020-04-15 08:25
hi Alex,
your tool is gréat. i use it in nuke 12.1v1
when i fire it up i get the error CardToTrack.loo k_at_Axis.rotat e: Nothing is named "Nothing". the imported track is from 3de and has an axis attachet do the cam. han theis be the problem?
whem i try to track from a card i get the error line 39, in
AttributeError: 'NoneType' object has no attribute 'setSelected'
is this because of nuke 12 or am i doing something wrong?
 
 
0 # Alexey Kuchinski 2020-06-11 08:34
Hi Min, thank you.

i do not think you can use and axis attached to camera, the tool is not collecting data from the camera matrix.

you will have to copy data directly to the camera.

sorry for a late reply
 
 
0 # Bernd M 2020-06-10 22:38
Same here... when I click on Happy I receive this:

ERROR: CardToTrack.cam _data.xform_ord er: Nothing is named "Nothing"
[ 0:25.55] ERROR: CardToTrack.cam _data.rot_order : Nothing is named "Nothing"
[ 0:27.40] ERROR: CardToTrack1.lo ok_at_Axis.rota te: Nothing is named "Nothing"
 
 
0 # Alexey Kuchinski 2020-06-11 08:34
Hi Blic, did you use an Axis connected to Camera as well?
 
 
0 # Bernd M 2020-06-11 08:57
Hey Alexey,
nope, nothing attached. Plain camera, baked animation (ticked off read from file); Input is set to grat matchmove; the gizmo also shows a "0" inside the switch for the axis.. so should be set to placeholder axis
Do you have one of the older versions still on your machine? Maybe I can test it with a version prior to the latest here?
Or vice versa I can send you the cam/geo (dont think you need the image? - checkerboard as input?)
 
 
0 # Bernd M 2020-06-18 10:32
Hey Alexey,

i've found my issue... it happened, that... no idea why, my framerange had been extended instead from 1001-1195 to 1001 - 16700... This obviously takes some time to calculate.
Also I think the calculation takes longer, when the gizmo cannot find any camera keyframes anymore (which is the case from frame 1196 on...).
For testing purpose I extended everything to frame 2000 and repeated the creation process and indeed instead of some second it takes 15-20 seconds to calculate... or just crashes as it happened before...

I still get those error messages, though, although it doesn't affect the result.
 
 
0 # Alexey Kuchinski 2020-06-29 20:01
Ha ha , you have no idea how many times I have furious composition rushing towards my desk with 'this stupid Gizmo is not working!!!!!'
But yes it usually someone forgot to connect the camera, or used wrong camera or wrong frame range or some other funny thing.

Regarding calculating 1000 frames - it does make sense that it will take 15 seconds, it is not the fastest tool out there, I am aware of that and maybe one day I will finally rewrite it, but not today ,
Have a nice day
 
 
0 # Alexey Kuchinski 2020-06-29 20:07
And regarding error message, I think actually in have it fixed in my latest version, will check later this week, ...
 
 
0 # Dmitrii V 2021-08-08 01:29
Great tool, Alexey! Btw, dont forget to dettach axis from camera. Some times camera tracked scene got it by default. It just will not work.
 
 
0 # Alexey Kuchinski 2021-08-09 10:49
Thank you Dmitrii, i will try to solve this when i will get into rewriting the code for Python3.
Cheers!
 
 
0 # Ella P 2021-12-30 11:58
Hi! I get this error message when trying to set the reference frame (I have a camera and a card): "inconsistent use of tabs and spaces in indentation (, line 9)". Don't quite understand what it means
 
 
0 # Alexey Kuchinski 2021-12-31 10:31
Hi Ella,
the error it self is pretty trivial
It happens when tabs and spaces are mixed in a code.
I did not have this problem so far but i will re-check the code.
Thank you.
 
 
0 # Ella P 2021-12-31 11:25
Right okay. Something is off tho. I continue after setting the reference frame and I get the grid. However nothing happens when I try to adjust the Z knob. And then when pressing Go! I get this: "Did you mean print('no dialog, use auto-created input values')? (, line 237)". I get no nodes at all. I'm using Nuke13.v1 btw. The older version of this gizmo used to work fine for me but now I just can't get it to work. It's a great gizmo but I just don't understand what goes wrong... Thank you for taking your time answering me
 
 
0 # Alexey Kuchinski 2021-12-31 14:05
Nuke13 :)
It uses different Python version (3) and current is written in (2.7)
I will upload next week version compatible with Nuke 13.
Till then stay strong and have some holidays!
(you still can use Card To Track in previous version and copy resulted nodes to Nuke13 )
 
 
0 # Ella P 2021-12-31 14:48
Ah, well that could explain it! I was too eager to use the gizmo to see what the issue might be. Hopefully the new version update works. Happy New Year!
 
 
0 # Alexey Kuchinski 2022-01-22 21:27
Sorry for the delay, uploaded new version.

Important - had no time to test it in production but seems to work on both Nuke 12 and 13 now.

There is no CProject and Tproject in this update as they should work from previous versions.

please update me if something is not working.

Thanks
 
 
0 # Alexey Vaitvud 2022-02-10 13:13
Hey Alexey, thank you for the updated version!

Seems to be working fine, except for one small fix: 'cardToTrack.py ' needs to be renamed to 'CardToTrack.py ' before using.

Otherwise, it's a very handy tool! Thank you!
 
 
0 # Alexey Kuchinski 2022-02-11 07:18
Hi Alexey!
Thank you very much for the feedback, will fix the typo.
Cheers!
 
 
0 # Alexey Kuchinski 2022-02-11 07:29
Hi, i had a look and i am not sure where did you see the problem.
The group is calling cardToTrack.py and it works, It can not work with naming changed in the way you proposed.
 
 
0 # Alexey Vaitvud 2022-02-11 11:03
Well, I'm not an expert in Python, so I might come to a wrong conclusion, but here is how it works on my side:

https://youtu.be/Md3990UwiQQ
 
 
0 # Alexey Kuchinski 2022-02-11 13:35
cool, thank you for the video.
I just downloaded the latest version and checked it:
this what is running when you press the 'Go' Button:

import cardToTrack
cardToTrack.go()

so i am not sure how you arrived to error you are getting.
mystery........ :-)
 
 
0 # Alexey Vaitvud 2022-02-11 13:58
F**k, it's my bad now, sorry!

At first, I just put the lines you suggest in the menu.py to make a Menu Command. And then it gave me: "CardToTrack: Unknown command" Error.

Then I went into troubleshooting , most likely replacing some lines by accident in the process in your .py file. So in the end I reported the wrong issue. :lol:

If I put your .nk in the Toolsets folder, just to avoid adding anything to menu.py, it works fine.

Thank you, for taking the time to figure it out!
 
 
0 # Alexey Kuchinski 2022-02-13 13:37
no worries, glad all is resolved, have fun!
 
 
0 # pancho lopez 2022-03-31 20:04
hello, could you teach me how to install please I'm a newbie
 
 
0 # Alexey Kuchinski 2022-04-10 08:34
Hey Pancho, sorry for a late reply, if you still did not manage - please watch Basic tutorials about menu.py
you will need it in future in any case.
From the moment you will understand the basic you will be able to install any python code or gizmo.
Good luck
 
 
0 # Edwin Mendieta Rueda 2022-04-05 16:25
inconsistent use of tabs and spaces in indentation (, line 9) PLEASE HELP!!
 
 
0 # Alexey Kuchinski 2022-04-10 08:31
Hi Edwin, i guess you have an issue with Nuke 13.
do you use the latest version?
It should work for Nuke 13 without issues
 
 
0 # Alexey Kuchinski 2022-04-10 08:31
Hi Edwin, i guess you have an issue with Nuke 13.
do you use the latest version?
It should work for Nuke 13 without issues
 
 
0 # Sindre Grimsrud 2022-11-09 13:17
I get the same message when I try to set reference frame. I am in Nuke 13.2v1.
 
 
0 # Topi O 2022-05-04 17:18
Hi! I need help installing this. I just cant wrap my head around this python thing so I'm lost. I don't have menu.py file or plugins folder in my .nuke-folder.
I'd really appreciate if someone could explain this step by step. Where are these files/folders suppose to go and is there something else that I need to do?
 
 
+1 # Pal Tauszig 2022-06-12 17:42
please see this for instructions:
https://learn.foundry.com/nuke/content/comp_environment/configuring_nuke/loading_gizmos_plugins_scripts.html
 
 
-1 # ilies Carmona 2022-12-08 00:07
inconsistent use of tabs and spaces in indentation (, line 9) help
 
 
0 # Alexey Kuchinski 2022-12-08 17:58
Hi, are you sure you are using the latest version?
iI assume you are on the Nuke 13 but you are using the older version of CardToTrack. (not Python3 ready)

If you will download and replace with new one - you should be fine.
Correct me if i am wrong, please additionally send full error if possible.
Thank you!
 
 
0 # Gonzalo Gomez 2022-12-11 17:58
Hi, "knob near does not exist" pops up when I click Set. I downloaded the recent version of the gizmo and this still pops up.

Would appreciate some help.
Thanks
 
 
0 # Alexey Kuchinski 2022-12-14 15:34
hi Gonzalo, did you connect the camera?
He is looking for the camera but can not find it from what i see.

do you have and axis connected to camera?

there is a chance it will not work in this case, do not remember for sure.
 
 
0 # Nicholas Hoyt 2023-05-17 17:50
Can you update the version and copyright code so we know what versions are floating around in the ethos. The nuke survival toolkit has one marked as v4.0 from 2017 and this latest one is also marked as v4.0 2017.

I can update it myself in the .nk file provided for my pipeline, but the bigger issue is its an unknown which versions are out there in other toolsets.
 
 
0 # Alexey Kuchinski 2023-06-20 07:58
will be updated in next version.
 
 
0 # Alexey Kuchinski 2023-08-28 16:52
Done
 
 
0 # Fadi Najjar 2023-06-19 18:37
Unfortunately, it is not working on NUKE 13.2v7.
Getting this message when try to set the reference frame:
"inconsistent use of tabs and spaces in indentation string line 9"

PLEASE HELP! I LOVE THIS TOOL
 
 
0 # Alexey Kuchinski 2023-06-20 07:59
Hi Fadi.
Could you please check that you are using latest version?

It is compatible with Python 3.
I believe you are still using the old one.
Thank you.
 
 
-1 # gonzalo rojas 2023-07-10 23:37
Not working on Nuke 13.2v6 :(
 
 
0 # Alexey Kuchinski 2023-07-11 16:13
did you use latest version?
what is the error it gives to you?
when error happens?
 
 
+2 # Alexey Kuchinski 2023-08-28 16:51
New version is published. v9.0
 
 
0 # Alexey Kuchinski 2023-09-10 13:47
BUG Nuke 14.0v1:
When press 'Go' getting broken CornerPin (due to nuke not able to update world_matrix if world_matrix group is closed :lol: )

Update to higher version of Nuke and it should be gone, i did test on Nuke14.0v5 and it seems to be fixed.
(Thanks to Zsolt Sebok for catching this one!!!!!)

Cheers!!!
 
 
0 # Ismay Choi 2023-09-27 16:25
Hi, anyone having this issue in nuke13.2v8 where it's always displaying the animated points for all corner pins on the curve editor even when it's not selected? Any way of disabling it?

Thanks!
 
 
0 # Alexey Kuchinski 2023-09-30 10:32
Hi Ismay, it happens on all nuke versions i believe, i did not find why and how to get rid of it, if someone knows i will happily fix it in next version, meanwhile i will keep looking for a solution.

Thank you for flagging.
 
 
0 # Alexey Kuchinski 2023-09-30 10:45
looks like Nuke BUG
https://support.foundry.com/hc/en-us/articles/360000417064

restart nuke cleaning the curve editor from ghost curves.
that the only solution i found so far, not sure if it is possible to refresh the curve editor.

actually interestingly enough after restarting nuke even if i do expose knobs of card to track - everything behaves correctly and no more ghost curves do appear.
 
 
0 # Maris Polis 2024-01-31 13:05
Love the tool, used it on almost every matchmoved shot in the last years.

But I have a feeling that the generated Roto Node is bugged. Its disconnecting from merges and such when you reopen the script.

For me personally, its not a big deal because i have other tools for pasting the transform matrix into roto/rotopaints /splinewarps etc.

I'm not sure if this is 15.0v2 specific but i have only encountered it recently so it might be related to that version.

Using 9.1
 
 
0 # Alexey Kuchinski 2024-02-13 18:53
Hi Maris thank you for your feedback and kind words.
The roto node created is just a standard roto node, so from the moment it is created no magic there. Nuke 14.0... had some issues that folks reported, 14.1 was fixed. Not sure about 15. I will keep an eye on it and if will be able to reproduce will fix.
Thank you and have a nice day.
 

You have no rights to post comments

We have 2788 guests and 153 members online