XNA 3D Point Clouds
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 m开发者_StackOverflow中文版uch time on this, as it's just a proof of concept.
Thanks!
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.
精彩评论