Hi,

Sorry if this isnīt a "real" OpenGL topic, but maybe somebody have done the same before...

I use a file generated by 3dexplorer (.cpp) to import a 3D-object into my OpenGL window. I changed the file to be a .h file and in the end of that file there is a function called Gen3DObjectList() that I use like:

m_uiDisplayListID = Gen3DObjectList();

The thing is that Iīd like to use the same OpenGL window to be able to import different 3D-objects that I import from the .h file via the function above.

But the .h-files have the same function Gen3DObjectList() so that makes things a mess....

Somebody got a clue??