How do i do Offline rendering in OpenGL?What libraries do i need to use?Any help will be appreciated.
offline?! Do you mean off-screen???
If you want to render in a bitmap then get the bitmaps DC, open the render contex on this dc and set the pixelformatdescriptor.dwFlags to PFD_DRAW_TO_BITMAP and render.