azure-kinect-unreal icon indicating copy to clipboard operation
azure-kinect-unreal copied to clipboard

Expose an option to use Gpu Device ID

Open datee opened this issue 3 years ago • 1 comments

Exposes the Gpu Device ID to the AzureKinect Manager - This is useful when you want control over what GPU the kinect will use. Also, this is a solution for RTX 30xx cards not working - if you have 2 graphics adapters available.

  • [x ] My contribution is fully done and ready to be merged as is.
  • [x] My pull request description contains the entire list of fixes, additions, or removals.
  • [x ] I have commented my code to the point that other devs can pick it up.

Summary

Exposed an int32 specifying the GpuDeviceID that can be used to control what GPU the kinect should use.

Added

The GpuDeviceID int32 is exposed both to AzureKinectDevice::Initialize and UAzureKinectManager::InitDevice. Furthermore a tracker_config is setup containing the settings and passed on to k4abt::tracker::create(..) in AzureKinectDevice.cpp

Removed

Updated

datee avatar Jan 18 '21 12:01 datee

Any updates on this? Sounds like a good addition to the repo?

jelmer3000 avatar Dec 21 '21 09:12 jelmer3000