i draw the object with line function,but i wish to save the object to disk and then load it,my question is how can i save the object. thanks very much.
There is no glSaveObject(). Nor is there a glMakeBed() or glShineShoes()
Investigate your programming language for such tasks. The functions fprintf and fscanf, for example, if you’re a C programmer, might just do the trick.