Two vive trackers position problems with base cam transfer

 

Hi all, I'm using two Vive trackers, one on the camera and one for in the Volume, to track the camera itself and an object, in this example being a flashlight. My problem is that it works fine while the Base Cam Transfrom rotation values are set to zero, but when I rotate the virtual scene my second object tracker loses it position, because the position values haven't changed.

I have tried some trigonometry but I can't find the right logic to sync up the tracker with the Scene transformation.

I hope someone has tried the same and figured it out or has a clever idea how to solve this.

Regards, Daan


   daangeurts

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

You probably don't need to connect the Base Cam Tranf and Camera tracking to the Unreal node.
Those values are actually being transmitted through the Control Data connection. Control Data uses the collection data type and it has lots of information within it:

If the tracked camera is correctly set up, you do not need to send the tracked camera transformation to Unreal, Aximmetry will do that and change the camera position. How to set up the tracked camera: https://aximmetry.com/learn/tutorials/for-studio-operators/setting-up-virtual-sets-with-tracked-cameras/

If you are referring to the Scene Base Cam Transformation:

Then, you can get this value using a Transmit Transformation module. Once you added the Transmit Transformation module, you need to set it's From Tunnel to Scene Base Cam Transf:

The transmit tunnel's source (From) is within the camera compound and is linked to the Scene Base Cam Transf.

And you can combine this with your Tracked flashlight using the Transformation Concat module:

Once you connect this to Unreal, you won't need to do any more modifications to the transformation in Unreal.

Warmest regards,

 
Profile Image
daangeurts
  -  

I cannot thank you enough! It works perfectly! We will be upgrading from the education to the professional license now!

regards, Daan Geurts

;