i need to record video from webcam on the asp.net page,\nplease suggest  any source code, link or third party control
You need to use C# or Vb.net to record from the webcam. Then you need to embed it in an ASP page using the <object> tag. I am not aware of any third party controls which do this.
Start by downloading a 3D development kit and study the API's and tutorials that are available in them.  Your choices are basically OpenGL or Direct3D.  Direct3D is a Microsoft product while OpenGL is a more open standard; if you have any experience with Microsoft development tools Direct3D might be the better choice.  If you prefer Linux use OpenGL.