PDA

View Full Version : opengl object



reckyliu
11-21-2004, 04:42 PM
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.

plasmonster
11-22-2004, 08:04 AM
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.