reading faces from OpenGL buiffer

hi ppl , my glreadPixel prob is solved .thank u all. now i want to know is there is a way to read the faces (or vertces) that a generated by a new quadric shape or a primitive provided by glut. my purpose is to write a cad program and allow user to convert that primitive into mesh object for editing just like in 3DS max . so i need the faces and vertices generated by openGl.any possibilities and impossibilities? plz its urgent ! iam at the end of my project.

plz some one help me its urgent!

It is not possible to directly read the faces or vertices from an OpenGL buffer because they are not stored.

If you want the geometry of primitives generated by glu* or glut* functions, look at the source code of glu/glut (available somewhere at the sgi homepage) how they are generated and generate them yourself.

thanku iam looking at the source of glut now!