Question

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!

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top