XNA 3D 点云
我正在尝试使用 XNA 和 Kinect 输出实时 3D 点云(307,200 点);然而,距离我上次使用 XNA 已经过去很长时间了,4.0 改变了一些事情。
有人能指出我正确的方向吗?我一直在修改 Primitives3D 演示,但我有点希望有一个库或其他东西可以帮助我不要在这方面浪费太多时间,因为它只是一个概念证明。
谢谢!
I'm trying to output realtime 3D point clouds (307,200 points) using XNA and Kinect; however, it's been ages since I last used XNA and 4.0 changed several things.
Could anyone point me in the right direction? I've been modifying the Primitives3D demo but I was kinda hoping that there was a library or something that could help me NOT waste too much time on this, as it's just a proof of concept.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于缺乏广泛的支持,他们已从 XNA 4 中删除了点原语。 http://blogs.msdn.com/b/shawnhar/archive/2010/03/22/point-sprites-in-xna-game-studio-4-0.aspx
现在要画一个点需要为每个点画一个小三角形。 Primitives3d 是一个很好的基础,并且使缓冲区非常高效。
They've removed the point primitive from XNA 4 due to lack of wide support. http://blogs.msdn.com/b/shawnhar/archive/2010/03/22/point-sprites-in-xna-game-studio-4-0.aspx
To draw a point now you will need to draw a tiny triangle for each point. Primitives3d is a good base for this and makes the buffers very efficiently.