title: draw 3D sphere in c++ without OpenGL
body: <p>I need to make a sphere ray-tracer in c/c++ without the use of OpenGL. I'm confused though at how to put a sphere or light in a scene without any gl functions. Can someone please explain how this can be done? </p>