Saving out geometric data


I have developed a program which procedurally renders models of 3D trees using Lsystems. I want to use these generated models in other programs, without having to add all the drawing routines to the code im exporting to, i.e. i only want to store the model data.

How would i start in saving out a display list, (or the geometry of a 3D model) and loading it back in in another program.


stewart hogarth

I would save the data in a common format supported by your target program. Something like 3DS, OBJ, etc.

anywhere i can find useful info about doing that?