First of all this is my first post. I would like to say so far the CS Community seems very helpful. I've spent the last day or so working with the CS engine and I'm trying to create a simple project for myself to get things going.
I've realized the ease of use by dynamically loading from my library a mesh factory. But this has lead me to three problems.
1) Can I use dynamically created mesh factories (loaded from the library file) to create meshes in static/compiled code? For example, I have a need to build ball meshes, in my program. Instead of creating a hard coded ball factory, can I add:
<meshfact name="ball_factory">
<plugin>crystalspace.mesh.loader.factory.ball</plugin>
<params/>
</meshfact>
to a library file, load it in, and some how create my mesh using "ball_factory"? like:
csRef<iMeshWrapper> BBall = engine->CreateMeshWrapper ("ball_factory", "bouncy_ball", room, csVector3 (sx, sy, sz));
2) Can I create multiple library files by different names and load them all as needed? I had difficulties doing this and I had to resort to using library and library.bak
3) Are the .bak files required or is the extentionless XML file enough?
Thanks in advance for all the clarification. Believe me I wouldn't of asked it if I was able to locate it in the manuals/tutorials/articles.