You will have to create a file in which you enter 3d points.
Then select it and load the file to the application.
The logic calculates the nearest neighbour to create a mesh from the given points.
I have developed the same in VB and VC++.
This was my first 3d programming which led me to learn Direct X.
Regards,
Pradeep
