简体   繁体   中英

Drawing millions of points in WPF C#

I need to visualize a point cloud that consists of millions of 3D points on a WPF window.

Since it's going to have many points, a performance matters, but I don't need to draw any advanced primitives such as triangles, quads, or bitmaps.

After investigation, I came up with some keywords like D3D, D3DRS_POINTSIZE, and D3DImage interop with the combination of native codes and managede codes, but it sounds overkill for my simple goal, and I'm not sure if it is a right thing to do.

Thanks in advance!

I don't want to sound rude, but why don't you just try? You can do the same job in winforms using the right libraries, and WPF has also great graphics libraries but both of them rely on .net framework.

Unmmanged code will probably be more efficient because you will handle only the necessary low-level libraries, butif you are not so handy with C++, then try with .net

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