简体   繁体   English

使用Unity3D将字符渲染到Kinect WPF应用程序上

[英]Using Unity3D to render a character onto a Kinect WPF application

I am working on a project which requires me to render a virtual character onto the kinect video feed in which the player appears. 我正在做一个项目,要求我在播放器出现的kinect视频提要上渲染虚拟角色。

I am attempting to use Unity3D to accomplish this. 我正在尝试使用Unity3D完成此任务。 I have looked at Zigfu but I don't think this directly helps. 我看过Zigfu,但我认为这没有直接帮助。 I still want to be able to send data from my C# WPF program to the game engine (I am forking my project off from kinect Fusion Explorer). 我仍然希望能够将数据从我的C#WPF程序发送到游戏引擎(我从kinect Fusion Explorer分支了我的项目)。 Ideally Unity would be rendering the character and movement, my WPF program would be sending information to Unity about the landscape and running the Kinect feed. 理想情况下,Unity将渲染角色和动作,我的WPF程序将向风景发送有关信息并运行Kinect提要。

Has anyone attempted this or have any idea how this could be achieved? 有没有人尝试过或有任何想法如何实现?

If this is not possible with Unity, are there other game dev libraries I could use to render a character onto the Kinect feed? 如果Unity无法做到这一点,那么我是否可以使用其他游戏开发库来将角色渲染到Kinect提要上?

Thanks 谢谢

If you want to send data via network (sockets) you will face problems with the size of frames. 如果您想通过网络(套接字)发送数据,您将面临帧大小的问题。 So my opinion is to use WCF. 所以我的意见是使用WCF。 I'm not sure if it works for you, but this's how I managed it in my project (sending position and orientation) 我不确定它是否对您有用,但这就是我在项目中进行管理(发送位置和方向)的方式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM