A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
2D Tracking Using the “MotionTracker User Tracks” Node in XPRESSO
Posted: 07 December 2020 01:52 AM   [ Ignore ]  
Total Posts:  8
Joined  2007-12-29

Oh what a great tutorial. Just what I needed, but I can’t get mine to work. I have a good track of a hand and I want to attach a null object to the hand.

Espresso Tag is on the Null Object

Motion tracker node Object Port to MotionTracker User Tracks node MotionTracker Port
(index 0. This is the only tracked object in the scene and its Track is called User 00)

MotionTracker User Tracks node Global Position to Null object node Global Position port.

Motion Tracker node turns yellow when I connect it to the Null node.

It looks just like the tutorial. I’m flummoxed.

I simply need to attach an object to a user track. Please help. Thanks!!

R23.008 Windows 10

Profile
 
 
Posted: 07 December 2020 02:45 AM   [ Ignore ]   [ # 1 ]  
Total Posts:  8
Joined  2007-12-29

Ok, looks like an R23 problem.

I tried it in R21 and it worked like a charm. R23 on the Mac and Windows does not work. Well, mystery sort of solved.

Profile
 
 
Posted: 07 December 2020 03:23 AM   [ Ignore ]   [ # 2 ]  
Total Posts:  8
Joined  2007-12-29

It’s a Python 3 thing. Python print statements in v3 require () around the print statement. Now before you get the wrong idea, I’m in no way a coder, but I can compare things and search the Google.

Change Line 42 to this:

print (mt.GetName(), “is not a Motion Tracker object”)

Change Line 97 to this:

print (“The index is out of range”)

Works great now. Thanks again for that awesome awesome tutorial. Much appreciated.

Profile
 
 
Posted: 07 December 2020 04:26 AM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Yes, punch, this is so far my conclusion, but it is not on me to fix that; it needs to be updated in the app. I have had run the code through an updater, and the error went away. I’m testing since, so I can report successfully.

I will write a report, and I hope it is fixed at the next possible option.

Thanks for asking about that.

Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile