pyrrhicpk's picture

Sample code to draw 3d points


I am very new to graphics programming and just decided to use opentk to draw a point cloud in WPF. The point cloud consists of 305000 points in the form of x,y,z distances in meters. what are the options to draw this point cloud in 3d (drawing 3d spheres or 3d points)? I found some sample code to which show a 2d triangle in yellow color but not sure how to draw 3d spheres or 3d points. Can anyone please drop in some sample code to let me draw the data in 3D?