| Roel May 28, 2005, 04:41 AM |
|
I already made such a system before, it loaded .obj files and linked them dynamically. It isn't very hard to write, you just need a good description of the obj file format.
The disadvantage I encountered was the nasty hacked code it required, like tons of pointers to member functions as "exports" from the engine and such. I also remember that there was a problem with constructors and calling conventions, but I can't remember it exactly. For some odd reason I used borload c++ to generate the .obj files and ms vc++ to load them, which didn't make things easier. Later I switched to ms vc++ for the .obj files too.
Besides the nasty code I can really recommend such a system, short development time, fast runtime.
|