简体   繁体   中英

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 much 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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